To set up payments on your website, choose a platform, sign up with a payment gateway and complete its KYC, connect it through a plugin or your platform’s native payment settings, test in sandbox mode, then go live. For most small Indian stores, business verification takes longer than the technical work, so prepare documents and policy pages first.
The short answer: how to set up payment on a website in 6 steps
- Pick a platform: Shopify, WordPress with WooCommerce, or a custom site.
- Pick a payment route: payment link, button, hosted checkout, plugin or API.
- Choose a gateway such as Razorpay, Cashfree Payments or PayU.
- Complete KYC and get your account activated.
- Integrate via plugin, native provider or API.
- Test in sandbox, then go live and monitor settlements.
Before you set up payments on your website: prerequisites checklist
- Business registration (proprietorship, partnership, LLP or company) and GST registration where it applies.
- Business bank account in the registered business name.
- KYC documents: PAN, registration proof, owner or director ID and address proof.
- A finished website with real products or services, prices and contact details.
- Policy pages: terms, privacy, refund and cancellation, shipping or delivery. A 2026 Quick Online Tips guide to accepting payments also recommends publishing these before onboarding.
- SSL (HTTPS) on your domain.
This guide covers India only. For context on demand, the Press Information Bureau reports 22,167.90 crore retail digital payment transactions in FY 2024-25, worth ₹849.12 lakh crore, up 35.04% year over year.
How online payments work: platform, gateway and server-side checks
Your platform (Shopify, WooCommerce, a custom site) holds products, cart and orders. Your payment gateway collects the money and settles it to your bank. These are two separate decisions, and a good gateway cannot fix the wrong platform.
The three checks that stop fake “paid” orders
On Shopify and official WooCommerce plugins, these happen for you. On a custom site, your developer must build them.
- Server-side order creation: your server creates the order with the gateway, fixing the amount and currency. The browser never decides the price, so a buyer cannot edit it.
- Signature verification: after payment, the gateway returns a payment ID and a cryptographic signature. Your server recomputes it with your secret key and only accepts matching results.
- Webhook confirmation: the gateway sends a server-to-server notification for success, failure and refunds. This marks the order paid even if the customer closes the tab before redirect.

Step 1: Pick your platform (Shopify vs WooCommerce vs custom)
If your current site works, keep it and add payments. If you are starting fresh, this is the one comparison that matters for Shopify vs WooCommerce payments.
| Factor | Shopify | WooCommerce on WordPress | Custom build |
|---|---|---|---|
| Setup effort | Low: sign up, theme, products | Medium: hosting, WordPress, plugin, theme | High: developers build cart and checkout |
| Hosting | Managed by Shopify | You choose and manage | You choose and manage |
| Checkout control | Shopify-managed checkout, extended with apps | Full control over code and plugins | Full control, full responsibility |
| Maintenance | Low | Ongoing plugin, core and theme updates | Highest |
| Payment options | Providers added in admin payment settings or via apps | Gateway plugins; WooPayments where available | Any gateway with an API or SDK |
| Best for | A managed store with less maintenance | WordPress users who want self-hosted control | Marketplaces, app-first buying or flows platforms cannot handle |
Shopify describes itself as an all-in-one platform running payments, fulfilment and retail from one admin. WooCommerce calls itself an open-source e-commerce platform. If you are weighing a switch, see our guide on migrating from WooCommerce to Shopify.
Step 2: Pick how you’ll accept payments
| Route | How it works | Effort | Best for |
|---|---|---|---|
| Payment links | Create in the gateway dashboard, share by WhatsApp, email or SMS | Very low | Invoices, deposits, consultations |
| Buttons or forms | Embed on a page | Low | Fixed-price offers, registrations, donations |
| Hosted checkout | Customer pays on the gateway’s page, then returns | Low to medium | Stores that want the gateway to handle card data |
| Plugin or native provider | Configured inside Shopify or WooCommerce | Medium | Full stores with a cart |
| API or SDK | Direct developer integration | High | Custom sites, mobile apps, complex flows |
Hosted checkout vs payment links comes down to whether you have a cart. A few orders a week with no catalogue? Start with links. Dozens of SKUs need a plugin or native integration.
Step 3: Razorpay vs Cashfree vs PayU comparison for India
Every cell below comes from the provider’s own pages, verified 20 Nov 2026. Fee rates and settlement timings were not published as fixed figures on those pages, so they are left out rather than guessed. Ask for a written rate card before signing.
| Gateway | Best for | Payment methods | Integrations | Pricing (official page) | Limitations |
|---|---|---|---|---|---|
| Razorpay | Stores wanting developer-friendly APIs; enterprises routing across gateways with Razorpay Optimizer | “Large method coverage” per its payment gateway page; separate international payments product | Developer APIs; publishes a guide to adding a gateway in Shopify | Payment gateway page shows a zero* platform fee offer for 90 days (verified 20 Nov 2026) | Offer is asterisked and time-limited; confirm post-offer rates |
| Cashfree Payments | Collecting without a checkout via Payment Links or Payment Forms; e-commerce, SaaS, travel, edtech | UPI plus 180+ other methods incl. cards, net banking, wallets; Cards Suite with biometric authentication; domestic and international collection | No-code links and forms; Payment Links available via APIs | Contact sales page (verified 20 Nov 2026) | Rates are not listed on the pages we checked; obtain a quote |
| PayU | Selling online and offline from one dashboard with QR codes and POS devices; repeat card buyers via Token Hub | 150+ methods incl. cards, net banking, BNPL, QR, UPI, wallets | Mobile app SDKs and developer reference guides | Company and contact page (verified 20 Nov 2026) | Rates are not listed on the pages we checked; obtain a quote |
Our position: there is no universal winner. Shortlist by what your platform supports officially, then by the methods your buyers use (UPI first in India), then by the written commercial terms.
What to ask each gateway before signing
- Fees and GST: gateway fees in India are invoiced with GST on top, so ask for the all-in rate per method.
- Settlement: the standard cycle for your account and any paid faster option.
- International cards: whether they are enabled by default or need separate approval.
- COD: cash on delivery is handled by your platform and courier, not the gateway. Shopify and WooCommerce both let you enable it as a manual method.
- Chargebacks: the dispute window, evidence required and any per-dispute charge.

