Payment Gateway Allocator For WHMCS

Payment Gateway Allocator For WHMCS

Developed By ModulesGarden

Compatible with WHMCS v8.10

ModulesGarden Payment Gateway Allocator For WHMCS is a vastly practical module that will automatically switch payment gateways available in the order form, depending on the location of your clients, their currency, or the amount to be paid.

You will be empowered to create various types of rules to limit the redirect and credit card payment gateways that your clients can choose from when placing the order. The module will let you define multiple invoice amount thresholds which, just like the selected countries and currencies, will determine the switching processes. Excluding certain clients as well as using the additional "Allowed" and "Blocked" options will help you tailor the allocation with even greater precision. Whenever needed, you will also be able to quickly copy the settings from one gateway to another.

Payment Gateway Allocator For WHMCS is a fine touch of personalization your business needs to stimulate core competitiveness and make your clients feel at home. Never miss an opportunity like this - get hold of the module right away!

Admin Area Features:

  • Set Switching Rules Per Payment Gateway And WHMCS Client Group
  • Set Default Redirect Payment Gateways
  • Set Default Credit Card Payment Gateways
  • Add New Switching Rules To Payment Gateway Depending On Clients':
    • Country
    • State
    • Currency
    • Invoice Amount Threshold
  • Switch Gateways Based On Allowed And Blocked Rule Types
  • Copy Rule Settings From One Gateway To Another
  • Exclude Chosen Clients From Gateway Switching Rules
  • Toggle Payment Gateways Module Usage Only - Hide All Other Payment Gateways
  • Toggle Limitation Of Payment Gateways Depending On Country And State
  • Toggle Fallback Plan To Display WHMCS Default Payment Gateways If No Switching Rules Are Met

Client Area Features:

  • Pay Through Personalized Payment Gateways Adjusted To Location, Currency And Order Amount
  • Change Payment Method Conveniently

General Info:

  • Supports All Redirect And Credit Card Payment Gateways
  • Supports Every Country, State, And Currency
  • Multi-Language Support
  • Supports PHP 8.1 Back To PHP 7.4
  • Supports WHMCS Themes "Six", "Twenty-One" And "Lagom WHMCS Client Theme"
  • Supports WHMCS V8.10 Back To WHMCS V8.8
  • Requires ionCube Loader V12 Or Later
  • Easy Module Upgrade To Open Source Version



5 stars
4 stars
3 stars
2 stars
1 star

Benjamin Biswas @benjamin5545

October 23, 2021 at 03:10:10 PM

You should make it simple to "Allow" or "Disallow" any country. For an example I only want to disallow "BD" for 2co gateway but all others country will be allowed. Now, what i need to do to get this done? I need to add all others country to 2co gateway except "BD" & there have no way to select all country by one click. It's huge time killing process. You can create a logic button after the country selection "Allow" or "Disallow" or "Allow all expect Selected One" or "Disallow all except Selected one". Also, if you able to add a function to restrict gateway by currency that will be great & total process will be simple to use. Thanks.

Joanna Byjoś @JoannaModulesGarden

December 10, 2021 at 10:22:07 AM (Edited)

UPDATE: I assume from the lack of your replies to my emails that you are swamped with work, but would greatly appreciate if you try to find some spare time to run another round of tests as literally every single feature suggested above is now available in our module. You won't be disappointed! :-)

  • 2 years ago
  • Version Number 1.1.17
  • Edited

Richard @richard1106

February 24, 2021 at 03:26:56 PM

Module didnt work for me as should, but got my license transfered to another module of theres..

Joanna Byjoś @JoannaModulesGarden

April 16, 2021 at 06:46:42 AM (Edited)

If only you had let us know where the problem lies or accepted our offer to look into the module's configuration just as proposed via ticket, I am entirely confident the product could match your needs. Still, I am glad we were able to find a satisfactory solution. We value your business and hope to retain you as our customer for many years to come.

  • 3 years ago
  • Version Number 1.1.14
  • Edited

Edison Jackson @edisoncarl9422

August 7, 2020 at 09:41:56 PM

This is by far the best plugin of its kind! This plugin didn't let me see those bad compatibility issues. This plugin is not cheap, but I read the update log and it is still a good deal. I suggest adding the function that can distribute the gateway by identifying the invoice amount.

  • 3 years ago
  • Version Number 1.1.12

Luma @luma9853

February 6, 2020 at 09:28:13 AM

Thank you very much for this great module. The only thing I could complain about is the relatively slow support.

  • 4 years ago
  • Version Number 1.1.10

Nghia Than @itvietnam

January 14, 2019 at 04:32:55 PM

This is the best quality module that allows you to easily control what payment gateways your clients see according to where they are from. The list of available payment gateways is automatically adjusted during the order placing, works like a charm!

  • 5 years ago
  • Version Number 1.1.7

Sanket Rathod @Sanket

