
Razorpay, PhonePe & Paytm Payments for OpenCart 2.3, 3.x and 4.x — UPI, cards and netbanking in India
Payments through Razorpay, PhonePe or Paytm in OpenCart: UPI, cards, netbanking and wallets on the gateway page, and the order is confirmed only after the gateway API answers. Pro: up to three gateways at checkout, refunds, a journal and a watchdog. Lifetime licence.
- Compatibility
- OpenCart 4.0.2.0–4.1.0.3, 3.0.x, 2.3.0.2 · languages: English, Hindi (storefront)
- Version
-
v1.0.0 (OpenCart 4)
v1.0.0 (OpenCart 3.x)
v1.0.0 (OpenCart 2.3) - Licence
- a site + a staging copy, lifetime
- Trial
- 7 days, no card, one per site
- Updated
- November 2026
What Free has,
and what Pro adds
The free version works with no time limit. Pro adds the rest of the features in the table.
Key points
What the buyer sees
At the payment step the buyer sees the “UPI, cards, netbanking” method with the gateway name.
What the admin gets
In the module settings you pick the main gateway, enter the test and live keys, the webhook address for the gateway dashboard and the order statuses.
How much it costs
The base version is free. Pro costs 1 290 UAH, a one-time payment for a lifetime licence.

The trial starts when you ask
A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy
Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.
Technical requirements
OpenCart 4.0.2.0–4.1.0.3, 3.0.x or 2.3.0.2.
A merchant account at Razorpay, PhonePe or Paytm with API keys.
INR in the shop or a rupee rate in OpenCart.
The site on HTTPS and reachable from the internet: the gateways send webhooks there.
Version history
For OpenCart 4.x, 3.x and 2.3: Razorpay, PhonePe and Paytm, every payment checked with the API, webhooks; Pro adds three gateways at checkout, refunds, a journal and a watchdog.
Frequently bought with Razorpay, PhonePe & Paytm Payments


Cart Discounts (Amount-Based and N+1) for OpenCart

CatCode SEO Pack — SEO Module for OpenCart 2.3, 3.x and 4.x

AI Product Descriptions for OpenCart 2.3, 3.x and 4.x — description generator
Full module description
Razorpay, PhonePe & Paytm Payments is a payment module for OpenCart 4.x, 3.x and 2.3 that connects the Indian gateways Razorpay, PhonePe and Paytm with your own accounts. The buyer pays on the gateway page by UPI, card, netbanking or wallet, and the OpenCart order is confirmed only when the module has read the payment from the gateway API and checked the amount.
It is one OpenCart payment method with the gateway chosen inside it, so two gateways on one checkout never clash. The free version runs one main gateway, Pro runs up to three side by side.
What the buyer sees
At the payment step the buyer sees the “UPI, cards, netbanking” method with the gateway name. In Pro, with several gateways on, a choice appears under the method: Razorpay, PhonePe or Paytm. Then the buyer goes to the payment page: Razorpay opens its payment window, PhonePe and Paytm take the buyer to their own page.
If the shop runs in dollars or another currency, the buyer sees the amount in rupees at the OpenCart rate. If the payment fails, the buyer sees “The payment did not go through. You can try again.” with a button to pay again, and the order is not confirmed.
What the admin gets
In the module settings you pick the main gateway, enter the test and live keys, the webhook address for the gateway dashboard and the order statuses. The “Check connection” button checks the keys of all three gateways and shows the result right in the settings.
In Pro the order page has a module tab: re-check the payment at the gateway, make a full or partial refund. The payment journal lists every attempt: gateway, amount, gateway payment ID, refunds and the order state. The watchdog checks payments the buyer did not finish on the site, run by cron.
How it works, step by step
- Pick the main gateway and enter the test keys.
- Copy the webhook address to the gateway dashboard.
- The buyer places the order and goes to the payment page.
- The gateway takes UPI, a card or netbanking.
- The module reads the payment from the gateway API and checks the amount and currency.
- Only then the order gets its paid status, with the payment ID in the history.
Under the hood
- Razorpay: Orders API and Standard Checkout, HMAC signature, the payment is read from the order’s payment list.
- PhonePe: PG Standard Checkout v2, the OAuth token is cached until it expires.
- Paytm: initiateTransaction and an auto-submitted form, the checksum follows the official Paytm library.
- None of the three gateways lets a shop close an unpaid payment, so a late payment is never lost: the module takes it into the order or flags it for review.
- A webhook with a secret and a wrong signature is refused, and the decision always rests on the API answer.
- Keys are never written to the log.
How to install
- Extensions → Installer: upload the archive for your version and keep the file name.
- OpenCart 2.3: the Installer copies files only with FTP enabled. Without FTP copy the contents of upload/ to the shop root by hand.
- OpenCart 2.3 and 3.x: Extensions → Modifications → Refresh.
- Extensions → Payments → Razorpay, PhonePe & Paytm Payments → install button → Edit.
- Extensions → Payments → Razorpay, PhonePe & Paytm: pick the main gateway and keep test mode.
- Paste the keys, copy the webhook address to the gateway dashboard, press “Check connection”.
- Make a test payment, then switch to live mode.
- For Pro: paste the key or start the 7-day trial.
Questions
about the module
Didn't find the answer? Message us on Telegram and we'll reply within a business day.
Can I run Razorpay and PhonePe together?
In Pro, yes: up to three gateways and the buyer picks. The free version runs one main gateway.
My shop is in dollars. Does it work?
Yes, if OpenCart has a rupee rate: the buyer pays in rupees at that rate. You can also hide the method for other currencies.
What if the buyer closes the page after paying?
The gateway webhook confirms the order. In Pro the watchdog checks such payments too.
What happens after the trial?
Pro switches off and the main gateway keeps working.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
Not quite what you are looking for?
We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.
Order a custom module
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.



















