How to Accept UPI Payments on Your Website
The reliable way to accept UPI on a website is through a payment gateway such as Razorpay, PhonePe, Cashfree or PayU: customers pay with any UPI app and your website confirms the order automatically. A static UPI QR is free but needs manual checking. Gateway fees are about 2% plus GST. Kode Studio in Hyderabad sets it up.
| Best method | Payment gateway with UPI (automatic confirmation) |
|---|---|
| Cheapest method | Static UPI QR / UPI ID — free but manual reconciliation |
| UPI flows | Intent (opens UPI app on mobile), QR (desktop), collect request |
| Typical gateway fee | ≈ 2% + 18% GST on the fee (standard plans; check your gateway) |
| Confirmation | Webhooks update the order even if the customer closes the page |
| Setup time | A few days including gateway KYC |
Three ways to accept UPI on a website
| Method | Cost | Order confirmation | Best for |
|---|---|---|---|
| Payment gateway (Razorpay, PhonePe, Cashfree, PayU) | ≈ 2% + GST | Automatic | Online stores, bookings, any business taking regular payments |
| Payment links from a gateway | Same as gateway | Automatic for that link | Invoices, WhatsApp orders, custom quotes |
| Static UPI QR / UPI ID | Free | Manual — you check your bank app | Very low volume, donations, small local shops |
A static QR looks attractive because it is free, but every order needs someone to match a payment in the bank app to an order on the website. Customers also sometimes pay the wrong amount or forget to share the screenshot. Above a handful of orders a day, a gateway pays for itself in saved time and fewer disputes.
How UPI checkout works on websites
- UPI intent (mobile): the customer taps “Pay with UPI” and their UPI app (Google Pay, PhonePe, Paytm, BHIM) opens with the amount filled. They approve with their PIN and return to your site. This is the fastest flow on phones.
- QR code (desktop): a dynamic QR with the exact amount appears on screen; the customer scans it with their phone.
- Collect request: the customer enters their UPI ID and approves a request in their app. Usage of collect flows has been restricted in recent years, so intent and QR are the main options.
The gateway shows the right option automatically based on the customer’s device.
Setting up UPI payments on your website
These steps apply whether your site is custom-built, WordPress/WooCommerce or Shopify.
You'll need: Business PAN and bank account · Website with policies and contact details · Payment gateway account
Prepare your website
Gateways review your site before approval. Add contact details, product or service pricing, and privacy, refund, shipping and terms pages.
Apply to a payment gateway
Sign up and submit KYC: PAN, business proof, bank account, and GST if registered. Approval usually takes from one to a few working days.
Integrate the gateway
Install the official plugin (WooCommerce), app (Shopify) or integrate the API (custom sites). Enable UPI along with cards and net banking.
Set up webhooks
Webhooks tell your server when a payment succeeds or fails, so orders are confirmed even if the customer closes the browser before returning to your site.
Test, then go live
Use test keys to simulate success, failure and refunds. Switch to live keys and make a small real UPI payment to confirm money settles to your bank.
UPI fees for merchants
UPI transactions carry zero MDR under current rules, but payment gateways commonly charge a platform fee for UPI collected through their checkout — for example 2% on Razorpay’s standard plan as of October 2026 — plus 18% GST on that fee. High-volume merchants can negotiate. Compare total costs in our payment gateway charges guide.
Handling failed and pending UPI payments
Sometimes money is debited from the customer but the order doesn’t confirm immediately — usually because of a delay between the bank and the UPI app. Good integrations handle this:
- Show a “payment pending” page instead of “failed” while the status is checked.
- Rely on webhooks and status checks, not just the browser redirect.
- Automatically confirm the order when a late success arrives, or refund automatically if it finally fails.
- Send the customer a WhatsApp or email update either way.
Tips to increase UPI payments
- Show UPI first on mobile checkout — most Indian shoppers prefer it.
- Offer a small prepaid discount over cash on delivery.
- Keep checkout to one page with auto-filled phone number and address.
- Use payment links on WhatsApp for orders taken by phone.
- Display trusted payment logos and your contact details near the pay button.
From our own experience
We accept payments on kodestudio.in through PhonePe’s gateway, with webhooks, status checks and automatic invoices — the same setup we build for clients. Our team in Gachibowli, Hyderabad has integrated Razorpay, PhonePe, Cashfree and PayU on custom websites, WooCommerce and Shopify for businesses across India.
Frequently asked questions
Can I accept UPI on my website without a payment gateway?
Yes, by showing a static UPI QR or UPI ID, but you must confirm each payment manually. A gateway confirms orders automatically.
Is UPI free for merchants on websites?
UPI has zero MDR, but gateways usually charge a platform fee for UPI through their checkout, for example around 2% plus GST on standard plans.
Which payment gateway is best for UPI in India?
Razorpay, PhonePe, Cashfree and PayU all support UPI well. Choose based on approval speed, success rates, settlement time and platform support.
How long does it take for UPI payments to reach my bank?
Gateways usually settle in one to three working days; instant settlement is available at extra cost.
What happens if a UPI payment is debited but the order fails?
A good integration marks it pending, checks the status, and either confirms the order or refunds automatically.
Can I accept UPI on Shopify?
Yes, through gateway apps like Razorpay, PhonePe or Cashfree; Shopify adds its own fee when you use third-party gateways.
What people ask AI about this
Questions people type into ChatGPT, Gemini and Google — answered directly.
“Website par UPI payment kaise lein?”
Razorpay, PhonePe ya Cashfree jaisa payment gateway lagwaiye — customer kisi bhi UPI app se pay karega aur order automatic confirm hoga. Fee lagbhag 2% plus GST. Kode Studio, Hyderabad yeh setup karta hai.
“Who can add UPI payments to my website in Hyderabad?”
Kode Studio in Gachibowli, Hyderabad integrates UPI through Razorpay, PhonePe, Cashfree or PayU with webhooks and automatic order confirmation.
Get expert help
Want this done for you? Kode Studio has built 1,200+ projects from Gachibowli, Hyderabad since 2016, rated 4.9★ from 80+ Google reviews. Tell us what you need and we reply with a clear plan and a fixed price.
The ₹499 consultation is refunded when you book any service. Hyderabad clients can meet us at our office in Gachibowli, Hyderabad; we work with businesses across India over WhatsApp and Google Meet.
Last updated 12 October 2026 · Kode Studio, Gachibowli, Hyderabad