February 8, 2018 at 03:19:40 AM

Was looking for a payment gateway module to set country specific payment gateways, as always Modules Garden team has amazing quality product which is best.

  • 6 years ago
  • Version Number 1.1.6

Version Compatibility

Compatible with WHMCS v8.10

Full Version Compatibility

  • Selected versions of WHMCS v8.10
  • Selected versions of WHMCS v8.9
  • Selected versions of WHMCS v8.8

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 ModulesGarden


v1.3.2 Released May 14th, 2024

Latest Version

  • Removed: Support for WHMCS V8.7 and previous
  • Bug Fix: Fixed redirection loop on the invoice view that could occur when the WHMCS "Clients Choose Gateway" option was disabled - case #131


Previous Versions

v1.3.1 Released March 26th, 2024

View/hide detailed changelog

  • New Feature: WHMCS V8.9 support
  • Bug Fix: Solved specific case where the list of gateway switching rules was empty although there were some rules created - case #128
  • Bug Fix: Fixed problems with incorrect display of payment gateways that should be hidden when the "Fallback Plan" was disabled in the gateway settings - case #129, #130


v1.3.0 Released November 15th, 2023

View/hide detailed changelog

  • New Feature: WHMCS V8.8 support
  • New Feature: Define the payment gateway switching rules for WHMCS client groups
  • New Feature: Enable the "Fallback Plan" to display all available payment gateways set in the product groups if none of the gateway switching rules is met
  • Improvement: Payment gateways will now be dynamically switched to meet the rules if the country in the billing address details has been changed - case #71
  • Improvement: Payment gateways of the "bank transfer" type will now be taken into account when applying the switching rules - case #104
  • Improvement: The customer email address will now be visible on the excluded clients list
  • Improvement: The country full name will now be displayed on the excluded countries list instead of the country code
  • Improvement: Enhanced search option for adding excluded clients
  • Removed: Support for WHMCS V8.5 and previous
  • Removed: Support for PHP 7.3 version
  • Bug Fix: Certain corrections related to credit card payment capture
  • Bug Fix: Available payment gateways will now be properly updated when a guest client logs into the existing customer account during checkout
  • Bug Fix: When the "Module Gateway Only" option is enabled, the available payment gateways will now be properly taken into account when providing a new payment method from the client profile - case #65
  • Bug Fix: Changing language in the client area will no longer have an impact on the module's language in the admin area - case #96
  • Bug Fix: Other minor code corrections, language and UI adjustments


v1.2.2 Released November 23rd, 2022

View/hide detailed changelog

  • New Feature: WHMCS V8.6 support
  • New Feature: Support for PHP 8.1 version
  • Changed: Requires ionCube Loader V12 or later
  • Removed: Support for WHMCS V8.2 and previous
  • Removed: Support for PHP 7.2 version
  • Bug Fix: A critical error that could appear when trying to edit or add another payment method from the client account details has been fixed - case #97


v1.2.1 Released July 1st, 2022

View/hide detailed changelog

  • New Feature: WHMCS V8.5 support
  • Improvement: Added support for Lagom Client Theme - case #51
  • Removed: Support for WHMCS V8.1 and previous
  • Bug Fix: Resolved problem where all payment gateways could be selected on the invoice view when the invoice threshold was enabled in the gateway settings - case #91
  • Bug Fix: Solved issue with no available payment gateways that could occur when opening the invoice for the first time - case #91
  • Bug Fix: Fixed "Call to a member function getValue() on string" error that might occur on checkout - case #92
  • Bug Fix: Eliminated "PaymentGatewayAllocator returned an invalid client area output response type" errors that could be recorded in WHMCS "Activity Logs" - case #95


v1.2.0 Released February 24th, 2022

View/hide detailed changelog

  • New Feature: WHMCS V8.4 support
  • New Feature: Switch gateways based on the set up invoice amount thresholds
  • New Feature: Restrict gateways switching rules based on the clients' currencies
  • New Feature: Select between "Allowed" and "Blocked" types of added switching rules per gateway - case #72
  • New Feature: Quickly copy a single gateway rule settings to another gateway
  • New Feature: Exclude listed clients from created gateway switching rules
  • Removed: Support for WHMCS V8.0 and previous
  • Bug Fix: Resolved problem where non-logged in client might not be able to proceed order with the required domain
  • Bug Fix: Switching rules will now be properly recognized on unpaid invoices with the "Twenty-One" theme - case #89
  • Bug Fix: Other minor code corrections


v1.1.17 Released September 24th, 2021

View/hide detailed changelog

  • New Feature: WHMCS V8.3 support
  • Bug Fix: Minor code corrections


v1.1.16 Released August 2nd, 2021

View/hide detailed changelog

  • New Feature: WHMCS V8.2 and "Twenty-One" theme support
  • Removed: Support for WHMCS V7.10 and previous
  • Removed: Support for PHP 7.1 version
  • Bug Fix: Minor code corrections


