Article
How to take UPI, card and cash-on-delivery payments on your website
By Sumeet Kolekarr, founder · Published 30 October 2026
To take payments on your own website in India you need three things: a payment-gateway account in your business's name, a website that passes the gateway's review, and a checkout that treats the gateway's confirmation as proof of payment, not the customer's browser.
The first two are paperwork. The third is where orders get lost, and it stays invisible until a customer complains. We have been through all three: an orchid nursery's store that takes Paytm and cash on delivery, an assessment platform that sells tests, and this site's own checkout on PhonePe.
What a payment gateway does, and where the money goes
A payment gateway such as PhonePe, Paytm or Razorpay is the company that actually takes the money. Your website sends the customer to its checkout, it collects the payment by UPI, card or net banking, and it settles the money into your bank account.
Open the gateway account in your own business's name. The money then goes to your bank directly and never passes through your developer, and if you change developers, nothing about your payments changes.
The gateway charges a fee on each order. About 2% is a fair working figure, but rates differ by payment method and by gateway, so check the gateway's current pricing page before you choose.
What the gateway will ask you for
Every gateway checks the business before it switches payments on. Expect to provide:
- Your PAN and a bank account in the business's name
- Proof of the business. For a proprietor without GST, PhonePe accepted a Udyam registration when we set up this site's checkout
- A live website showing your business name, address and contact details
- Terms, privacy, refund and delivery policies on that website
The reviewer checks that the name and address on your website match your documents exactly. An address written one way on the contact page and another way in the terms is the kind of mismatch that gets an application held, slowly and with no explanation. Copy the address from your registration once, and use exactly that text everywhere.
UPI, cards and net banking
Once the account is live, the gateway's checkout handles the payment methods. On a phone, most gateways hand a UPI payment to the customer's own UPI app; on a computer, they show a QR code to scan.
With a hosted checkout, card numbers are typed into the gateway's page, never into yours, so your website never holds them.
Cash on delivery
Cash on delivery is not something the gateway does. The store records the order as unpaid, the courier collects the money, and the order is marked paid once it arrives. Rynco Orchids runs Paytm and cash on delivery side by side in production.
A refused delivery usually costs you the courier charge out and back, so decide your rules before launch: whether cash on delivery is offered on every product, to every pincode and for every order size.
The mistake that loses orders: trusting the browser
After paying, the customer's browser is sent back to your website, and it is tempting to treat that return as proof of payment. It is not. A customer who pays and then closes the tab, loses signal or switches apps never comes back, and an order that depends on that return never appears, although the money was taken.
Gurukey had exactly this fault, caught in an audit before it reached production: access to a paid test was granted by the browser's return alone. The fix is to let the gateway tell your server directly. Gateways send a server-to-server confirmation, usually called a webhook, and that confirmation is what should create the order.
Three rules make a checkout safe:
- The price comes from your server, never from the browser. A price the customer's browser can send is a price the customer can choose.
- The order is confirmed only by the gateway's message to your server, checked so that nobody else can send a fake one.
- The same confirmation can arrive more than once, so receiving it twice must not create two orders or send two receipts.
This site's own guide checkout on PhonePe follows all three. The price is read from our database, a payment counts only when PhonePe's message to our server confirms it, and a repeated message finds the order already paid and changes nothing.
Order confirmations customers actually see
Most customers read WhatsApp sooner than email. On Rynco Orchids, the order confirmation goes out on WhatsApp, and the database itself sends it: when the order is written, a trigger sends the message, so a confirmation cannot be lost because a browser closed or a request timed out.
What it costs with us
A standard online store from CODKRAFTERS is ₹40,000. That covers a checkout taking UPI, cards, net banking and cash on delivery, an owner's dashboard for orders and stock, WhatsApp order confirmations, and the first year of hosting, security, backups and support. From the second year it is ₹10,000 a year.
The gateway account is yours, its fees are charged by the gateway and not by us, and we take no percentage of your sales.
If you only need to take one kind of payment, such as fees, bookings or a paid report, rather than run a store, tell us what it is and we will quote it as one fixed price.
Questions to ask before you go live
Whoever builds your checkout, ask:
- Is the gateway account in my business's name?
- Is an order created by the gateway's confirmation to the server, or by the customer's browser coming back?
- What happens if the same payment confirmation arrives twice?
- Where do I see a payment that was taken but has no order?
- How do refunds work, and where is the refund policy on the site?
- Who gets the order confirmation, and on which channel?
Keep reading
- Shopify or your own online store: how to decide
Shopify is the fastest way to start selling; your own store gives you the code and the customer. How to choose, from a studio that has built for both.
- Do you need a website if you already have Instagram?
Instagram reaches people who already follow you; a website and a Google Business Profile reach the ones searching. When each one is enough on its own.
- What a website costs in Pune, and how to compare the quotes you get
Pune quotes for the same website can look nothing alike. What each price should cover, what we charge, and the questions that make quotes comparable.
Tell us what you need.
One call, then a written scope and a fixed price, agreed before anything starts.