Choose how your online store takes money: online with Razorpay (cards, UPI, net banking), or cash on delivery. This page shows how to connect Razorpay, how to switch on cash on delivery, and what a shopper sees at checkout for each way of paying.
An online shop must have a way to get paid. There are two. In online payment the shopper pays on the spot, with a card, UPI or net banking, through a payment company called Razorpay. The money goes to your Razorpay account. In cash on delivery (COD) the shopper pays you in cash when the parcel arrives. Your store must offer at least one of them, or shoppers cannot finish an order. If you offer both, the shopper picks at checkout.
| Way to pay | Who pays and when | What the shopper sees | How you switch it on |
|---|---|---|---|
| Online payment (Razorpay) | The shopper pays at checkout, right after placing the order. | A button Pay online (or nothing to choose, if it is your only method), then Razorpay's secure payment window. | Connect Razorpay under Settings, Payments, Set up online payments. See below. |
| Cash on delivery | The shopper pays you in cash when the order arrives. | A button Cash on Delivery. | Press the Cash on delivery switch on Store setup, in the How shoppers pay step. See Cash on delivery. |
The footer of your shop can show little marks for UPI, Cards, Net banking, Cash on delivery and Wallets. They are only pictures. They do not turn any payment method on or off. What the shopper can really use is decided by what you set up on this page.
On Store setup, the last step of the checklist is How shoppers pay. It turns Done when at least one way of paying is on, and stays To do otherwise.

| What you see | What it means |
|---|---|
| Cash on delivery (switch) | Whether cash on delivery is switched on for your store. Press the switch to turn it on or off. The message says Cash on delivery is on or Cash on delivery is off. |
| Online payments: On / Off | On when Razorpay is connected and active. A display only. You change it on the Online payments page. |
| Shoppers cannot finish an order until at least one of these is on. | Cash on delivery is off and online payments are Off. Switch on cash on delivery, or connect Razorpay. |
| Set up online payments (button) | Opens Settings > Payments, where you connect Razorpay. |
The switch is turned off for staff who may not change money settings. If a change fails you see Could not change Cash on delivery. Please try again.
This is the easiest way. You sign in to Razorpay and allow KanakBooks to take payments for you. You never copy any secret code.



| On the connected Razorpay card | What it shows |
|---|---|
| Merchant ID | Your Razorpay account number, with most characters hidden for safety. |
| Connected via OAuth / Manual key | How you connected: by signing in to Razorpay, or by typing keys yourself. |
| Active (green tick) | Shoppers can pay online. |
| Disabled (yellow warning sign) | Online payments are switched off. Shoppers are not offered Pay online. |
| Disconnect | Switches online payments off. See Disconnect. |
Use this only if signing in does not suit you. An API key is a pair of codes (a Key and a Secret) that Razorpay gives you in its dashboard so that another program can take payments for you.

Never share the API Secret with anyone, and never send it in a message. Anyone who has it can use your Razorpay account. If you think it has leaked, create a new key in Razorpay.
Razorpay gives separate test keys and live keys. Test keys are only for trying things out and move no real money. Use the live keys when you want real shoppers to pay you.
Disconnect does not remove your details. It only switches online payments off. The card keeps showing your Merchant ID with Disabled, and there is no button on it to switch payments on again. If you disconnect by mistake, or want to connect different keys, ask KanakBooks support to help you.
Your store then has no way to take payment. Shoppers can still see the shop but cannot place orders, and checkout says "Online ordering is not accepting payments yet -- please try again shortly." Switch on Cash on delivery in Store setup to take orders again.
The page also shows cards for PayU and Cashfree, two other payment companies. Both are marked Coming soon and are greyed out. They have no buttons. Only Razorpay works today.
Cash on delivery lets a shopper place an order now and pay you in cash when it arrives. Shoppers like it because they pay only when they hold the parcel. For you it means a little more risk (a shopper may refuse the parcel), so many shops use it only in areas they know.
Administrators and staff who are allowed to change money settings. For everyone else the switch is greyed out.
While it is on, nothing else needs setting. There are no fees or limits for it in KanakBooks. You may combine it with the delivery rules in Delivery charges & areas, such as a minimum order.
KanakBooks does not let you open the store until at least one way of paying is on (cash on delivery, or an active Razorpay connection). If you try anyway, the switch on the Online store page does not turn on, and a red message says Turn on Cash on delivery or connect an online payment gateway before opening your store. Check the step How shoppers pay in Store setup. If cash on delivery is off and online payments are Off, switch on cash on delivery, or connect Razorpay.
The "Checks before publishing" list in the shop builder also warns: No payment method is switched on, so shoppers cannot pay. See Review, publish & undo.
The shopper's payment choice sits on the checkout page, in the form with name, phone and address. What they see depends on which ways of paying you have switched on.
| You have | At checkout the shopper sees | After Place order |
|---|---|---|
| Only cash on delivery | No choice to make. Cash on delivery is picked for them. | The thank-you page right away. |
| Only Razorpay | No choice to make. Online payment is picked for them. | The page says "Almost there" and "Opening secure payment…", and Razorpay's payment window opens. |
| Both | A group called Payment method with two buttons: Cash on Delivery and Pay online. | As for the method they picked. |
| Neither | The form looks normal, but Place order is refused with "Online ordering is not accepting payments yet -- please try again shortly." | No order is created. |

If both are on and the shopper clicks Place order without picking one, the form says Choose a payment method. If something else is wrong with the choice, it says Choose a valid payment method for this order.
The order already exists. A shopper who closes the window, or whose payment fails, still lands on the thank-you page. The order then shows Payment pending in your Online orders list. Follow up with the shopper, or cancel the order if it is not paid.

Every order lists its payment in Online orders as two small badges.
| Badge | Meaning |
|---|---|
| COD | The shopper chose cash on delivery. |
| Pre-paid (razorpay) | The shopper chose online payment. |
| Paid (green) | Razorpay confirmed the payment. |
| Payment pending (yellow) | An online order whose payment is not confirmed yet. |
| Unpaid (grey) | Nothing has been paid yet. This is normal for a cash on delivery order. |
The shopper's own order status page shows the same idea in simple words: Paid, Waiting for payment, Pay on delivery or Not paid yet.
Next: Online orders, Delivery charges & areas, Good to know & troubleshooting.