Integrate WHMCS and Propay

Trexle connects WHMCS to Propay and 100+ other payment gateways using a single plugin for one time annual fee

Propay and WHMCS Integration Guide

To add a ProPay gateway, you need to supply a cert_str and account_num that corresponds to a merchant in your ProPay account.

ProPay supports merchant processing needs by offering both tokenized and non-tokenized approach to accepting credit and debit card payments. ProPay’s ProtectPay tokenization service is recommended for most merchants because it enables processing without the need for sensitive data to touch the merchant’s own network. Using ProtectPay helps merchants maintain compliance with the PCI data security standard, and allows them to focus on growing a business while ProPay helps to protect sensitive data.

For merchants who are comfortable managing their own data security, and who can validate their own PCI compliance, ProPay provides a simpler API-only option to accept credit and debit cards. You will need to generate a new account for each of your merchants before you can transact against ProPay. See section 4.1 of the ProPay API guide for details on creating new accounts. Note that Trexle does not support creating accounts in ProPay via our API. Once you’ve created an account, you can supply your account_num  and cert_str  as the username and password in your Trexle dashboard Payments Gateways tab.

Then activate as normal..

Take the credentials you just obtained from Propay and navigate to Trexle dashboard, click Payments Gateways and select Propay from the drop down menu as shown below.

Fill into your Propay credential and click Add Gateway. Click the Activate button next to Propay, and it will give you a success message and the button will turn into green. You should see something like below.

To integrate Propay and WHMCS you need Trexle API keys

How to install Trexle extension to WHMCS

  1. Download Trexle extension from Trexle- WHMCS Github repository or from WHMCS Marketplace.

  1. Use your cPanel file manager or ftp to upload the downloaded extension to the modules/addons folder of your WHMCS installation


  1. Go to your WHMCS admin panel Addons section

  1. Click on Your Addons link in the left menu, and you will see your newly uploaded Trexle extension .

  1. Click on the Activate link to the right side of the newly uploaded Trexle addon

You have successfully added Trexle extension to your WHMCS.

Create a test product, logout from your admin session and test the checkout as a regular customer.

Use the following card numbers for testing purposes.

Card Number Card Brand Simulated Response
 4747474747474747  Visa  Success
 4111111111111111  Visa  Success
 5454545454545454  MasterCard  Success
 2221000000000009  MasterCard  Success
 371449635398431  American Express  Success
 6011000000000012  Discover  Success
 355355335533553  JCB  Success
 4404040404040404  Visa  Invalid credit card number as reported by issuing bank
 4909090909090909  Visa  Credit card issuer’s bank timed out; Please attempt this transaction again
4828282828282828  Visa  Card limit exceeded
4616161616161616  Visa   Insufficient funds
4535353535353535  Visa  Invalid credit card number; Credit card networks cannot locate this card’s issuing bank


Propay Supported Countries

Propay Supported Payment Processing Actions

✔ Purchase
✔ Authorize
✔ Capture
✔ Void
✔ Credit
✔ Recurring
✔ Card Store

Key Features

Credit Card Vault: securely store your customers sensitive credit card data using tokens.
Instant PCI-DSS Compliance: your customers credit card data never touches your site or server.
Multiple Gateway Support: Connect your WHMCS site to 100+ payment gateway

About Trexle

Trexle is a powerful online recurring subscription billing platform that integrate Propay and other +100 payment gateways with WHMCS and other dozen of e-commerce platforms.

About Propay

Propay - a subsidiary of TSYS - offers simple, secure and affordable payment processing solutions enabling business growth while offering customers choices they have come to expect when making a purchase. Total System Services -
commonly referred to as TSYS - is a United States credit card processor, merchant acquirer and bank credit card issuer.


WHMCS is the leading web hosting management and billing software that automates all aspects of your business from billing, provisioning, domain reselling, support, and more. WHMCS easily integrates with all the leading control panels, payment processors, domain registrars and cloud service providers.