Integrate WHMCS and Payjunction

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

Payjunction and WHMCS Integration Guide

For PayJunction Integration, you will need the following credentials: Terminal ID and Unique Application Key

You can find Terminal ID by login to your PayJunction account

At the bottom of the left menu, click on the icon More

Click Users

Select appropriate Admin User

Terminal ID for your merchant account is noted in the far-right column labeled ID.

You will receive Unique Application Key by email, after submitting request on this online form.

After your request has been approved you will receive both a Labs (Testing) Application Key and a Production (Live) Application Key.

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

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

To integrate Payjunction 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.


  • 4444 3333 2222 1111
  • 4111 1111 1111 1111
  • 4242 4242 4242 4242


  • 5105 1051 0510 5100
  • 5555 5555 5555 4444
  • 2223 0000 4840 0011


  • 3714 496353 98431
  • 3434 343434 34343
  • 3782 822463 10005


  • 6011 1111 1111 1117
  • 6011 0004 0000 0000
  • 6011 0009 9013 9424

Diner Club:

  • 3614 890064 7913
  • 3670 010200 0000
  • 3056 930902 5904


  • 3566 1111 1111 1113
  • 3528 0007 0000 0000
  • 3530 1113 3330 0000

Test Expiration Date: 01/22

Test CCV :  999 [or 9999 if Amex] (If your settings are checking for CCV)

Test Address: 1903 (If your settings are checking for Address)

Zip Code: 93101 (If your settings are checking for Zip Code)

Payjunction Supported Countries

Payjunction 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 Payjunction and other +100 payment gateways with WHMCS and other dozen of e-commerce platforms.

About Payjunction

PayJunction was founded in 2000 with a vision of making payment processing easier, more secure, and more effective. PayJunction provides transaction processing services for tens of thousands of businesses that process in excess of a billion dollars annually.


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.