Step 4: Payment gateway KYC verification steps
- Create an account with business email and mobile.
- Enter business details: legal name, type, category, website URL, expected volume.
- Upload merchant onboarding documents: PAN, registration proof, GST certificate if applicable, owner or director KYC.
- Add your settlement bank account matching business records.
- Website review: the gateway checks products, prices, contact details and policy pages.
- Activation: live keys or live mode unlock. Some methods, such as international cards, may need separate activation.
The most common delay is a “coming soon” site or a missing refund policy. Finish the site before you apply.
Step 5: Integrate the gateway to set up payment on your website
Your integration path follows from Step 1. For UPI payment integration, confirm in the dashboard that UPI is enabled on your account.
On Shopify
- In Shopify admin, open Settings, then Payments.
- Check which providers are available for an Indian store; do not assume a specific one.
- Add the provider or install its app, and enter your credentials.
- Enable payment methods, add COD as a manual method if needed, and place a test order.
For how to integrate Razorpay with Shopify, Razorpay’s payment gateway page links its own Shopify guide. Follow the provider’s current steps, since admin screens change.
When Shopify needs a developer, and where Seamedia fits
Standard Shopify payment setup needs no code. You need a developer when you want custom COD rules or payment messaging in your theme, a custom app that syncs payments to ERP, invoicing or subscriptions, checkout extensions beyond installed apps, or a migration that carries order history.
Seamedia is a Shopify development agency in Malappuram, Kerala, with 15+ years of experience, offering custom Shopify setup, theme work and custom payments or checkout apps through its custom Shopify store development and Shopify app development teams. Before you get in touch, prepare:
- Your store URL and Shopify plan.
- Your chosen gateway and KYC status.
- The exact checkout behaviour you want (for example, COD limits by pincode or prepaid discounts).
- Any systems payments must sync with, such as Tally, Zoho or an ERP.
On WordPress with WooCommerce
- Install WordPress, enable SSL and add the WooCommerce plugin.
- Run the setup wizard: address, INR currency, tax and shipping.
- Install the gateway’s official WooCommerce plugin from its documentation, never unofficial copies.
- Enable the gateway in WooCommerce payment settings and paste test API keys.
- Add the webhook URL in the gateway dashboard.
- Enable COD under WooCommerce payments if you offer it.
For the best payment gateway for WooCommerce in India, shortlist providers with an official, actively maintained plugin, then compare written rate cards. WooCommerce’s own WooPayments has a country availability list, so check India support before planning around it.
On a custom site
Your developers use the gateway’s API or SDK and must implement the three server-side checks described earlier. Budget for maintenance when the gateway updates its API versions.

