- Ensure you have the latest version of WHMCS installed.
- Download the Source code zip file of the required version of the plugin from the Releases section.
- Unzip and upload the contents of the repository to your WHMCS Installation directory, i.e., the content of module folder from the repository goes in module folder in your WHMCS Installation directory.
- Log into your site as the WHMCS administrator. This is done by adding
/adminto the URL where you have installed WHMCS, for example,
- Navigate to Setup → Payments → Payment Gateways.
- Select Razorpay in the dropdown and Activate it.
- Enter the <key_id> and <key_secret>. You can generate these from your Dashboard.
- Set Convert for Processing to INR if your store has a different default currency. In this case, ensure you update the exchange rate in your currency management settings.
- Click Save Changes.
WHMCS is an all-in-one client management, billing & support solution for online businesses.
Integrating your WHMCS store with Razorpay allows you to accept payments on your WHMCS store via the Razorpay Payment Gateway. You can accept payments via debit card, credit card, netbanking (supports 3D Secure), UPI or through any of our supported wallets.
The integration offers seamless integration, allowing the customer to pay on your website without being redirected. This allows the integration to work across all browsers and ensures compatibility with the latest version of WHMCS.
Currently, we have separate versions of the integration to support the following versions of WHMCS:
- WHMCS 5
- WHMCS 6 or WHMCS 7
- Log into your Dashboard with appropriate credentials.
- Select the mode (Test or Live) for which you want to generate the API key.
You have to generate separate API Keys for the test and live modes. No money is deducted from your account in test mode.
- Navigate to Settings → API Keys → Generate Key to generate key for the selected mode.
Key Id and
Key Secret appear in a pop-out window as shown below:
After generating the keys from the Dashboard download and save them securely. If you do not remember your API Keys, you need to re-generate it from the Dashboard and replace it wherever required.
The Razorpay WHMCS integration is released under the MIT License.