How to set up Razorpay on Shopify India step-by-step guide 2026 with Cognito IT Consultancy branding
    Payment Setup · India 2026

    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 45 minutes. Works for all Indian business types.

    ⏱️ 45 Minutes Setup 💳 UPI · Cards · EMI · COD 🇮🇳 India-Specific ✅ Verified Shopify Partner 📍 Cognito IT, Bangalore
    🎯 Featured Answer — What Is Razorpay for Shopify?

    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 the most popular payment gateway for Shopify India because it supports all major Indian payment methods, integrates natively with Shopify's payment settings, and provides a GST-compliant reconciliation dashboard — with no monthly fee, only a per-transaction charge of 2% for cards and 0% for UPI (currently).

    🚀 Quick Summary — Setup in 45 Minutes
    Create Razorpay business account (10 min)
    Complete KYC — PAN, bank, business proof (15 min)
    Generate API Keys from Razorpay dashboard (2 min)
    Install Razorpay app in Shopify, enter API keys (5 min)
    Enable UPI, cards, EMI in payment methods (5 min)
    Configure webhook + place test order (8 min)

    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 is used by over 8 million Indian businesses and is the default choice for most Shopify stores 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?

    Short answer: Razorpay is India's leading payment gateway supporting UPI, cards, net banking, EMI, and BNPL with a native Shopify integration. It charges 0% on UPI and 2% on cards, has no monthly fee, and is the safest default for Indian D2C brands on Shopify.

    Razorpay processes over ₹7 lakh crore in annual transactions and powers payments for Swiggy, BookMyShow, and thousands of Indian D2C brands. For Shopify India specifically, its advantages over alternatives are:

    • Native Shopify app — one-click install from the Shopify App Store, no custom code needed
    • All Indian payment methods — UPI, cards (Visa, Mastercard, RuPay, Amex), net banking (65+ banks), EMI, BNPL (LazyPay, ZestMoney), and wallets
    • GST-compliant dashboard — settlement reports with GSTIN breakdowns, export-ready for your CA
    • Instant payouts — Razorpay X instant settlement available for eligible merchants (T+0 instead of T+2)
    • International payments — accepts cards from 100+ countries in 90+ currencies (with higher 3% international fee)

    Before You Start — What You Need

    Short answer: You need a Razorpay business account (with KYC), a Shopify store on any paid plan, and an Indian business bank account. GST registration is recommended but not mandatory to activate Razorpay.
    RequirementDetailsMandatory?
    Shopify storeAny paid plan (Basic, Shopify, Advanced) — not StarterYes
    Razorpay accountFree — create at razorpay.com with business emailYes
    Indian bank accountCurrent account preferred; savings accepted for sole propsYes
    PAN cardBusiness PAN (company) or personal PAN (sole proprietor)Yes
    Business proofGST certificate, incorporation cert, or shop establishmentYes
    GST registrationRequired for B2B invoicing; adds trust for D2CRecommended
    Brand website/domainRazorpay reviews your store URL during KYCRecommended
    ⚡ Pro Tip

    Start your Razorpay KYC the same day you start building your Shopify store. KYC takes 2–3 business days. 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

    Short answer: Setting up Razorpay on Shopify takes 8 steps and approximately 45 minutes: create account → KYC → get API keys → install app → enter keys → enable payment methods → configure webhook → go live with test order.
    1
    Step 1 ⏱️ 10 min Easy

    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 — most common for early-stage D2C founders
    • Partnership — if you have a registered partnership deed
    Note: Your business type affects which documents you need for KYC. Sole proprietors have the lightest documentation requirements — just PAN, bank statement, and address proof.
    2
    Step 2 ⏱️ 15 min Medium

    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 (can be in maintenance mode — Razorpay just checks it exists)
    KYC Timeline: Sole proprietors: 2–3 business days. Private Limited: 3–5 business days. You'll receive an email confirmation once activated. Meanwhile, you can use test mode.
    3
    Step 3 ⏱️ 2 min Easy

    Generate Your API Keys

    In your Razorpay Dashboard, go to Settings → API Keys → Generate Key. You'll get two values — keep these safe:

    Your API credentials (example format)
    Key ID: rzp_live_XXXXXXXXXXXXXXXXX // starts with rzp_live_ for production
    Key Secret: XXXXXXXXXXXXXXXXXXXXXXXX // shown ONCE — copy immediately
    Critical: The Key Secret is shown only once. If you close the dialog without copying it, you must generate a new key pair. Never share your Key Secret publicly or commit it to GitHub.
    4
    Step 4 ⏱️ 5 min Easy

    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
    Note: Only one third-party payment provider can be active at a time. If you were using another gateway (PayU, Cashfree), it will be deactivated when you activate Razorpay.
    5
    Step 5 ⏱️ 3 min Easy

    Enter API Keys in Shopify

    After installing Razorpay, you'll see the settings page inside Shopify Admin. Enter your credentials:

    Account ID (Key ID): rzp_live_XXXXXXXXXXXXXXXXX
    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.

    Common mistake: Using rzp_test_ keys in Live mode or rzp_live_ keys in Test mode. The prefix tells you which environment the key belongs to.
    6
    Step 6 ⏱️ 5 min Easy

    Enable Payment Methods in Razorpay Dashboard

    Go to Razorpay Dashboard → Settings → Payment Methods. Enable the methods relevant to your business:

    • UPI — enable immediately. 0% fee, highest conversion for Indian mobile users
    • Credit/Debit Cards — Visa, Mastercard, RuPay, Amex. Enable all
    • Net Banking — 65+ Indian banks. Enable all
    • EMI — no-cost EMI available for 12+ months. Critical for AOV above ₹3,000
    • BNPL — LazyPay, ZestMoney, Simpl. Increases conversion for ₹1,000–₹5,000 orders
    • Wallets — Paytm Wallet, Amazon Pay, Freecharge. Lower priority but worth enabling
    🏪 Need Full Store Setup Help? →
    7
    Step 7 ⏱️ 5 min Medium

    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:

    Webhook URL: https://yourstore.myshopify.com/
    Secret: [generate a random string]
    Events to select:
      payment.captured // payment succeeded
      payment.failed // payment failed
      refund.created // refund initiated
    Important: If webhooks are not configured, customers may see "payment pending" in Shopify even after successful payment. This is the #1 cause of "Razorpay not working on Shopify" complaints.
    8
    Step 8 ⏱️ 10 min Medium

    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.

    Golden Rule: Never go live without testing both success and failure payment flows. A broken failure redirect is invisible until your first real customer hits it.

    Razorpay Payment Methods — India Coverage

    Here's the complete breakdown of what Razorpay supports on Shopify India, with fees and notes:

    Payment MethodTransaction FeeSettlementBest For
    UPI (all apps)0% (currently)T+2 daysOrders under ₹1 lakh — highest conversion
    Debit Cards (Indian)0.9% – 1.75%T+2 daysAll AOV ranges
    Credit Cards (Indian)1.8% – 2%T+2 daysHigher AOV + EMI orders
    Net Banking (65+ banks)1.5% – 2%T+3 daysCustomers who prefer bank transfer
    No-Cost EMIBank subvention costT+2 daysOrders ₹3,000–₹30,000
    BNPL (LazyPay, Simpl)1.5% – 2.5%T+2 daysOrders ₹1,000–₹5,000
    International Cards3% + currency conversionT+2 daysNRI buyers or global D2C
    Wallets (Paytm, etc.)1.8%T+2 daysCustomers with pre-loaded wallet balance
    💡 Key Insight on Fees

    Shopify also charges its own transaction fee on top of Razorpay's fee: 2% on Basic, 1% on Shopify plan, 0.5% on Advanced. On a ₹1,000 order via cards, you're paying ₹20 (Razorpay) + ₹20 (Shopify Basic) = ₹40 total. Upgrading to Shopify Advanced plan saves ₹15/order at scale — breaks even at roughly 200 orders/month.

    Real India-Specific Insights — From 40+ D2C Launches

    Short answer: UPI delivers 22% higher checkout completion than cards for Indian D2C. Adding no-cost EMI lifts conversion 18–25% for orders above ₹2,000. COD still accounts for 40–60% of orders and requires separate logistics setup — Razorpay does not handle COD.
    22%
    Lift in checkout completion when UPI is enabled (vs cards only)
    18–25%
    Conversion uplift for orders above ₹2,000 when no-cost EMI is added
    40–60%
    Indian D2C orders placed as COD — needs separate logistics setup
    0%
    Current UPI transaction fee on Razorpay — your highest-converting zero-cost method
    T+0
    Settlement available via Razorpay X for eligible merchants — instant vs standard T+2
    8M+
    Indian businesses using Razorpay — customer recognition reduces checkout hesitation

    COD Is Not Razorpay's Job

    This is the most common misconception we encounter. Razorpay handles digital payments only. For COD on your Shopify store, you need to enable it separately through:

    • Shopify's native COD — enables the option at checkout but has no verification or carrier integration
    • Shiprocket / NimbusPost — logistics partners that handle COD collection, OTP verification, and remittance back to you

    Always pair COD with OTP verification to reduce fake orders. Without verification, expect 20–35% RTO (Return to Origin) on COD shipments in Tier 2–3 cities.

    🏪 Full Shopify Store Setup with COD →

    When NOT to Use Razorpay on Shopify

    Short answer: Razorpay is not ideal for: high-volume stores above ₹50 Crore GMV where Cashfree's lower fees make more sense; stores with majority international orders where Stripe or PayPal are better; or businesses that need custom payment flows requiring API-level integration beyond Shopify's native payment settings.

    ⚠️ Consider an Alternative If:

    You process above 10,000 orders/month — At high volume, Cashfree's lower per-transaction rates (especially for cards and net banking) can save ₹2–4 lakhs/year vs Razorpay. Negotiate custom pricing directly with both gateways before deciding.
    Majority of your orders are international — Razorpay's 3% international fee is high. Stripe (where available) or PayPal are better for INR-to-USD settlement. Consider maintaining both gateways if you have split domestic/international traffic.
    You need custom checkout UX — Razorpay's Shopify integration uses its standard checkout modal. If you need a fully branded checkout experience without the Razorpay popup, you'll need custom development via Shopify Checkout Extensions, which Razorpay's default app doesn't support fully.
    Your product category has payment restrictions — Razorpay does not process payments for firearms, adult content, certain supplements, or gambling-related products. Check Razorpay's prohibited categories list if your product is in a grey area.
    You're in a restricted FEMA category — Businesses with foreign ownership above certain thresholds or operating in specific sectors may face payment processing restrictions. Consult your CA before choosing a gateway.

    Razorpay vs Cashfree for Shopify India — Full Comparison

    Short answer: Razorpay wins for ease of setup, Shopify integration quality, and dashboard features. Cashfree wins on transaction fees at scale (above 10,000 orders/month) and international settlements. For brands under ₹50 Crore annual GMV, Razorpay is the safer default.
    FeatureRazorpayCashfree
    Shopify IntegrationNative app (official)Available but less polished
    Setup DifficultyEasy (45 min)Moderate (1–2 hours)
    UPI Fee0% (currently)0% (currently)
    Card Fee2%1.75% (negotiable)
    Net Banking Fee1.5%–2%1.4%–1.9%
    EMI / BNPLYes — LazyPay, ZestMoney, SimplYes — similar coverage
    International Cards3%2.9% + lower forex
    Dashboard QualityExcellent — reports, analytics, payoutsGood but less detailed
    Settlement SpeedT+2 (T+0 via X)T+2 (T+0 available)
    Instant PayoutsRazorpay XCashfree Instant Settlement
    GST Invoice SupportBuilt-inLimited
    Best ForUnder 10,000 orders/monthAbove 10,000 orders/month

    🚨 Razorpay Shopify Troubleshooting Guide

    Short answer: The most common Razorpay issues on Shopify are: wrong API keys (test vs live mismatch), webhook not configured causing orders not to appear in Shopify, UPI not enabled in Razorpay payment methods, KYC not completed, and browser cache causing stale checkout sessions. Fix in that order before escalating to Razorpay support.
    Issue #1 — Most Common

    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.

    Fix: Go to Razorpay Dashboard → Settings → Webhooks. Verify a webhook URL is configured. If not, add one pointing to your store URL with payment.captured event enabled. If a webhook exists, check the "Failed" tab for recent errors — re-trigger failed events manually.
    Issue #2 — API Key Error

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

    Fix: In Shopify Admin → Settings → Payments → Razorpay, verify your Key ID starts with 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.
    Issue #3

    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.

    Fix: Go to Razorpay Dashboard → Settings → Payment Methods → UPI. Ensure UPI is toggled ON. It may be disabled by default if your business category has restrictions. Also check that your Razorpay account KYC is fully approved — pending KYC limits payment methods.
    Issue #4

    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.

    Fix (check in order): (1) Open Razorpay Dashboard → Transactions → filter for "Failed" — look at the failure reason code. (2) If reason is "bank_decline", it's the customer's bank, not your setup — suggest they try a different card or UPI. (3) If reason is "gateway_error", contact Razorpay support with the payment ID. (4) Test in incognito mode to rule out browser cache/cookie issues.
    Issue #5

    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.

    Fix: This is almost always a Content Security Policy (CSP) conflict with your Shopify theme. If you've added custom CSP headers via a Shopify app or theme code, you must whitelist *.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.
    Issue #6

    Razorpay settlement not received — money stuck

    Payments are captured on Razorpay but the settlement hasn't arrived in your bank account after 3+ days.

    Fix: Go to Razorpay Dashboard → Settlements. Check if settlements are in "On Hold" status — this means your KYC document has an issue or you've hit a risk flag. Look for any notification banner in the dashboard. If nothing is flagged, verify your bank account details in Settings → Bank Account Details are correct. Raise a support ticket with your settlement ID if the status is unclear.
    Issue #7

    EMI option not appearing at checkout

    You've enabled EMI in Razorpay settings but customers don't see it at checkout.

    Fix: EMI only appears for orders above ₹1,000 (Razorpay's minimum EMI threshold). Also ensure the customer's card is issued by a bank supported for EMI — check Razorpay's supported EMI banks list. No-cost EMI requires your Razorpay account to have the "No Cost EMI" feature activated — raise a request with Razorpay support if it's not available in your dashboard.
    Issue #8

    Duplicate orders created in Shopify

    A customer places one order but two or three orders appear in Shopify Admin for the same payment.

    Fix: This is a webhook duplication issue. Go to Razorpay Dashboard → Settings → Webhooks. If you have multiple webhook entries pointing to the same URL, delete duplicates and keep only one. Also check if you have both the Razorpay Shopify app AND a manual webhook configured — remove one. Each payment event should trigger exactly one webhook call.

    Post-Setup Optimisation — 6 Things to Do After Razorpay Goes Live

    Short answer: After Razorpay is live, optimise for higher checkout conversion: add a prepaid discount (15–25% more prepaid orders), enable BNPL (18–25% lift for orders above ₹2,000), set up abandoned cart recovery via Klaviyo, add trust badges near the payment button, and enable Razorpay's Magic Checkout for returning customers.
    💸

    Add a Prepaid Discount (₹50–₹100) +15–25% prepaid orders

    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 shifts 15–25% of COD orders to prepaid within the first month — improving your cash flow and reducing RTO.

    🏦

    Enable No-Cost EMI for High-AOV Products +18–25% conversion

    For products priced above ₹2,000, prominently display "No Cost EMI available" on product pages — not just at checkout. Indian buyers make the decision to purchase before reaching checkout. In Razorpay dashboard, activate no-cost EMI with your preferred bank partners.

    🛒

    Set Up Abandoned Cart Recovery via Klaviyo +10–15% recovery

    Many customers reach the payment step and drop off — often due to UPI app friction or card OTP delays, not intent to abandon. 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 +8–12% checkout completion

    Place "Secured by Razorpay", "256-bit SSL Encrypted", and "COD Available" badges directly below the payment button — not in the footer. Indian D2C buyers look for reassurance at the moment of payment. Most Shopify themes allow custom HTML in checkout via the "additional content" field in checkout settings.

    📈 Full CRO Audit for Your Store →

    Enable Razorpay Magic Checkout Reduces checkout time by 60%

    Magic Checkout is Razorpay's 1-click checkout for returning Razorpay users — pre-fills name, mobile, address, and saved cards. Available for Razorpay-powered stores. Activate from Razorpay Dashboard → Products → Magic Checkout. It works within Shopify's standard checkout flow without custom development.

    📊

    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 exceed 8%, investigate with your bank. If UPI success rates drop, check for Razorpay network issues. Use this data to prioritise which payment methods to promote at checkout.

    🤖 Marketing Automation After Payments →

    ✅ Razorpay Shopify Setup — Quick Checklist

    Print this before going live
    Razorpay account created
    KYC submitted and approved
    Live API keys generated
    Razorpay app installed in Shopify
    Live keys entered and saved
    UPI enabled in Razorpay settings
    Cards + net banking enabled
    EMI + BNPL enabled
    Webhook configured (payment.captured)
    Test order — card payment ✓
    Test order — UPI payment ✓
    Payment failure redirect tested ✓
    Shopify order created after test ✓
    Confirmation email received ✓
    Switched to live mode
    Prepaid discount set up
    📥 Free Download

    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 optimisation in one printable doc.

    ⭐ Used by 500+ D2C founders across India
    Razorpay Checklist

    No spam. Unsubscribe anytime.

    ❓ FAQs — Razorpay on Shopify India

    There is no monthly fee to use Razorpay with Shopify. Razorpay charges a per-transaction fee: 2% for domestic cards and net banking, 0% for UPI (currently), and 3% for international cards. Shopify also charges its own transaction fee (0.5%–2% depending on your plan) on top of Razorpay's fee unless you're on Shopify Advanced.

    The five most common causes: (1) wrong API keys — using test keys in live mode; (2) KYC not fully approved — check for email from Razorpay; (3) webhook not configured — payment succeeds but Shopify doesn't get notified; (4) Razorpay app deactivated by a recent Shopify app conflict; (5) browser cache issue — test in incognito first. Fix in this 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. UPI currently has 0% transaction fee on Razorpay — it's both your cheapest and highest-converting payment method for Indian buyers.

    Razorpay KYC typically takes 2–3 business days for sole proprietors with complete documents. Private limited companies take 3–5 business days. You can use test mode to build and test your entire Shopify integration while KYC is in progress — so you're ready to flip to live the moment KYC is approved.

    No — Razorpay handles digital payments only. For COD on Shopify India, enable it through your logistics partner (Shiprocket, NimbusPost, or Delhivery) or Shopify's native COD option. Always use OTP verification to reduce fake COD orders, which can otherwise account for 20–35% of COD shipments in Tier 2–3 cities.

    Razorpay is better for most Indian Shopify stores: superior Shopify integration, better dashboard, and wider payment method support. Cashfree has slightly lower transaction fees at scale (above 10,000 orders/month) and better international settlement. For brands under ₹50 Crore annual GMV, Razorpay is the safer default. Consider Cashfree only when you've validated product-market fit and are optimising margins.

    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. Fix (3) first as it's the most common cause of "UPI payment failed" reports from customers who were actually charged.

    🚀 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 optimisation
    • Klaviyo + WhatsApp automation
    👉 Book a Free Consultation