info@cognitoitconsultancy.com
Mon–Fri · 9:00 am – 7:00 pm IST
Whitefield, Bangalore
Verified Shopify Partner
WhatsApp Support Icon
How to add Razorpay to Shopify

How to add Razorpay to Shopify

Tutorial · 30 Minutes · Updated June 2026

How to Add Razorpay to Shopify in 7 Steps.

The complete India D2C payment gateway setup. UPI, Cards, EMI, Netbanking, Wallets all live in 30 minutes after KYC approval. With pro-tips and fee breakdown.

Quick Answer
Q: How do I add Razorpay to Shopify in India?

A: 7 steps. Sign up → KYC → API Keys → Shopify activation → Webhook → Test → Go live. Total: 30 minutes after KYC approval.

🏆
PAN, GSTIN, Bank A/C
🔒
Razorpay KYC
24-48 hours
Shopify integration
30 minutes
7 Steps

The Complete Tutorial.

01
Sign up for Razorpay
24-48 hrs

Create a Razorpay merchant account at razorpay.com. Click Sign Up, choose Business, enter business name, email, mobile. Submit KYC documents:

KYC documents required· PAN Card
· 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.

Tip: Submit a high-quality GSTIN certificate — this is the most common rejection reason. Use the original PDF, not a phone photo.
02
Get API Keys from Razorpay Dashboard
2 min

Once KYC approved, log into Razorpay Dashboard. Switch from Test mode to Live mode (top-right toggle).

Navigate toDashboard → Settings → API KeysGenerate 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.

Warning: Never paste Key Secret into emails or shared docs. Use a password manager. If exposed, regenerate immediately.
03
Open Shopify Payment Settings
1 min

In a new browser tab, log into your Shopify Admin.

Navigate toShopify Admin → Settings (bottom-left) → Payments

Scroll to Supported payment methods. Click See all other providers. Search for Razorpay.

04
Activate Razorpay on Shopify
3 min

Click Razorpay Secure from the list, then Activate Razorpay.

Enter credentialsKey ID: rzp_live_xxxxxxxxxxxxxx
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).

Pro tip: Set Razorpay as the only "Credit/Debit Card" provider. Disable PayU or other gateways unless you specifically need them as backup.
05
Configure Webhook in Razorpay
5 min

Back in Razorpay Dashboard, navigate to webhook config:

Navigate toSettings → Webhooks → Add New WebhookWebhook 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.

06
Test a Live Order
10 min

Open your live store in incognito. Add a low-value product to cart. Checkout. Test with each payment method:

Test matrix✓ UPI (GPay / PhonePe / Paytm)
✓ 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.

Tip: Use a low-value SKU (INR 1 product) for testing. Refund yourself after to recover the fee.
07
Enable Payment Methods + COD Logic
5 min

In Razorpay Dashboard, navigate to:

ConfigureSettings → Payment MethodsEnable: 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%.
Razorpay Fees on Shopify

What You'll Pay.

UPI
UPI
0.4%
💳
Cards (domestic)
2.0%
🌐
Cards (intl)
3.0%
🏦
Netbanking
1.9%
EMI
EMI (3-12mo)
1.5-3%
💰
Wallets
1.9-2%

Plus Shopify gateway fee: Basic 2% · Shopify 1% · Advanced 0.5% · Plus 0.15%. Blended Razorpay cost for India D2C: typically 2-3.5%.

FAQ

More Razorpay Questions.

Razorpay KYC approval: 24-48 hours for standard businesses, 3-5 days for restricted categories. Once approved, Shopify integration takes 30 minutes. UPI Autopay for subscriptions adds 1-2 days for NPCI mandate activation.
Razorpay transaction fees: UPI 0.4% (free up to ₹100 per txn), Cards 2% domestic, International cards 3%, Netbanking 1.9%, EMI 1.5-3% depending on tenure, Wallets 1.9-2%. Plus Shopify's third-party gateway fee: Basic 2%, Shopify 1%, Advanced 0.5%, Plus 0.15%. Blended cost for India D2C typically 2-3.5%.
Yes — Razorpay supports UPI Autopay (NPCI eMandate) for recurring subscriptions on Shopify via Recharge, Bold, or Shopify-native Subscriptions. First order signs UPI mandate, subsequent renewals auto-debit. Max ₹1L per transaction per NPCI rules. Failure rate typically 5-15% — churn-saver retries critical.
Yes — configure COD as a separate Shopify payment method (Manual Payments). Add COD with OTP verification via dedicated COD OTP apps. Razorpay can also charge a partial advance (10-20%) on COD orders to filter fake orders. This reduces RTO 25-40%.

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 run scope through the cost calculator.

Start Today

Your High-Converting Shopify Store,
Built in 2–3 Weeks

Book a free 30-minute call — we'll review your requirements and send a fixed-price proposal within 48 hours. No obligation. Works for any market, any timezone.

Fixed price  ·  2–3 week delivery  ·  30 days post-launch support  ·  Any timezone

🇮🇳 India · 🇺🇸 USA · 🇬🇧 UK · 🇦🇪 UAE · 🇦🇺 Australia · 🌏 Southeast Asia
100+
Stores built
4.9★
Client rating
₹180Cr+
GMV enabled
6
Countries served
96%
On-time delivery
© 2026 Cognito IT Consultancy. All rights reserved. Whitefield, Bangalore, India.
🇮🇳 🇺🇸 🇬🇧 🇦🇪 🇦🇺 🇸🇬