← Back to Blog

A Step-by-Step Guide to Integrating a Payment Gateway on Your Indian eCommerce Website

By WovLab Team | April 20, 2026 | 4 min read

Choosing the Right Payment Gateway for Your Indian Business (Razorpay vs. PayU vs. Instamojo)

The first critical step to integrate payment gateway on website india is selecting the right partner. The Indian market is dominated by a few key players, each with distinct advantages. Your choice will impact transaction costs, customer experience, and the technical resources required for integration. A wrong decision can lead to high fees, poor success rates, and frustrated customers. We'll compare three of the most popular options: Razorpay, PayU, and Instamojo.

Razorpay is often lauded for its developer-first approach, offering extensive documentation, modern APIs, and a comprehensive product suite that includes subscriptions, smart routing, and payment links. PayU (formerly PayU Money) boasts a massive user base and is known for its competitive pricing and robust, time-tested platform. Instamojo started as a solution for smaller businesses and freelancers to collect payments easily and has since evolved, but its core strength remains simplicity and rapid onboarding.

Feature Razorpay PayU Instamojo
Standard TDR (Transaction Discount Rate) 2% + GST on domestic transactions 2% + GST on domestic transactions 2% + ₹3 + GST (Standard Plan)
Setup & AMC Zero Setup Fee, Zero Annual Maintenance Charge (AMC) Zero Setup Fee, Zero AMC Zero Setup Fee, Zero AMC on free plan
Supported Platforms WooCommerce, Shopify, Magento, custom APIs WooCommerce, Shopify, Magento, custom APIs WooCommerce, Magento, their own store builder
Key Differentiator Superior developer tools & product ecosystem (RazorpayX, Subscriptions) High success rates and brand recognition Extreme ease of use and quick setup for non-developers
Choosing a gateway isn't just about the lowest TDR. Consider the entire ecosystem: developer support, dashboard analytics, and value-added services like recurring payments or affiliate payouts. These features drive long-term business value far more than a 0.1% difference in fees.

For most tech-savvy startups and established eCommerce businesses, Razorpay offers the most flexibility and power. PayU is a solid, reliable alternative, especially for businesses prioritizing stability. Instamojo is perfect for sole proprietors or businesses wanting to get started with minimal technical overhead.

Essential Prerequisites: What You Need Before You Start to integrate payment gateway on website india

Before you write a single line of code or install a plugin, you must get your business documentation in order. Payment gateways are regulated financial entities that are legally required to perform stringent Know Your Customer (KYC) checks. Attempting to integrate payment gateway on website india without these documents will result in a rejected application, wasting valuable time. Being prepared ensures a smooth and fast approval process, often within 24-48 hours.

Here is a checklist of the essential documents and website assets you must have ready:

  1. Business Registration Documents: This depends on your business type. It could be a GST Certificate for a proprietorship, a Partnership Deed, or the Certificate of Incorporation for an LLP or Private Limited Company.
  2. PAN Card: You will need the PAN card of the business. For proprietorships, the individual's PAN card is required.
  3. Bank Account Details: A scanned copy of a cancelled cheque or a recent bank statement is needed to verify your business's current bank account where settlements will be deposited.
  4. GST Certificate (if applicable): While not mandatory for all business types to get started, having a GSTIN is crucial for most eCommerce operations and is required by gateways for higher transaction limits.
  5. A Functional Website with Required Policies: Your website must be live and accessible. Crucially, it must feature the following pages clearly:
    • About Us: A clear description of your business.
    • Contact Us: With a valid address, email, and phone number.
    • Terms & Conditions: Outlining the rules of using your service.
    • Privacy Policy: Detailing how you handle user data.
    • Shipping & Delivery Policy: For physical goods.
    • Refund & Cancellation Policy: A clear policy is non-negotiable for approval.
Your website's policy pages are not just a legal formality; they are a core part of the gateway's risk assessment. A site with missing or poorly written policies is a major red flag and a primary reason for application rejection.

Gathering these items beforehand is the single most important thing you can do to expedite your payment gateway activation. Treat it as the foundation upon which your entire online payment infrastructure will be built.

Technical Walkthrough: Integrating the Payment Gateway API with Your eCommerce Platform

Once your KYC is approved, you'll receive your API credentials—typically a Key ID and a Key Secret. The integration method varies significantly based on your eCommerce platform. For platforms like WooCommerce or Shopify, the process is straightforward. For custom-coded applications, you'll need a deeper dive into the API documentation.

For Plugin-Based Platforms (WooCommerce, Shopify):

  1. Log in to your website's admin panel.
  2. Navigate to the 'Plugins' (for WooCommerce) or 'Apps' (for Shopify) section.
  3. Search for the official plugin for your chosen gateway (e.g., "Razorpay for WooCommerce").
  4. Install and activate the plugin.
  5. Go to the plugin's settings page. Here, you will be prompted to enter your Key ID and Key Secret.
  6. Configure the settings, such as payment action (Authorize and Capture, or just Authorize), and save.
  7. Enable the gateway in your main payment settings. It will now appear as an option on your checkout page.

For Custom-Built Websites (Using a Server-Side Language like Node.js, Python, or PHP):

A custom integration offers more control but requires careful implementation. The standard flow is designed to be secure and robust: