24/7 local support available.
Guides / Ecommerce
Ecommerce

Accepting UPI in WooCommerce: Razorpay setup for Indian shops

October 14, 2026 • 3 min read • HostBible Team

To accept UPI in WooCommerce, add an Indian payment gateway plugin, connect it with live API keys and test a real payment. Razorpay's plugin supports UPI, cards, netbanking and wallets, and its pricing page states a 2% platform fee plus GST.

Can WooCommerce take UPI payments in India?

Yes, through a payment gateway plugin rather than WooCommerce itself. WooCommerce does not process payments, so UPI, cards and netbanking come from an Indian gateway such as Razorpay, whose WooCommerce plugin lists UPI, cards, netbanking and wallets among its supported methods. You install the plugin, connect your gateway account with API keys, and the methods you enable appear at checkout.

UPI is the NPCI-run payment system, and offering it is a common expectation at Indian checkouts. This guide covers the setup path and the checks to make. The wider comparison of gateways worldwide is in our WooCommerce payment gateways guide, and this article stays on India.

What does a gateway like Razorpay charge?

As of October 2026, Razorpay's pricing page shows a platform fee of 2% per successful domestic transaction for cards, netbanking and UPI, with 18% GST charged on that fee. For UPI it describes the 2% as a platform fee on top of zero merchant discount rate, MDR meaning the merchant discount rate. Corporate and business credit cards were shown at 2.15%. Setup, annual maintenance, refund processing and integration fees were all shown as Rs 0.

Gateway pricing changes, can vary with your business category, and negotiated rates exist for higher volumes, so read the current rate card before you decide. This guide covers Razorpay only and does not compare other gateways such as Cashfree, PayU or CCAvenue. Whatever gateway you choose, ask four questions: the fee per method, whether GST is added, how many days settlement takes, and what happens on a refund or chargeback. Your accountant should confirm how gateway fees and GST sit in your books, and our GST for online sellers guide covers the shop side.

How do you set up the Razorpay plugin in WooCommerce?

Razorpay's documentation lists prerequisites: WordPress 3.9.2 or later, WooCommerce 4.0 or later, PHP 7.0 or later and the PHP cURL extension. Modern hosting meets these easily, but check the PHP version in your control panel, as our WooCommerce hosting requirements guide explains.

Create and activate your gateway account, install the plugin from the WordPress dashboard, and generate API keys from the gateway dashboard. The documentation says to generate Live Mode keys and replace them in the integration before you accept real payments. Follow the current plugin instructions for test mode and webhooks rather than any screenshot copied from a blog.

Then run a full test: add a product to the cart, pay through UPI on your phone, and confirm the order moves to the right status in WooCommerce. Try a failed payment and a refund too. Many problems appear only when the customer leaves for a UPI app and comes back.

What should the checkout page do to protect conversions?

Offer UPI near the top, keep the number of form fields down and make sure the page loads quickly on mobile data. Customers who switch to a UPI app and return expect to see their order confirmation, so test on both Android and iPhone. Our checkout optimisation guide has the general fixes.

Your shop also needs a valid SSL certificate on every page. A payment page that shows a browser warning loses sales immediately. See WooCommerce SSL setup for the steps.

What about recurring payments and subscriptions?

One-off UPI payments and recurring payments are different. Razorpay's plugin documentation mentions subscriptions support and says the WooCommerce Subscriptions plugin must already be installed for that feature. Limits on recurring UPI mandates are set by NPCI and RBI and change over time, so check the gateway's current documentation and the regulators' wording before promising customers a subscription. Our guide to WooCommerce subscriptions covers the plugin side.

This is general information, not financial or legal advice. Confirm fees, settlement and compliance with your gateway and your accountant.

Related guides

Sources and further reading

Setting up your online shop?

HostBible's WordPress hosting includes free SSL and LiteSpeed servers, and our team migrates an existing store for free.

See WordPress hosting