Skip to content
SBStoreB
Payments

How to Accept Online Payments for an Online Store

Prepaid, Cash on Delivery, and what you must configure before either works — including why a payment redirect is never proof that you were paid.

StoreB Team · StoreB product team Published 26 Oct 2026 3 min read

There are two ways a customer can pay for an online order: before delivery, or when the order arrives. Most small stores in India end up offering both, because each one wins different customers.

Prepaid (paid online, before dispatch)

Prepaid orders are the ones you want. The money has arrived, there is no collection risk, and dispatch can happen immediately.

The catch is that prepaid payments need a payment gateway — a merchant account that can accept customer payments on your behalf. What is available to your store depends on the payment configuration your platform has in place and whether online payment is enabled for your shop. If it is not available yet, you can still run the store and collect payment on delivery or at the shop while that is being arranged.

A redirect is not a payment. When a customer finishes paying, the gateway sends them back to your store. That redirect can be replayed, interrupted or faked. A sale must be treated as paid only when the payment itself has been verified on the server. This is the single most important technical point on this page: an order marked paid because a page said "success" is how stores end up shipping goods they were never paid for.

Cash on Delivery

COD removes the customer's hesitation and shifts the risk to you. Before enabling it, decide:

  • A minimum and maximum order value. COD on a very small order often costs more than it earns; COD on an expensive item is a large risk.
  • An optional COD handling fee. You are allowed to charge for the service, and many stores do. If you charge it, say so clearly at checkout.
  • Pincode rules. You can restrict COD to pincodes where your courier actually collects cash reliably.
  • Who collects, and when you get it. With a courier, the COD amount is collected on delivery and settles to you afterwards. That is a different cash cycle from prepaid, and it needs to be tracked separately — not marked as received at dispatch.

What the customer should see

  • Total payable amount, with delivery charges and any COD fee shown before they commit.
  • Payment options limited to the ones that genuinely work for their order. Showing a method that then fails is worse than not showing it.
  • A confirmation with the order number and what happens next.

Refunds

Write your refund terms before you need them: what can be returned, in what condition, who pays return shipping, and how long a refund takes. When a prepaid order is cancelled or returned, the refund goes back through the gateway that took the payment and the order's status has to reflect that. Keep refunds recorded against the original order — do not adjust a total silently, or your books will disagree with your bank.

In-store payments

Counter sales are simpler: cash, UPI, card, or a split across more than one method. What matters there is that the amounts are recorded as separate, validated components so the day's takings reconcile by method.

A short checklist

  1. Decide whether you are offering prepaid, COD, or both.
  2. Confirm which online payment options are actually available for your store before advertising them.
  3. Set your COD limits, fee and pincode rules if you enable it.
  4. Write your refund and cancellation terms and publish them on the storefront.
  5. Never treat a browser redirect as confirmation of payment — check the order's paid status, not the customer's word.

Put this into practice

Create your StoreB account and set up your store with your own products.

Related guides