Payment Gateway Integration for Your Website in India: A Simple Guide
More Indian customers now expect to pay online, in a few taps, with UPI or a card. If your website can only take enquiries, you may be losing orders to a competitor whose site lets people pay on the spot. A payment gateway closes that gap.
This guide explains, in plain language, what a payment gateway does, what you need before you start and how a safe integration works.
What is a payment gateway?
A payment gateway is a licensed service that sits between your website and the banking system. When a customer clicks Pay, the gateway shows a secure payment screen, talks to the customer's bank or UPI app, and tells your website whether the payment succeeded. The money is then settled into your business bank account, usually within a few working days.
You do not need to deal with banks or card networks yourself. The gateway handles that, along with most of the security rules for card data.
Payment methods your customers can use
Most Indian gateways support the methods your customers already use: UPI (scan a QR code or approve a request in their UPI app), debit and credit cards, net banking, and popular wallets. Many also offer EMI and pay-later options for larger purchases.
For most small businesses, UPI and cards cover the majority of payments. Turn on more options only when your customers ask for them.
What you need before you apply
Gateways must verify every business they work with, so expect a short KYC process. Keep these ready:
Your business PAN (or your personal PAN if you are a sole proprietor), a current bank account in the business name, proof of business such as GST registration, Udyam registration or a shop licence, and the ID and address proof of the owner or directors.
Your website will be reviewed too. It should clearly show what you sell and at what price, plus a Contact page, Privacy Policy, Terms and Conditions, and a Refund and Cancellation policy. Missing policy pages are one of the most common reasons an application is delayed.
How much does a payment gateway cost?
Most gateways charge a fee on each successful transaction, often a small percentage of the amount, with different rates for UPI, cards and international payments. Some charge setup or annual fees; many do not. Rates change, so always check the provider's current pricing page.
Look beyond the headline rate. Compare how quickly money reaches your bank, how refunds work, whether there is a dashboard your team can use, and how easy it is to reach support when a payment gets stuck.
How the integration works
1. Create the order on your server
When a customer checks out, your website's server creates an order with the gateway for the exact amount. The amount should always come from your server, never from the customer's browser, so nobody can change the price.
2. Show the secure payment screen
The customer pays on the gateway's checkout, either in a pop-up or on a hosted page. Card numbers and UPI details go straight to the gateway, not to your website.
3. Verify the payment
After payment, the gateway sends your server a confirmation with a digital signature. Your server checks that signature and the amount before marking the order as paid. This step stops fake 'payment successful' messages.
4. Listen for webhooks
Sometimes a customer closes the browser before they return to your site. Webhooks are messages the gateway sends directly to your server so that orders still update correctly. A good integration handles them.
5. Test, then go live
Every gateway gives you a test mode. Try successful payments, failed payments, refunds and a closed browser in the middle of a payment before you switch to live keys.
Security basics
Use HTTPS across the whole site. Never store card numbers, CVV or UPI PINs on your own servers. Keep your gateway secret keys on the server only, never in the website code that runs in the browser. Limit who in your team can issue refunds from the dashboard.
Common mistakes to avoid
Trusting the browser to say a payment succeeded. Not handling payments that are still 'pending'. Forgetting refund and cancellation pages. Using live keys during testing. Sending no confirmation email or SMS, which leaves customers unsure whether they paid.
Do you need a full e-commerce website?
Not always. If you sell a few services or take advance bookings, a simple 'Pay now' button or payment link on your existing site may be enough. If you sell many products with stock, delivery and discounts, a proper e-commerce website with a cart and order management makes more sense.
If you are not sure which you need, tell us what you sell and how customers buy today. We will suggest the simplest setup that works, and build it so payments are verified safely from day one.
Frequently asked questions
- Can I accept UPI payments on my website?
- Yes. Most payment gateways in India support UPI, so customers can pay by scanning a QR code or approving a request in their UPI app. The money is settled to your business bank account.
- What documents do I need for a payment gateway in India?
- Usually your business PAN, a business bank account, proof of business such as GST or Udyam registration, and ID and address proof of the owner or directors. Your website also needs contact, privacy, terms and refund pages.
- How long does payment gateway integration take?
- The technical work for a simple checkout can be done in a few days. Approval of your KYC by the gateway can take longer, so apply early and have your documents and policy pages ready.
- Is it safe to take payments on my website?
- Yes, if it is built correctly. Card and UPI details are entered on the gateway's secure screen, your server verifies every payment before confirming an order, and the whole site runs on HTTPS.