Skip to content
GUIDE

How to accept UPI and cash on delivery on your website

Updated 2026-11-19

Indian shoppers expect two things at checkout: UPI, and the option to pay cash when the order arrives. A website that only takes cards loses sales before checkout even starts. Here is how the two actually work together on an ecommerce website, and what to plan for behind the scenes.

Payment gateways: the part that handles UPI and cards

A website does not talk to a bank directly. A payment gateway such as Razorpay, Cashfree or PhonePe sits in between, offering UPI apps such as Google Pay, PhonePe and Paytm, debit and credit cards, and net banking in one checkout screen. The gateway charges a fee per transaction, usually around 2%, taken from the payment itself rather than billed as a separate invoice.

Setting one up means registering a business account with the gateway, and that is where KYC comes in. Most gateways also offer a way to test the whole checkout with fake card numbers before going live, which is worth doing before launch rather than finding a problem after the first real order.

KYC documents a business usually needs

Payment gateways must verify who is receiving money, so expect to provide business proof, such as a shop registration, GST certificate or sole proprietorship declaration depending on how the business is structured, a bank account in the business's name, and identity proof for the account holder. Exact documents vary by gateway and business type, so check the current list on the gateway's own onboarding page before you start.

This step takes time, sometimes a few days, so start it early rather than the week before launch. A store can usually be built in parallel while the gateway account is being verified.

Managing cash on delivery risk

Cash on delivery brings in customers who do not trust online payment yet, but it also brings a real risk: orders refused at the door. A few practices reduce it without removing COD entirely: a phone or WhatsApp confirmation before shipping, a COD limit on very high-value orders, and tracking which customers habitually refuse parcels so repeat offenders can be moved to online-payment-only.

Courier partners differ in how they handle COD collection and remittance, so the delivery partner matters as much as the payment gateway for this part. Some couriers collect and remit faster than others, which affects how quickly COD cash turns into usable funds.

Settlement: when the money reaches you

Online payments through a gateway are usually settled to the business bank account one to two working days after the transaction, though the exact timing depends on the gateway and the payment method. Cash on delivery money is collected by the courier and remitted on its own schedule, which is often slower than online settlement.

Reconcile both: a dashboard that shows which orders are paid online, which are COD and collected, and which are COD and still outstanding. This is part of what a custom ecommerce website gives a shop owner, rather than leaving it scattered across the gateway dashboard and the courier's own portal.

Who this matters most for

COD volume tends to be higher for categories bought on impulse, or by first-time buyers for that brand, for example a clothing store selling to a new audience, or a mobile or electronics shop where buyers want to check the item before paying. Shops with repeat, trusted customers usually see a higher share of UPI over time, as buyers get comfortable paying upfront.

Either way, the checkout should offer both from day one. Removing COD too early, before trust is built, can cost more sales than the refusal risk it avoids.

Testing before you go live

Most gateways provide a test mode with dummy card and UPI details, so a full order, from cart to payment confirmation, can be checked before any customer sees the store. Worth testing specifically: a failed payment (does the order stay unpaid rather than confirmed), a refund, and a COD order going through to the order dashboard correctly.

It is also worth placing one small real order once the gateway is live, to see the money actually arrive and the order appear exactly as a customer's order would, before telling customers the store is open.

Ready for an ecommerce website of your own?

See what DEVDUO builds, or send your requirements and get a quote.

Common questions.

Which payment gateway should I use?

Razorpay, Cashfree and PhonePe are common choices in India. Each offers UPI, cards and net banking; compare their fees and settlement schedule for your business type.

What KYC documents does a gateway ask for?

Typically business proof, a bank account in the business's name and identity proof for the account holder. The exact list depends on the gateway and how the business is structured, so confirm it directly with the gateway.

How do I reduce cash on delivery refusals?

A phone or WhatsApp confirmation before shipping, a COD limit on high-value orders, and tracking repeat refusals all help reduce the risk without removing COD.

When does payment gateway money reach my account?

Usually one to two working days after the transaction, though the exact schedule depends on the gateway and payment method.

Should I remove cash on delivery once online payments pick up?

Not necessarily. Many shoppers still prefer COD even once they trust a brand. It usually makes more sense to keep both options and let customers choose.

Let's build your idea

Get a free project quote

Share a few details and we'll reply on WhatsApp.

After saving your enquiry, we'll open WhatsApp with a message ready to send.