Skip to content

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
  1. 1Open Settings
  2. 2Choose Payments
  3. 3Payments at checkout
  4. 4Online payment
  5. 5Offline payment (optional)
  6. 6Cash on delivery
  7. 7Time to pay
  8. 8Save changes
  9. 9Enter your Razorpay keys
  10. 10Add the webhook in Razorpay
  11. 11Connect Razorpay
  12. 12See it from the customer side
  13. 13Payment options at checkout
  14. 14Cash on delivery at checkout
  15. 15Paying online with Razorpay
  16. 16Order placed
  17. 17The order in your admin
  18. 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

  1. Step 1: Open Settings

    Click Settings in the left menu.

  2. Step 2: Choose Payments

    Click Payments.

  3. Step 3: Payments at checkout

    Payments at checkout lists the ways customers can pay. Keep at least one switched on.

  4. 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.

  5. 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.

  6. Step 6: Cash on delivery

    Switch on Cash on delivery so customers can pay when the order arrives.

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

  8. Step 8: Save changes

    Click Save changes. You will see "Saved — your checkout is updated."

  9. 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.

  10. 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.

  11. 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.

  12. Step 12: See it from the customer side

    Open your store, add a product to the cart and go to checkout.

  13. Step 13: Payment options at checkout

    Under Payment, customers can now choose Pay online.

  14. Step 14: Cash on delivery at checkout

    Or Cash on delivery, to pay when the order arrives.

  15. Step 15: Paying online with Razorpay

    The customer clicks Pay and Razorpay opens. They pick UPI, a card or netbanking, and complete the payment.

  16. Step 16: Order placed

    The order is placed and the customer sees the confirmation.

  17. Step 17: The order in your admin

    In your admin, the new order is already marked Paid, with the Razorpay payment details attached.

  18. 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.

Related questions