On paper, Indian payment gateways look almost the same. They all take UPI, cards, net banking and wallets, they all charge roughly the same percentage, and they all promise a quick integration. The differences show up later: when a customer pays and the order doesn't appear, when a refund needs to go back to a UPI app, or when you want a subscription that renews on its own.
I've built checkouts on all three. The Rusan Healthcare store takes payments through Razorpay and CCAvenue. The Ideal Assets marketplace app runs Razorpay and Cashfree on Android. Kahani Play uses Cashfree, SabPaisa and UPI for subscriptions. So this isn't a feature-list comparison, it's what each one is like to live with.
Short version: Razorpay is the easiest place to start and has the best tools for developers. Cashfree is a strong second, especially if you also need payouts. CCAvenue makes sense when a bank, an older accounting setup or an international card mix pushes you there, but plan extra time for it.
The three side by side
| Razorpay | Cashfree | CCAvenue | |
|---|---|---|---|
| Standard fee, domestic | Around 2% per transaction plus GST | Around 1.9–2% plus GST | Around 2% plus GST, with older plans that have yearly fees |
| International cards | Supported, higher fee, needs activation | Supported, higher fee, needs activation | Strong, with many currencies, a long-standing reason people pick it |
| Checkout style | Pop-up checkout on your page, or a hosted page | Pop-up or hosted checkout, plus a drop-in component | Mostly a redirect to CCAvenue's page and back |
| Developer experience | Best of the three: clean docs, test mode, SDKs, webhooks | Good docs and SDKs, close to Razorpay | Older APIs and encrypted request strings, more trial and error |
| Subscriptions and autopay | Mature: plans, UPI Autopay, card mandates | Available, with UPI Autopay and eNACH | Possible, less smooth to build on |
| Payouts to vendors or users | Through RazorpayX | Cashfree Payouts, a big strength | Not its focus |
| Onboarding | Usually fast for a registered business | Usually fast | Can take longer, more paperwork |
Razorpay: the default for good reason
If someone asks me which gateway to start with, it's usually Razorpay. The checkout opens on top of your page, so the customer never feels like they've left your site. Test mode behaves like the real thing. The webhooks are reliable and well documented, and the dashboard is easy enough that a store owner can find a payment or issue a refund without calling me.
It's also the most complete for subscriptions. If you're selling a monthly plan, UPI Autopay and card mandates are built in, and I've written a separate guide on Razorpay subscriptions in a Flutter app. The downside is that it's popular, so its risk team can be cautious with new accounts in some categories, and occasionally holds settlements while it asks questions. Keep your website, policies and business documents in order before you apply.
Cashfree: close behind, and better at payouts
Cashfree feels a lot like Razorpay to build with, and its fees are often a touch lower. Where it really stands out is payouts: sending money out to sellers, delivery partners or users in bulk. On a marketplace like Ideal Assets, where money can flow both ways, that matters.
I often add Cashfree as a second gateway next to Razorpay. If one has an outage or declines a particular bank's cards, the other picks it up, and the customer just sees a working checkout. Two gateways means a bit more work and testing, but for a store with real volume it's cheap insurance.
CCAvenue: works, but plan for its quirks
CCAvenue is one of the oldest gateways in India, and it's still around because it supports a very wide range of payment options and international currencies, and some businesses already have an account through their bank or accountant. Rusan Healthcare used it alongside Razorpay for exactly that kind of reason.
The thing to know is that its standard checkout redirects the customer away to CCAvenue's page and then back to your site. That round trip is where orders go missing. On Rusan, if a customer took a while on the payment page and their session on the store expired, the redirect back could arrive with nothing to attach the payment to. The money was taken, but no order was created.
The fix was to save the order as a temporary backup in the database before sending the customer off to pay, with a fallback cache on top. When the payment comes back, the store finds that backup and completes the order, whether or not the session still exists. It's not glamorous work, but a paid order that never shows up is the worst thing a store can do to a customer.
What matters more than which gateway you pick
- Trust the webhook, not the redirect. The customer's browser can close, lose signal or time out. The gateway's server-to-server webhook is what should mark an order as paid. The redirect back to your site is just for showing a nice confirmation page.
- Make every payment event safe to receive twice. Gateways retry webhooks, and customers double-tap buttons. The order should be created once, no matter how many times the same payment ID arrives.
- Reconcile every day. A small job that compares the gateway's list of captured payments with your orders catches the rare mismatch before an angry email does.
- Reserve stock while someone is paying. On Rusan, stock is held while an order is being paid for, so two people can't buy the last unit at the same time.
- Plan refunds from the start. Partial refunds, refunds to UPI and refunds after a cancelled shipment should all be possible from your admin panel, not only from the gateway's dashboard.
What about payments inside an iPhone app?
If your app sells physical products or real-world services, Razorpay, Cashfree and CCAvenue all work in both the Android and iPhone apps. If it sells digital content or subscriptions used inside the app, Apple generally requires its own in-app purchase on iPhone. Kahani Play, for example, takes UPI and Cashfree on Android and Apple in-app purchase on iPhone, with one subscription system on the backend so a fan's plan works on both. The edtech app cost guide walks through how that split works in practice.
Which one I'd pick
- A new online store or a D2C brand: Razorpay. Add Cashfree as a backup once you have steady orders.
- A marketplace that pays sellers or partners: Razorpay or Cashfree for collecting, Cashfree Payouts or RazorpayX for paying out.
- Subscriptions on Android or the web: Razorpay, for its UPI Autopay and plan tools.
- Lots of international customers paying by card, or an existing bank arrangement: CCAvenue can be worth it. Build the order backup described above from day one.
- A Shopify store: pick from the gateways Shopify supports in India. Your developer's job there is setup, not code. See Shopify pricing in India for the extra fees.
Getting it built
Adding a gateway to a website or app is usually a few days of work, and a proper checkout with webhooks, refunds, reconciliation and a second gateway is one to two weeks. I build websites and stores, backends and Flutter apps with payments done properly. If your current checkout is losing orders, or you're choosing a gateway for something new, tell me what you're building.