Step 6: Test in sandbox, go live and monitor
Use the gateway’s test keys and its documented test cards and UPI flows. Run each scenario:
- Success: order marked paid, confirmation email or WhatsApp sent.
- Failure: clear message, retry possible, order not marked paid.
- Abandonment: close the window midway; stock should not stay held.
- Refunds: full and partial, with status syncing to your admin.
- Webhooks: events arrive even when the browser is closed.
Switch to live keys, place one small real order and refund it. For the first month, download settlement reports weekly, match them to orders, and respond to any chargeback within the window your gateway gives.
Checklist with time estimates
Estimates for a typical small business, not guarantees. KYC timing is set by the gateway.
| Step | What you do | Estimated effort |
|---|---|---|
| Prerequisites | Documents and policy pages | 1 to 3 days |
| 1. Platform | Build or confirm store | 1 day to 2 weeks |
| 2. Route | Link, checkout, plugin or API | 1 to 2 hours |
| 3. Gateway | Compare rate cards | 1 to 2 days |
| 4. KYC | Submit, answer queries | A few days to 2 weeks |
| 5. Integration | Plugin or native; API for custom | 1 to 3 hours; several days for API |
| 6. Test and launch | Sandbox, live order, refund | Half a day to 2 days |
Security and PCI DSS compliance checklist
- HTTPS everywhere, with no mixed-content warnings at checkout.
- PCI DSS via the gateway: hosted checkout, native providers or official plugins keep card data off your server. PayU’s homepage, for example, states it is PCI DSS compliant.
- Never store card numbers or CVVs; use gateway tokenisation for repeat buyers.
- Keep secret keys server-side and rotate them when a developer leaves.
- Verify webhook signatures on every event.
- Keep refund, privacy and terms pages linked in your footer.
- Update WooCommerce plugins monthly.
Common mistakes when you set up payments on a website
- Applying for KYC with an unfinished site. Cost: rejection or weeks of back-and-forth.
- Choosing on a promotional rate alone. Cost: higher fees once the offer ends.
- Forgetting GST on fees in margin maths. Cost: thinner margins than planned.
- Skipping webhook tests. Cost: paid orders stuck as pending.
- Not testing refunds. Cost: manual refunds and reconciliation errors.
- No reconciliation routine. Cost: unmatched settlements at month end.
When a plugin is enough, and when you need custom work
A plugin or native provider is enough if you sell standard products in INR, take one-time payments, and need no ERP sync.
You likely need developer help if you run subscriptions with custom rules, split payments between vendors, sync to accounting software, need checkout behaviour beyond theme settings, or sell through a mobile app. On Shopify, that is where Shopify theme customisation or a custom app comes in.
Ready to set up payments on your Shopify store?
Shortlist one platform and one gateway using the tables above, request written rate cards, and run every sandbox test before going live. If you are on Shopify and need custom setup, theme changes or a custom payments or checkout app, send your store URL, gateway and required checkout behaviour to the Seamedia team for a scoped plan to set up payments on your website correctly the first time.
FAQ
How do I set up payments on my website in India?
Choose a platform, pick a gateway such as Razorpay, Cashfree Payments or PayU, complete its KYC with PAN, registration proof and a business bank account, connect it via plugin or native settings, test in sandbox mode, then switch to live keys and place one small real order.
How do I choose a payment gateway for my website?
Start with gateways that officially support your platform, then confirm they offer the methods your buyers use, especially UPI. Finally compare written rate cards including GST, settlement cycle, international card approval and chargeback terms. Promotional offers expire, so judge the standard rates.
How do I integrate a payment gateway on Shopify or WooCommerce?
On Shopify, open Settings then Payments, add an available provider or its app, and enter credentials. On WooCommerce, install the gateway's official plugin, paste test API keys, add the webhook URL in the gateway dashboard, run sandbox tests and then switch to live keys.
What documents are needed for payment gateway KYC in India?
Typically business PAN, registration proof, GST certificate where applicable, owner or director identity and address proof, and a bank account in the business name. Your website must also show products, prices, contact details and refund, privacy and terms pages before review.
Can I offer cash on delivery alongside online payments?
Yes. COD is handled by your platform and courier, not the gateway. Shopify and WooCommerce both let you enable it as a manual payment method next to your gateway, and many stores restrict it by order value or pincode.
How do I test payments before going live?
Use the gateway's test keys and documented test cards or UPI flows. Run a successful, failed and abandoned payment, a full and partial refund, and confirm webhooks update orders. Then go live, place one small real order and refund it.


