Where in the admin: Settings → Payments
Set up payments and connect Razorpay
Choose how customers can pay at checkout, connect Razorpay for UPI, cards and netbanking, and see a paid order arrive in your admin.
On this page · 18
- 1Open Settings
- 2Choose Payments
- 3Payments at checkout
- 4Online payment
- 5Offline payment (optional)
- 6Cash on delivery
- 7Time to pay
- 8Save changes
- 9Enter your Razorpay keys
- 10Add the webhook in Razorpay
- 11Connect Razorpay
- 12See it from the customer side
- 13Payment options at checkout
- 14Cash on delivery at checkout
- 15Paying online with Razorpay
- 16Order placed
- 17The order in your admin
- 18The payment in Payments
Before you start
- You are signed in to the admin.
- A Razorpay account. You need its Key ID and Key secret from the Razorpay Dashboard (test keys start with rzp_test_).
- At least one product so you can try a checkout.
Steps
Step 1: Open Settings
Click Settings in the left menu.
Step 2: Choose Payments
Click Payments.
Step 3: Payments at checkout
Payments at checkout lists the ways customers can pay. Keep at least one switched on.
Step 4: Online payment
Online payment takes UPI, cards and netbanking, and confirms the money automatically. Customers see it once Razorpay is connected, which you do below.
Step 5: Offline payment (optional)
Switch on Offline payment if customers can pay you directly. Add a short message telling them how to reach you, and set how many hours they have to send a payment screenshot. You check the money arrived, then approve each payment yourself.
Step 6: Cash on delivery
Switch on Cash on delivery so customers can pay when the order arrives.
Step 7: Time to pay
Time to pay sets how many minutes a customer has to finish paying. Orders not paid online are cancelled after that, and the stock goes back on sale.
Step 8: Save changes
Click Save changes. You will see "Saved — your checkout is updated."
Step 9: Enter your Razorpay keys
In the Razorpay card, copy your Key ID and Key secret from the Razorpay Dashboard (Account & Settings → API keys) and paste them here. Then choose a Webhook secret. Keep the key secret private.
Step 10: Add the webhook in Razorpay
In the Razorpay Dashboard, go to Webhooks and add a webhook with the URL shown on this page and the same secret. The Copy button copies the URL. Select the events listed on the page: payment.captured, payment.failed, payment.authorized, order.paid, refund.processed and refund.failed.
Step 11: Connect Razorpay
Click Connect Razorpay (or Save). Once your keys are checked you will see Razorpay connected. Tick Take online payments to accept payments; switching it off stops new online payments, while refunds still work.
Step 12: See it from the customer side
Open your store, add a product to the cart and go to checkout.
Step 13: Payment options at checkout
Under Payment, customers can now choose Pay online.
Step 14: Cash on delivery at checkout
Or Cash on delivery, to pay when the order arrives.
Step 15: Paying online with Razorpay
The customer clicks Pay and Razorpay opens. They pick UPI, a card or netbanking, and complete the payment.
Step 16: Order placed
The order is placed and the customer sees the confirmation.
Step 17: The order in your admin
In your admin, the new order is already marked Paid, with the Razorpay payment details attached.
Step 18: The payment in Payments
The payment is listed under Payments too, ready if you ever need to refund it.
✓ You are done when
Razorpay shows as connected, checkout offers your payment methods, and a paid order shows as Paid in Orders and in Payments.

















