Accept UPI payments on your website for free (no payment gateway)
· 3 min read · by Ravindra Katre
Payment gateways in India charge around 2% plus GST on every order. For a shop doing ₹1 lakh a month that is ₹2,400 gone before you buy packaging. UPI itself is free, so why pay? This is the setup we run on our own shop, shop.aradilya.com, and build for clients.
What the customer sees
- They place the order as usual. The order is saved as Awaiting payment.
- The confirmation page shows a QR code. The amount and an order reference (
ARD-100012) are already filled in, so the customer only scans and taps Pay in Google Pay, PhonePe, Paytm or any UPI app. On a phone there is a "Pay now" button that opens the app directly. - Within about a minute the order flips to Being processed and they get a confirmation email. No "send us a screenshot".
How the money is detected
Your phone already knows when money arrives: the UPI app shows a notification such as "Received ₹1,250 from Priya S. UPI Ref 412345678901 ARD-100012". A small relay app on the phone forwards that text to your website. The website looks for an order that is awaiting payment with that amount and that reference, and marks it paid.
Three safety rules make this reliable:
- Amount must match exactly and the order must still be unpaid.
- Two orders for the same amount at the same time? Nothing is auto-confirmed. The buyer can enter their UTR (the 12-digit UPI reference) on the order page, or you match it in one click on the dashboard.
- Same UTR seen twice is ignored, so a replayed notification can't pay two orders.
If the phone is offline, the relay queues the notification and sends it later. You can always mark an order paid by hand, and the buyer's "I have paid" button records their UTR for you.
The UPI link itself
Every UPI app understands a upi://pay link. The important fields:
upi://pay?pa=yourid@bank&pn=Your%20Name&am=1250.00&cu=INR&tn=ARD-100012&tr=ARD-100012
pa– your UPI ID.pn– the name shown (apps display the bank-registered name regardless).am– amount with two decimals.cu– always INR.tn– the note. Put your order reference here; it is how you match payments.
Render that link as a QR code and you have a payment page. Our free UPI QR generator builds one in your browser if you want to try it with your own ID.
What you give up compared with a gateway
- UPI only. No cards, no EMI, no international customers. Fine for most Indian retail; not fine for exports.
- ₹1 lakh per transaction cap on most UPI accounts. Large B2B orders go by bank transfer instead, which the same "awaiting payment" flow handles.
- Refunds are manual from your UPI app.
- Your phone is part of the system. It has to be on and online, or confirmations wait until it is. A dedicated cheap Android phone that stays on charge is the usual answer.
Business or personal UPI ID?
Start with what you have, but move to a business UPI ID (PhonePe Business, Paytm for Business, Google Pay for Business) once orders are regular. It is still free, shows your shop name to customers, keeps shop money separate, and avoids a bank flagging a personal account for "commercial" activity. Switching is one setting on the website.
Do you need GST for this?
Not for taking payments. You need GST registration when you sell inter-state B2B, sell through marketplaces, or cross ₹40 lakh turnover (₹20 lakh for services). Until then, UPI on your own site is just money into your account.
Want this on your site?
We set up the whole thing, shop, QR checkout, relay app and policy pages, as a fixed-price package. See Services or message us on WhatsApp. If you'd rather build it yourself, the order-matching logic is about 200 lines of Python on top of django-oscar; the approach works just as well on WooCommerce.