Razorpay Payment Gateway for WHMCS

Razorpay Payment Gateway for WHMCS

Developed By Ucartz

Compatible with WHMCS v9.0

Razorpay Payment Gateway for WHMCS

Accept Razorpay payments directly through WHMCS with a modern, reliable payment gateway module built for current WHMCS and PHP environments.

The Ucartz Razorpay WHMCS module is a rebuilt and improved version of the original Razorpay WHMCS integration. It addresses several long-standing issues around payment verification, partial payments, stale orders, refunds, webhooks, and transaction reconciliation.

Key Features

  • WHMCS 9 compatible and tested with PHP 8.2 and 8.3
  • Razorpay Standard Checkout using the current checkout integration approach
  • Accurate payment processing based on the actual amount captured by Razorpay
  • Supports partial payments and late-fee payments without incorrectly crediting the full invoice amount
  • Secure payment verification using Razorpay order ID, payment ID, and signature
  • Duplicate transaction protection to prevent the same payment from being processed multiple times
  • Automatic Razorpay order management when invoice amounts change
  • Refund support directly from the WHMCS admin area
  • Configurable normal or instant refunds
  • Webhook support for payment and dispute events
  • Chargeback/dispute handling, including automatic payment reversal when a dispute is lost
  • Records the actual Razorpay gateway fee for better transaction and settlement reconciliation
  • Improved handling of PHP 8.x compatibility issues and deprecations
  • Uses modern WHMCS database APIs instead of deprecated database functions
  • Hardened signature verification and input handling
  • Open source and released under the MIT License

Why use this module?

Payment gateway integrations need to correctly handle more than just a successful checkout. Partial payments, invoice changes, refunds, duplicate callbacks, webhooks, chargebacks, and gateway fees can all affect the final invoice balance.

This module is designed to keep Razorpay and WHMCS transaction records synchronized throughout the complete payment lifecycle, while avoiding several problems found in older implementations.

The module has been tested with real WHMCS installations and different payment scenarios, including standard payments, partial payments, late fees, refunds, and webhook events.

Developed and maintained by Ucartz.

 

There are no reviews yet!

Be the first to review Razorpay Payment Gateway for WHMCS.

Version Compatibility


Compatible with WHMCS v9.0

Full Version Compatibility


  • All versions of WHMCS v9.0
  • All versions of WHMCS v8.13
  • All versions of WHMCS v8.12
  • All versions of WHMCS v8.11
  • Selected versions of WHMCS v8.10
        8.10.0
  • Selected versions of WHMCS v8.9
        8.9.0
  • Selected versions of WHMCS v8.8
        8.8.0
  • All versions of WHMCS v8.7
  • All versions of WHMCS v8.6
  • All versions of WHMCS v8.5
  • All versions of WHMCS v8.4
  • All versions of WHMCS v8.3
  • All versions of WHMCS v8.2
  • All versions of WHMCS v8.1
  • All versions of WHMCS v8.0
  • Selected versions of WHMCS v7.10
        7.10.3

Support for this product

The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.

Developed By Ucartz

Changelog

v1.1.01 Released August 17th, 2026

Latest Version


  • Added full compatibility with WHMCS 9 and PHP 8.2–8.3.
  • Rebuilt the Razorpay checkout integration using the current Razorpay Standard Checkout flow.
  • Fixed payment failures caused by deprecated PHP/MySQL functions and outdated database queries.
  • Fixed incorrect invoice crediting for partial payments and late-fee payments by using the actual amount captured by Razorpay.
  • Fixed stale Razorpay order reuse when invoice balances change.
  • Added secure payment signature verification using the Razorpay payment ID, order ID, and signature.
  • Added duplicate transaction protection for callbacks and webhooks.
  • Added refund support from the WHMCS admin area, including normal and instant refund options.
  • Added Razorpay gateway fee tracking, including applicable taxes, for accurate transaction reconciliation.
  • Added chargeback and dispute webhook handling, including automatic payment reversal when a dispute is lost.
  • Updated the bundled Razorpay PHP SDK and fixed outdated TLS configuration.
  • Fixed checkout amount rounding and Razorpay receipt/currency validation issues.
  • Fixed broken redirect URLs and several PHP 8.x warnings/deprecation issues.
  • Improved input escaping and security handling for checkout data.
  • Fixed incorrect payment method recording in WHMCS transaction records.
  • Added improved database-backed Razorpay order tracking and safer fallback handling.

 

See also

WHMCS Bitcoin Payments

Accept Bitcoin payments on your website

Free
Accept Bitcoin and cryptocurrency payments - CoinGate for WHMCS

Easily accept Bitcoin, Tether, Ethereum and many other crypto payments on your WHMCS website

Free
Coinbase Commerce

No Fees, Easy Setup. Accept cryptocurrencies like: Bitcoin, Bitcoin Cash, Ethereum and Litecoin!

Free
PayTR Virtual Pos iFrame API

Open your web site to shopping with the advantages of PayTR. Take your payments securely.

Free
Gateway Fees for WHMCS

With this WHMCS module, you'll get the payment gateway fees from your clients directly.

Free