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

    • 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

    • 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
Read More



Released: May 14th, 2024
  • 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


Released: Mar 26th, 2024
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
  • 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


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


Released: Nov 23rd, 2022
New Feature
  • WHMCS V8.6 support
  • Support for PHP 8.1 version
  • Requires ionCube Loader V12 or later
  • Support for WHMCS V8.2 and previous
  • 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


Released: Jul 1st, 2022
New Feature
  • WHMCS V8.5 support
  • Added support for Lagom Client Theme - case #51
  • 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
  • Solved issue with no available payment gateways that could occur when opening the invoice for the first time - case #91
  • Fixed "Call to a member function getValue() on string" error that might occur on checkout - case #92
  • Eliminated "PaymentGatewayAllocator returned an invalid client area output response type" errors that could be recorded in WHMCS "Activity Logs" - case #95


Released: Feb 24th, 2022
New Feature
  • WHMCS V8.4 support
  • Switch gateways based on the set up invoice amount thresholds
  • Restrict gateways switching rules based on the clients' currencies
  • Select between "Allowed" and "Blocked" types of added switching rules per gateway - case #72
  • Quickly copy a single gateway rule settings to another gateway
  • Exclude listed clients from created gateway switching rules
  • 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
  • Switching rules will now be properly recognized on unpaid invoices with the "Twenty-One" theme - case #89
  • Other minor code corrections


Released: Sep 24th, 2021
New Feature
  • WHMCS V8.3 support
Bug Fix
  • Minor code corrections


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


Released: Apr 23rd, 2021
New Feature
  • WHMCS V8.1 support
  • 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
  • The first payment gateway will be now, by default, chosen on checkout, instead of the last one - case #63
  • Assorted fixes related to compatibility with "Lagom" theme


Released: Jan 5th, 2021
  • 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
  • Fixed certain issue that might have occurred on the checkout page
  • Other minor code corrections


Released: Sep 18th, 2020
New Feature
  • WHMCS V8.0 and PHP 7.4 support
  • Support for PHP 7.0 and previous
  • Support for WHMCS V7.8 and previous


Released: Jun 2nd, 2020
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


Released: Apr 14th, 2020
New Feature
  • WHMCS V7.10 support
  • Support for WHMCS V7.7 and previous


Released: Jan 21st, 2020
New Feature
  • WHMCS V7.9 support
  • 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
  • Corrected errors that might have occurred in the browser's developer console


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


Released: Mar 1st, 2019
New Feature
  • WHMCS V7.7 and PHP 7.3 support
  • 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
  • Minor corrections related to switching gateways on the order form


Released: Apr 13th, 2018
New Feature
  • WHMCS V7.5 support
  • 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


Released: Dec 18th, 2017
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
  • Resolved problems with payments that might have occurred after deactivating one of gateways
  • Minor corrections to the rules editor


Released: Jun 9th, 2017
New Feature
  • WHMCS V7.2 support
  • Enhanced compatibility of hooks with other modules
  • Adjusted creation of switching rules


Released: Jan 19th, 2017
Bug Fix
  • Corrected payment gateways handling on existing invoices


Released: Nov 7th, 2016
New Feature
  • PHP 7 support
  • Allow setting rules for 'Bank Transfer' and 'Mail In Payment' payment gateways


Released: Oct 12th, 2016
New Feature
  • WHMCS V7 support


Released: Aug 25th, 2016
  • Rebranded from 'Payment Gateway Switcher For WHMCS' to 'Payment Gateway Allocator For WHMCS'
  • Minor optimizations


Released: Apr 27th, 2016
New Feature
  • Limit available payment gateways depending on country and state
  • New admin area user interface
Bug Fix
  • Minor tweaks and improvements


Released: Sep 28th, 2015
  • WHMCS V6 support


Released: Sep 10th, 2014
  • Stable Release
Read More


  • 3 years ago
    After searching a lot for a plugin which can do this, finally found it and been using it from over 3 yrs, works perfectly, just they should add bulk country selection and removal option, coz adding one by one consumes a lot of time during setup, apart from that it does the job perfectly.
  • 3 years ago
    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.
Read More

See Also

Quotes Automation For WHMCS Icon
Quotes Automation
$99.95 $74.96/yr

Quotes Automation For WHMCS

Chosen by 334 customers

Welcome the chance of automatic order placing and invoice creation directly from a quote page, prepare multiple templates for quotes, handle included products and more.

$99.95 $74.96/yr
Discount Center For WHMCS Icon
Discount Center
$149.95 $112.46/yr

Discount Center For WHMCS

Chosen by 629 customers

Offer one-time and recurring discounts for orders of specified products combinations or quantities, formulate discount rules and time frames plus view detailed summaries.

$149.95 $112.46/yr
Advanced Billing For WHMCS Icon
Advanced Billing
$199.95 $149.96/yr

Advanced Billing For WHMCS

Chosen by 746 customers

Extend billing models and customize invoice delivery to charge your clients for actual server resource usage, opened tickets, each hour of product use and more.

$199.95 $149.96/yr
Client Area Designer For WHMCS Icon
Client Area Designer
$99.95 $74.96/yr

Client Area Designer For WHMCS

Chosen by 390 customers

Customize the layout of your client area: adjust the order of basic elements, tailor the details of panels and homepage widgets, add slideshows and other components.

$99.95 $74.96/yr