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 about 45 minutes. Covers sole proprietors, partnerships, LLPs and private limited companies.

    ⏱️ 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 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).

    🚀 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 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?

    Short answer: Razorpay is a payment gateway supporting UPI, cards, net banking, EMI, and BNPL, with a Shopify integration. Its standard domestic rate is 2% plus GST per transaction, with no monthly fee.

    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

    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 Shopify plan (Basic, Grow, Advanced)Yes
    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 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

    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 — a common choice 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 (Razorpay may review it during KYC)
    KYC Timeline: Timelines vary by business type and document quality. 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
    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. 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
    🏪 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 a common 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 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.

    💡 Key Insight on Fees

    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

    Short answer: Razorpay's standard checkout handles digital payments. COD can be added through Razorpay Magic Checkout, Shopify's native COD, or a logistics partner.
    8M+
    Businesses in India that Razorpay says it serves
    2%
    Standard domestic rate, plus GST
    3%
    International cards, plus GST
    90 days
    0% platform fee offer for new merchants (terms apply)

    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

    Short answer: Razorpay may not suit every store: high-volume stores that can negotiate lower rates elsewhere, stores with mostly international orders, or businesses that need custom payment flows beyond Shopify's native payment settings.

    ⚠️ Consider an Alternative If:

    You process high volumes — other gateways such as Cashfree, PayU and PhonePe may offer different rates at scale. Ask each for a written quote at your own volume before deciding.
    Most of your orders are international — Razorpay lists 3% plus GST for international cards. Compare it with other gateways built for international settlement before choosing.
    You need a heavily customized checkout — confirm with Razorpay and Shopify what the integration supports before committing.
    Your product category may be restricted — Razorpay publishes a list of prohibited and restricted categories. Check it if your product is in a grey area.
    You have foreign ownership or operate in a regulated sector — consult your CA before choosing a gateway.

    Razorpay vs Cashfree for Shopify India: How to Compare

    Short answer: Both gateways cover the main Indian payment methods. Compare setup effort, supported features, settlement timing and a written fee quote at your own order volume before choosing.
    • 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

    Short answer: Common Razorpay issues on Shopify include: 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

    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 often 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 appears only for eligible orders and cards; check Razorpay's EMI minimum and supported banks. 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 Optimization — 6 Things to Do After Razorpay Goes Live

    Short answer: After Razorpay is live, look at checkout conversion: add a prepaid discount, show EMI on higher-value products, set up abandoned cart recovery via Klaviyo, add trust badges near the payment button, and check whether Razorpay's Magic Checkout suits your store.
    💸

    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

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

    Razorpay Checklist

    No spam. Unsubscribe anytime.

    ❓ 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
    👉 Book a Free Consultation