How to Set Up Razorpay on Shopify India — Step-by-Step Guide (2026)
The complete guide to integrating Razorpay with your Shopify store — UPI, cards, EMI, troubleshooting, and post-setup tips. Takes about 45 minutes. Covers sole proprietors, partnerships, LLPs and private limited companies.
Razorpay on Shopify is a payment gateway integration that enables Indian Shopify store owners to accept payments via UPI, credit and debit cards, net banking, EMI, and BNPL at checkout. It is a widely used payment gateway for Shopify India because it supports the main Indian payment methods, integrates natively with Shopify's payment settings, and provides a reconciliation dashboard — with no monthly fee. Razorpay's standard domestic rate is 2% plus GST per transaction, and new merchants may get a 0% platform fee for the first 90 days (check your dashboard for your current rate).
If you're running a D2C brand in India on Shopify, your payment gateway is the single most important technical decision you'll make. A broken payment setup means lost sales — not just abandoned carts, but customers who never come back.
Razorpay says it serves more than 8 million businesses in India. This guide walks you through the complete setup — from creating your Razorpay account to going live — plus the troubleshooting steps we use at Cognito IT Consultancy when things break.
What is Razorpay and Why Use It for Shopify India?
For Shopify India specifically, its main advantages are:
- Native Shopify app — one-click install from the Shopify App Store, no custom code needed
- The main Indian payment methods — UPI, cards (Visa, Mastercard, RuPay, Amex), net banking, EMI, BNPL, and wallets
- Settlement reports — exportable reports you can share with your accountant
- Instant settlement — available to eligible merchants; check Razorpay for current terms
- International cards — Razorpay lists 3% plus GST for international cards
Before You Start — What You Need
| Requirement | Details | Mandatory? |
|---|---|---|
| Shopify store | Any paid Shopify plan (Basic, Grow, Advanced) | Yes |
| Razorpay account | Free — create at razorpay.com with business email | Yes |
| Indian bank account | Current account preferred; savings accepted for sole props | Yes |
| PAN card | Business PAN (company) or personal PAN (sole proprietor) | Yes |
| Business proof | GST certificate, incorporation cert, or shop establishment | Yes |
| GST registration | Required for B2B invoicing; adds trust for D2C | Recommended |
| Brand website/domain | Razorpay reviews your store URL during KYC | Recommended |
Start your Razorpay KYC the same day you start building your Shopify store. KYC timelines vary by business type and document quality. You can complete your entire Shopify setup in test mode while KYC is being approved — so you're ready to go live the moment KYC clears.
8-Step Razorpay Shopify Setup Guide
Create Your Razorpay Account
Go to razorpay.com → click Sign Up. Enter your business name, email, and mobile number. Choose your business type from the dropdown:
- Private Limited Company — if you're incorporated under Companies Act
- LLP — Limited Liability Partnership
- Sole Proprietorship — a common choice for early-stage D2C founders
- Partnership — if you have a registered partnership deed
Complete KYC Verification
After account creation, Razorpay will prompt you to complete KYC. Navigate to Dashboard → My Account → Business Details. Upload the following:
- Business PAN — company PAN if Pvt Ltd / LLP, personal PAN if sole proprietor
- Bank account details — account number and IFSC, verified via penny drop
- Business proof — GST certificate (preferred), incorporation certificate, or shop establishment act registration
- Business address proof — utility bill, rental agreement, or GST certificate
- Website URL — your Shopify store URL (Razorpay may review it during KYC)
Generate Your API Keys
In your Razorpay Dashboard, go to Settings → API Keys → Generate Key. You'll get two values — keep these safe:
Key Secret: XXXXXXXXXXXXXXXXXXXXXXXX // shown ONCE — copy immediately
Install Razorpay on Shopify
There are two ways to install Razorpay in Shopify — use Method A (recommended):
Method A — Via Shopify Admin (recommended):
- Go to Shopify Admin → Settings → Payments
- Under "Third-party payment providers," click Choose third-party provider
- Search "Razorpay" and click it
- Click Install & activate
Method B — Via Shopify App Store:
- Search "Razorpay" in Shopify App Store and click Install
- This installs the same app — use Method A if you want to avoid the app store redirect
Enter API Keys in Shopify
After installing Razorpay, you'll see the settings page inside Shopify Admin. Enter your credentials:
Account Secret: XXXXXXXXXXXXXXXXXXXXXXXX
Mode: Live // switch to Test for testing first
Click Save. Razorpay will validate the keys — you'll see a green confirmation if correct.
rzp_test_ keys in Live mode or rzp_live_ keys in Test mode. The prefix tells you which environment the key belongs to.Enable Payment Methods in Razorpay Dashboard
Go to Razorpay Dashboard → Settings → Payment Methods. Enable the methods relevant to your business:
- UPI — enable immediately. Indian shoppers commonly expect UPI at checkout.
- Credit/Debit Cards — Visa, Mastercard, RuPay, Amex. Enable all
- Net Banking — Enable all banks offered.
- EMI — enable EMI options for higher-value products.
- BNPL — enable where offered on your account.
- Wallets — Paytm Wallet, Amazon Pay, Freecharge. Lower priority but worth enabling
Configure Webhooks
Webhooks ensure Razorpay sends payment status updates to your Shopify store automatically — critical for order confirmation and inventory deduction. Without this, a payment can succeed on Razorpay but Shopify never receives confirmation.
Go to Razorpay Dashboard → Settings → Webhooks → Add New Webhook:
Secret: [generate a random string]
Events to select:
payment.captured // payment succeeded
payment.failed // payment failed
refund.created // refund initiated
Test Order → Go Live
Before switching to live mode, place a complete test order:
- Switch Razorpay to Test Mode in Shopify payment settings
- Add a product to cart, go to checkout, select Razorpay
- Use Razorpay's test card details to simulate payment success
- Verify: Shopify order created ✓, confirmation email sent ✓, Razorpay dashboard shows payment ✓
- Test a payment failure — verify the customer is redirected back to cart, not a blank page
Once tests pass, switch both Razorpay and Shopify to Live Mode and place a real ₹1 test order to confirm the end-to-end production flow.
Razorpay Payment Methods and Fees
Razorpay's published rates (checked 21 November 2026): the standard domestic rate is 2% plus GST per transaction, new merchants may get a 0% platform fee for the first 90 days, and international cards are 3% plus GST. Fees can differ by contract, so check your Razorpay dashboard. UPI, debit and credit cards (including RuPay), net banking, wallets, EMI and BNPL are available; which ones you see depends on your account and KYC status. Source: Razorpay pricing.
Shopify also charges a third-party transaction fee on top of the gateway's fee: 2% on Basic, 1% on Grow and 0.6% on Advanced (Shopify pricing, checked 21 November 2026). Check your own plan before choosing a gateway.
Razorpay at a Glance
COD and Razorpay
Razorpay's standard card and UPI checkout handles digital payments. For COD on your Shopify store, you can use:
- Razorpay Magic Checkout — Razorpay's checkout for Shopify with COD settings such as fee slabs, pin code rules, a blocklist and partial COD (up to 50% of the order). Some features must be enabled by Razorpay support. See Razorpay's Magic Checkout docs.
- Shopify's native COD — adds the option at checkout; verification and carrier steps are handled separately
- Shiprocket / NimbusPost — logistics partners that can handle COD collection and remittance back to you
Pair COD with a verification step to reduce fake orders and RTO (Return to Origin). See our COD and RTO guide.
🏪 Full Shopify Store Setup with COD →When NOT to Use Razorpay on Shopify
⚠️ Consider an Alternative If:
Razorpay vs Cashfree for Shopify India: How to Compare
- Fees: ask each gateway for a written quote at your own volume.
- Shopify integration: check how each one connects to your store and which features it supports.
- COD: check whether COD tools are built in or need a logistics partner.
- Settlement: compare settlement timing and what instant options cost.
- Support: test how quickly each one responds before you commit.
🚨 Razorpay Shopify Troubleshooting Guide
Razorpay payment succeeds but Shopify order is not created
Customer pays successfully on Razorpay but no order appears in Shopify Admin. The customer sees a "Thank you" page but your dashboard shows nothing. This is a webhook failure.
payment.captured event enabled. If a webhook exists, check the "Failed" tab for recent errors — re-trigger failed events manually."Invalid API Key" or payment gateway not appearing at checkout
Razorpay doesn't appear as a payment option at checkout, or customers see an error when trying to pay. Usually an API key mismatch.
rzp_live_ (not rzp_test_) when in live mode. Re-enter both Key ID and Key Secret and save. If you lost the Key Secret, generate a new key pair in Razorpay Dashboard → Settings → API Keys.UPI not showing at Shopify checkout
Customers can't see UPI as a payment option even though you've set up Razorpay. Common after initial setup.
Payment fails at checkout — "Payment failed, please try again"
Customers see a generic payment failure. This can be gateway-side, bank-side, or Shopify config issue.
Razorpay checkout popup not loading (blank white box)
The Razorpay payment modal opens but shows a white/blank screen and never loads the payment form.
*.razorpay.com. Check your theme's content_security_policy.liquid file. Also disable browser extensions that block scripts (uBlock Origin, Privacy Badger) and test in a clean incognito window first.Razorpay settlement not received — money stuck
Payments are captured on Razorpay but the settlement hasn't arrived in your bank account after 3+ days.
EMI option not appearing at checkout
You've enabled EMI in Razorpay settings but customers don't see it at checkout.
Duplicate orders created in Shopify
A customer places one order but two or three orders appear in Shopify Admin for the same payment.
Post-Setup Optimization — 6 Things to Do After Razorpay Goes Live
Add a Prepaid Discount (₹50–₹100)
Display a discount at checkout for customers who choose prepaid (UPI, card, netbanking) over COD. Set this in Shopify Discounts or a COD conversion app. This can move some COD orders to prepaid, improving your cash flow and reducing RTO.
Enable No-Cost EMI for High-AOV Products
For products priced above ₹2,000, prominently display "No Cost EMI available" on product pages — not just at checkout. Shoppers often decide before they reach checkout. In Razorpay dashboard, activate no-cost EMI with your preferred bank partners.
Set Up Abandoned Cart Recovery via Klaviyo
Many customers reach the payment step and drop off — sometimes because of UPI app friction or card OTP delays rather than a change of mind. Klaviyo's Shopify integration captures abandoned checkouts and sends a reminder sequence: WhatsApp at 1 hour, email at 4 hours, email with discount at 24 hours.
📧 Set Up Klaviyo for Shopify →Add Trust Badges Near the Payment Button
Place "Secured by Razorpay", "256-bit SSL Encrypted", and "COD Available" badges directly below the payment button — not in the footer. Shoppers look for reassurance at the moment of payment.
📈 Full CRO Audit for Your Store →Check Whether Razorpay Magic Checkout Suits Your Store
Magic Checkout is Razorpay's checkout product for Shopify. It can pre-fill saved customer details and includes COD controls. Confirm eligibility and setup for your store in Razorpay's Magic Checkout docs or with Razorpay support.
Monitor Razorpay Analytics Weekly Identifies revenue leaks
Razorpay Dashboard → Analytics shows payment method split, failure rates by method, and peak payment times. Check weekly: if card failure rates rise, investigate with your bank. If UPI success rates drop, check for Razorpay network issues. Use this data to prioritize which payment methods to promote at checkout.
🤖 Marketing Automation After Payments →✅ Razorpay Shopify Setup — Quick Checklist
Download the Full Razorpay + Shopify Setup Checklist PDF
The complete checklist our team uses for every new Shopify store in India — Razorpay setup, COD configuration, payment testing, and post-setup optimization in one printable doc.
No spam. Unsubscribe anytime.
🔗 Related Services from Cognito IT Consultancy — Verified Shopify Partner, Bangalore
❓ FAQs — Razorpay on Shopify India
There is no monthly fee to use Razorpay with Shopify. Razorpay's standard domestic rate is 2% plus GST per transaction (new merchants may get a 0% platform fee for the first 90 days), and international cards are 3% plus GST. Shopify also charges a third-party transaction fee on top: 2% on Basic, 1% on Grow and 0.6% on Advanced.
Common causes include: (1) wrong API keys — using test keys in live mode; (2) KYC not fully approved — check for an email from Razorpay; (3) webhook not configured — payment succeeds but Shopify doesn't get notified; (4) a browser cache issue — test in incognito first. Check these in order before contacting Razorpay support.
Yes. After integrating Razorpay with Shopify, go to Razorpay Dashboard → Settings → Payment Methods and enable UPI. Customers see UPI at checkout alongside cards and net banking. Razorpay's standard 2% plus GST applies to UPI too, so check your rate in the dashboard.
KYC timelines vary by business type and document quality. You can use test mode to build and test your Shopify integration while KYC is in progress, so you're ready to go live when it is approved.
Razorpay's standard checkout handles digital payments. COD can be added through Razorpay Magic Checkout (some features must be enabled by Razorpay support), Shopify's native COD, or your logistics partner (Shiprocket, NimbusPost, or Delhivery). Pair COD with a verification step to reduce fake orders.
Both cover the main Indian payment methods. Compare setup effort, supported features, settlement timing and a written fee quote from each gateway at your own order volume before choosing.
UPI failures on Razorpay are usually caused by: (1) UPI not enabled in Razorpay dashboard payment methods — toggle it on; (2) customer's UPI app daily limit exceeded — they should try a different app or card; (3) webhook not configured — payment goes through on Razorpay's end but Shopify doesn't receive confirmation. Check (3) early if customers report being charged but the order is missing.
🚀 Need Help Setting Up Razorpay on Shopify?
We set up Razorpay, COD, EMI, and the full payment stack for Indian D2C brands — getting you from zero to live in one week.
- Complete Razorpay + COD setup
- Payment testing & troubleshooting
- Post-setup CRO optimization
- Klaviyo + WhatsApp automation