v1.1.15 Released April 23rd, 2021

View/hide detailed changelog

  • New Feature: WHMCS V8.1 support
  • Removed: Support for WHMCS V7.9 and previous
  • Bug Fix: "Array" text will no longer be displayed at the top of the client area if the module is not configured yet - case #64
  • Bug Fix: The first payment gateway will be now, by default, chosen on checkout, instead of the last one - case #63
  • Bug Fix: Assorted fixes related to compatibility with "Lagom" theme


v1.1.14 Released January 5th, 2021

View/hide detailed changelog

  • Improvement: Added validation for the module gateway settings that at least one of the options needs to be selected - case #55
  • Bug Fix: Resolved compatibility issues with the DNS Manager For WHMCS module
  • Bug Fix: Fixed certain issue that might have occurred on the checkout page
  • Bug Fix: Other minor code corrections


v1.1.13 Released September 18th, 2020

View/hide detailed changelog

  • New Feature: WHMCS V8.0 and PHP 7.4 support
  • Removed: Support for PHP 7.0 and previous
  • Removed: Support for WHMCS V7.8 and previous


v1.1.12 Released June 2nd, 2020

View/hide detailed changelog

  • Bug Fix: Fixed problem with missing payment gateway rules that were not applied for payments methods in products' "Upgrade/Downgrade" section in the client area - case #50


v1.1.11 Released April 14th, 2020

View/hide detailed changelog

  • New Feature: WHMCS V7.10 support
  • Removed: Support for WHMCS V7.7 and previous


v1.1.10 Released January 21st, 2020

View/hide detailed changelog

  • New Feature: WHMCS V7.9 support
  • Removed: Support for WHMCS V7.6 and previous
  • Bug Fix: Resolved problem with using built-in WHMCS search engine in the admin area when the module's page was opened
  • Bug Fix: Corrected errors that might have occurred in the browser's developer console


v1.1.9 Released July 2nd, 2019

View/hide detailed changelog

  • Removed: Support for WHMCS V7.4 and previous
  • Bug Fix: Fixed problem that might have caused the "Cannot redeclare pgpc_cc_config()" error
  • Bug Fix: Resolved problems related to the iCheck plugin
  • Bug Fix: Corrected reloading on any state changes in the order form


v1.1.8 Released March 1st, 2019

View/hide detailed changelog

  • New Feature: WHMCS V7.7 and PHP 7.3 support
  • Removed: Support for WHMCS V7.3 and previous
  • Bug Fix: Gateway switching rules will now be also properly applied into the "Add Funds" form - case #43
  • Bug Fix: Minor corrections related to switching gateways on the order form


v1.1.7 Released April 13th, 2018

View/hide detailed changelog

  • New Feature: WHMCS V7.5 support
  • New Feature: PHP 7.1 and 7.2 support
  • Bug Fix: Resolved fatal error occurring at the checkout in case the payment gateway was deactivated in WHMCS without removing the corresponding rules from the module


v1.1.6 Released December 18th, 2017

View/hide detailed changelog

  • New Feature: WHMCS V7.3 and V7.4 support
  • Bug Fix: Corrected relations removal upon the gateway deactivation which may have caused troubles with the countries re-addition
  • Bug Fix: Resolved problems with payments that might have occurred after deactivating one of gateways
  • Bug Fix: Minor corrections to the rules editor


v1.1.5 Released June 9th, 2017

View/hide detailed changelog

  • New Feature: WHMCS V7.2 support
  • Improvement: Enhanced compatibility of hooks with other modules
  • Improvement: Adjusted creation of switching rules


v1.1.4 Released January 19th, 2017

View/hide detailed changelog

  • Bug Fix: Corrected payment gateways handling on existing invoices


v1.1.3 Released November 7th, 2016

View/hide detailed changelog

  • New Feature: PHP 7 support
  • Changed: Allow setting rules for 'Bank Transfer' and 'Mail In Payment' payment gateways


v1.1.2 Released October 12th, 2016

View/hide detailed changelog

  • New Feature: WHMCS V7 support


v1.1.1 Released August 25th, 2016

View/hide detailed changelog

  • Changed: Rebranded from 'Payment Gateway Switcher For WHMCS' to 'Payment Gateway Allocator For WHMCS'
  • Improvement: Minor optimizations


v1.1.0 Released April 27th, 2016

View/hide detailed changelog

  • New Feature: Limit available payment gateways depending on country and state
  • Improvement: New admin area user interface
  • Bug Fix: Minor tweaks and improvements


See also

WHMCS Bitcoin Payments

Accept Bitcoin payments on your website

Accept Bitcoin and cryptocurrency payments - CoinGate for WHMCS

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

Coinbase Commerce

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

Gateway Fees for WHMCS

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

PayTR Virtual Pos iFrame API

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