How to Add Razorpay to Shopify India (2026) — 7-Step Guide
The complete India D2C payment gateway setup. UPI, cards, EMI, netbanking, wallets — all live in 30 minutes after KYC approval. With pro-tips, fee breakdown, and India-specific config for D2C brands.
24-48 hours
30 minutes
The Complete Tutorial.
Create a Razorpay merchant account at razorpay.com. Click Sign Up, choose Business, enter business name, email, mobile. Submit KYC documents:
· GSTIN certificate
· Cancelled cheque or bank statement
· Business proof (Shop Act / Udyam / Incorporation)
· Director / Proprietor identity
KYC review typically 24-48 hours. Restricted categories (jewelry, pharma) may take 3-5 days.
Once KYC approved, log into Razorpay Dashboard. Switch from Test mode to Live mode (top-right toggle).
Generate Live Key → Copy Key ID + Key Secret → Save to password manager
You will get a Key ID (starts with rzp_live_) and a Key Secret. Store both securely — the Secret is shown only once.
In a new browser tab, log into your Shopify Admin.
Scroll to Supported payment methods. Click See all other providers. Search for Razorpay.
Click Razorpay Secure from the list, then Activate Razorpay.
Key Secret: yyyyyyyyyyyyyyyyyyyyyy
Click Activate. Razorpay is now your active payment provider. Disable Shopify Payments if it was on (only Razorpay should be active for India).
Back in Razorpay Dashboard, navigate to webhook config:
Webhook URL: https://[your-store].myshopify.com/services/payments/razorpay/webhook
Secret: (auto-generate)
Events: order.paid, payment.failed, payment.captured, refund.created
Save webhook. Razorpay will send real-time payment events to Shopify — critical for accurate order status and refund handling.
Open your live store in incognito. Add a low-value product to cart. Checkout. Test with each payment method:
✓ Card (Credit + Debit)
✓ Netbanking (HDFC / ICICI / SBI)
✓ Wallet (Paytm / Mobikwik)
✓ EMI (if enabled)
Verify each transaction shows in both: Shopify Orders with status "Paid", and Razorpay Payments with status "Captured". Refund a test order to confirm refund flow works.
In Razorpay Dashboard, navigate to:
Enable: UPI, Cards (Domestic + Intl), Netbanking, Wallets, EMI, BNPL
For COD with OTP, configure separately in Shopify: Settings → Payments → Add manual payment method → Cash on Delivery. Then install a COD OTP app for fraud protection.
Done. Razorpay is now live on your Shopify store. Average setup time: 30 minutes once KYC is approved. Pair with COD with OTP setup to cut RTO 30-50%.
What You'll Pay.
(domestic)
(intl)
(3-12mo)
More Razorpay Questions.
Need Razorpay Setup Done for You?
30-minute call. We configure Razorpay + COD OTP + Shiprocket + GST end-to-end. Fixed-price, 5-7 days. Or scope your project with our cost calculator.

