Quick Start

Last updated: October 12th, 2026

How Shoppers Pay

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.

Settings › Payments › Online payments › Set up online payments
In simple words

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.

Before you start

  • For online payments you need a Razorpay account. Razorpay is a payment gateway: a company that safely takes card, UPI and net banking payments for shops. Create the account on razorpay.com and finish Razorpay's own business checks first. KanakBooks does not open the account for you.
  • You need the Settings permission in KanakBooks to open the Payments pages.
  • The online store must be part of your plan. See Switch on, open & managers.

The two ways to pay

Way to payWho pays and whenWhat the shopper seesHow 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 deliveryThe 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 small payment icons in the footer

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.

The "How shoppers pay" step in Store setup

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.

The How shoppers pay panel with three numbered markers: 1 on the Cash on delivery switch, which is on, 2 on the Online payments badge, which reads Off, and 3 on the Set up online payments button.
The How shoppers pay step: 1 Cash on delivery switch, 2 Online payments badge, 3 Set up online payments button.
What you seeWhat 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 / OffOn 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.
If the switch will not change

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.

Connect Razorpay (sign in with Razorpay)

This is the easiest way. You sign in to Razorpay and allow KanakBooks to take payments for you. You never copy any secret code.

The Payments page in Settings with the Online payments block and its link Set up online payments highlighted by a numbered marker.
Settings, Payments. The link "Set up online payments" is inside the "Online payments" block.
  1. Open Settings, then Payments Click the gear icon at the top, then Payments.
  2. Click "Set up online payments" It is the link in the Online payments block. The Online payments page opens with three cards: Razorpay, PayU and Cashfree.
    The Online payments page before anything is connected. The Razorpay card has a blue Connect with Razorpay button and a link Enter API keys manually. The PayU and Cashfree cards are greyed out with a Coming soon badge.
    The Online payments page before anything is connected.
  3. Click "Connect with Razorpay" The whole browser tab moves to Razorpay. Sign in with your Razorpay account and allow KanakBooks to connect.
  4. Come back to KanakBooks After you allow it, you return to KanakBooks. Open Settings, Payments, Set up online payments again and look at the Razorpay card. It now shows your masked Merchant ID, the words Connected via OAuth ("OAuth" means you signed in with Razorpay), and a green tick with Active.
    The Razorpay card after connecting: Merchant ID with most characters hidden, the words Connected via OAuth, a green tick with Active, and a red-outlined Disconnect button.
    The Razorpay card once it is connected and active.
  5. Check Store setup On Store setup the badge Online payments now says On, and the step How shoppers pay is Done.
On the connected Razorpay cardWhat it shows
Merchant IDYour Razorpay account number, with most characters hidden for safety.
Connected via OAuth / Manual keyHow 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.
DisconnectSwitches online payments off. See Disconnect.

Connect with API keys (typed by hand)

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.

  1. Get your keys from Razorpay In your Razorpay dashboard, open the API keys page and create a key. Razorpay shows the Key ID and the Key Secret. Copy both.
  2. Click "Enter API keys manually" It is a small link on the Razorpay card, under the blue button. Two boxes open.
    The Razorpay card with the manual key form open: an API Key box, an API Secret box with hidden characters, and a Save Keys button. Nothing real is typed.
    The manual key form on the Razorpay card.
  3. Paste the codes Put the Key ID in API Key. Put the Key Secret in API Secret. The secret is hidden as you type.
  4. Click Save Keys The boxes close and the card changes to the connected view with Manual key and Active. No message pops up. The card changing is your confirmation.
Keep the secret private

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.

Use keys from the live Razorpay account

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 Razorpay

  1. Open the Razorpay card Settings, Payments, Set up online payments.
  2. Click Disconnect There is no "Are you sure?" question, so click it only when you mean it.
  3. See the card change The card now reads Disabled with a yellow warning sign. Shoppers are no longer offered Pay online.
Disconnect switches payments off; the card stays

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.

If you disconnect and have no cash on delivery

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.

PayU and Cashfree

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

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.

  1. Open Store setup Gear icon, Online store, then Store setup.
  2. Open the row How shoppers pay It is the last row of the checklist.
  3. Press the Cash on delivery switch The hint beside it reads Shoppers pay in cash when the order is delivered. The message Cash on delivery is on appears, and the row turns Done.
  4. To stop offering it, press the switch again The message says Cash on delivery is off.
Who can change it

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.

Opening the store needs a way to pay

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.

What your shoppers see

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 haveAt checkout the shopper seesAfter Place order
Only cash on deliveryNo choice to make. Cash on delivery is picked for them.The thank-you page right away.
Only RazorpayNo choice to make. Online payment is picked for them.The page says "Almost there" and "Opening secure payment…", and Razorpay's payment window opens.
BothA group called Payment method with two buttons: Cash on Delivery and Pay online.As for the method they picked.
NeitherThe form looks normal, but Place order is refused with "Online ordering is not accepting payments yet -- please try again shortly."No order is created.
The shop checkout page when only Cash on delivery is on. From the top: the item line, the Promo code box, the totals, the line Already have an account? Sign in, then the Name, Phone, Email, Address, Apartment, Town / City, PIN code and State boxes and the Place order button. There is no Payment method group, because there is no choice to make.
Checkout with only cash on delivery on: no Payment method group shows. When both ways of paying are on, a Payment method group with Cash on Delivery and Pay online appears at the top of the form.

When the shopper must choose and does not

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 online payment steps

  1. The shopper clicks Place order The form shows "Placing your order…".
  2. The order is created first The shopper gets an order number straight away. The page shows "Almost there", the order reference, and "Opening secure payment…".
  3. Razorpay's window opens The shopper pays by card, UPI or net banking inside Razorpay's own secure window. KanakBooks never sees the card number.
  4. The thank-you page After paying, the shopper sees "Thank you", "Your order reference is …" and the total.
If the shopper closes the payment window

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.

The thank-you page after a cash on delivery order: Thank you, Your order reference is the order number, Total, and the buttons View your order, Send this order to the shop on WhatsApp and Continue shopping. It does not say anything about payment; the status page shows Pay on delivery.
The thank-you page after placing a cash on delivery order.

After the order: what you see

Every order lists its payment in Online orders as two small badges.

BadgeMeaning
CODThe 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.

Good to know

  • An order whose total is ₹0 (for example a 100% promo code on an order with free delivery) needs no payment. It is recorded as cash on delivery.
  • Razorpay's own fees apply to online payments. They are between you and Razorpay. KanakBooks does not add fees on top.
  • The money from online payments goes to your Razorpay account and is paid out to your bank by Razorpay on its own schedule.
  • Shoppers always pay the total shown in the cart. The total already includes GST and the delivery charge.
  • Only one payment company can be used at a time. Razorpay is the only one available now.
  • Restaurant shops that have a UPI id in their restaurant settings can also take UPI payments without a Razorpay account. That is part of the restaurant module, not covered here.

Next: Online orders, Delivery charges & areas, Good to know & troubleshooting.