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 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
  • 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.3
    • Supports WHMCS Themes "Six", "Twenty-One" And "Lagom WHMCS Client Theme"
    • Supports WHMCS V8.7 Back To WHMCS V8.3
    • Requires ionCube Loader V12 Or Later
    • Easy Module Upgrade To Open Source Version
Read More



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


  • 2 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

Payment Gateway Charges For WHMCS Icon
Payment Gateway Charges

Payment Gateway Charges For WHMCS

Chosen by 666 customers

Include extra fees and discounts for the usage of a given payment gateway, define application conditions, select chargeable products and clients exempt from discounts.

Discount Center For WHMCS Icon
Discount Center

Discount Center For WHMCS

Chosen by 580 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.

QuickBooks Online For WHMCS Icon
QuickBooks Online

QuickBooks Online For WHMCS

Chosen by 641 customers

Integrate all kinds of financial data stored in WHMCS into QuickBooks Online database, set up currencies, handle taxes and define relations between synchronized information.

Kayako For WHMCS Icon

Kayako For WHMCS

Chosen by 68 customers

Let your customers employ Kayako support tools without leaving your website, while you harmonize the data between systems in WHMCS and handle tickets right in Kayako.