Payment Gateway Charges For WHMCS is targeted at allowing you the freedom to impose an additional fee or set up a discount to be applied for the usage of a particular payment gateway. Having the possibility to select not only products, addons and TLDs that shall be offered with these custom billing rules, but also clients excluded from their conditions, you can easily achieve an exact fit of all gateway features.

Whether you go for a charge or a discount, the module will let you define its amount in either a percentage or fixed format. You can establish as many billing rules as preferred, each with multiple tiers to be executed depending on the invoice amount. To make sure the rules are tailored precisely to your liking, you will be also able to formulate various conditions for applying charges and discounts based on such key factors as clients, groups, currencies or even countries. For easier management, the existing rules can be quickly copied between one gateway to another.

Leave the humdrum behind and go beyond the usual means to fine-tune your business offer. Order Payment Gateway Charges For WHMCS and take control over gateways in your system to a whip-smart level!


  • Module

    • Display Charge Or Discount Rates Depending On Available Gateways
    • Display Calculated Rates For Chosen Gateways
    • Create Multiple Billing Rules For Gateways
    • Copy Existing Rules Between Gateways
    • Choose Calculation Method For Charge Or Discount Per Rule:
      • Percentage
      • Fixed Amount
    • Toggle Charging After Tax Application
    • Toggle Tax Application To Charge
    • Toggle Charging After Promo Code Application
    • Set Billing Calculation Methods:
      • Standard
      • Alternative (e.g. PayPal)
      • PayPalV2
    • Create Multiple Steps With Minimum Invoice Value To Apply Fees And Discounts
    • Create Multiple Rule Activation Conditions For:
      • All Clients
      • Chosen Clients
      • Chosen Client Groups
      • Clients Or Groups With Specific Currencies
      • Clients Or Groups With Specific Countries
    • Perform Bulk Actions To Mark As Chargeable:
      • Clients
      • Products
      • Addons
      • TLDs (Register/Transfer/Renew)
      • Other:
        • Adding Funds To Credit Deposit
        • Late Fee Invoice Items
        • Custom Invoice Items
    • Toggle Visibility Of Charge Rates In Client Area
    • Define Charge Format Displayed On Invoice
    • Define Div Tag For Custom Order Template Integration
    • Toggle Redundant Logs Deletion After Defined Period
    • Access Module Logs
  • Supported Order Form Templates

    • Cloud Slider
    • Legacy Boxes
    • Legacy Modern
    • Premium Comparison
    • Pure Comparison
    • Standard Cart
    • Supreme Comparison
    • Universal Slider
    • Other Custom Templates
  • General Info

    • Integrated With Lagom One Step Order Form For WHMCS - Apply Custom Discounts And Fees Based On Payment Gateway Chosen During Ordering
    • Supports All Payment Gateways
    • Supports Mass Payment Functionality
    • Supports Prorata Billing
    • Integrated With All Order Form Templates
    • 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 17th, 2024
  • Support for WHMCS V8.7 and previous
Bug Fix
  • Cancellation requests for individual products will no longer result in the cancellation of invoices containing multiple services - case #297
  • Fixed issue that could lead to the "Call to a member function pluck() on array in GatewaySettingsDataProvider.php" error - case #301
  • Corrected handling of the "Force One Time Payments" option for the PayPal Basic gateway - case #304
  • Eliminated issue with invalid Cyrillic alphabet encoding on the invoice view related to the new PayPal payment gateway - case #306


Released: Dec 19th, 2023
New Feature
  • WHMCS V8.9 support
Bug Fix
  • Resolved "TypeError" occurring on invoices that listed services with related domain registration, renewal or transfer - case #287
  • Eliminated several entries logged into the "tblerrolog" database table
  • Resolved the "Invalid invoice id provided" error that could occur when refreshing the "Automation Overview" widget - case #289
  • Payment charges fees will no longer be displayed on canceled invoices - case #291
  • The invoice status will now be properly set to “canceled” once the domain renewal expires - case #243, #285, #290
  • The "Total Due" amount will now be updated correctly while using Lagom WHMCS Client Theme - case #292


Released: Oct 25th, 2023
New Feature
  • Toggle TLDs chargeable feature individually per domain register, transfer and renewal
  • Set the logs retention period after which the old entries will be automatically deleted
  • The list of newly placed orders in the admin area will now include data on the total amounts with added charges
Bug Fix
  • Solved problem with incorrectly applied fixed amount charges to promo codes with 100% discounts - case #241
  • Corrected verification of conflicts between existing conditions when trying to add a new one
  • Resolved issue with incorrect gateway fee charge of invoices with promo code and credit balance applied - case #266
  • Adjusted amount of credits to apply upfront for invoices with promo codes and gateway charges - case #272
  • The charge amount will now be properly calculated for applied promo codes if the corresponding setting was enabled for the selected gateway - case #270
  • The gateway charge will be now properly displayed in payment details when the option to apply tax to the charge is enabled
  • Specific compatibility adjustments with the Lagom WHMCS Client Theme - case #261
  • Other minor code corrections


Released: Aug 9th, 2023
New Feature
  • WHMCS V8.8 support
  • Implemented language overrides support, enabling the utilization of customized translations
  • Support for WHMCS V8.5 and previous


Released: May 10th, 2023
Bug Fix
  • Assorted corrections related to PayPal subscription payments - note: please see our documentation to learn about the limited functionality cases - case #238
  • Eliminated "DOMDocument::loadHTML()" error that could occur when opening an invoice that was paid through the PayPal gateway - case #268
  • Prevented "array_key_exist()" error that could show up after adding a product addon to the cart on a PHP 8.1 server - case #269
  • Certain adjustments related to WHMCS V8.6 support
  • Other minor code corrections


Released: Jan 18th, 2023
New Feature
  • WHMCS V8.6 and V8.7 support
  • Support for PHP 8.1 version
  • Requires ionCube Loader V12 or later
  • Support for WHMCS V8.3 and previous
  • Support for PHP 7.3 version


Released: Jun 24th, 2022
New Feature
  • WHMCS V8.5 support
  • Support for WHMCS V8.1 and previous
Bug Fix
  • Fixed issues with the Stripe gateway used for payments when the "Apply Tax To Charge" option was enabled - case #231
  • Resolved problem when the charged item description on the invoice was in other language than the client's language - case #260


Released: Mar 9th, 2022
New Feature
  • WHMCS V8.4 support
  • Copy rules with their conditions between gateways
  • When the first gateway is added to the module, a rule with the "All" type condition is automatically added
  • Support for WHMCS V8.0 and previous
Bug Fix
  • Fixed issue with properly applying credits to the discounted invoice with gateway charge applied when the "Charge After Applying Promo Code" option was disabled - case #218
  • Minor code corrections and UI improvements


Released: Oct 28th, 2021
New Feature
  • WHMCS V8.3 support
Bug Fix
  • Eliminated PayPal and Stripe "(...)_PLACEHOLDER" item from the invoice if an order was placed from the admin area - case #235
  • Resolved problem with displaying the gateways list in the addon module if PHP 7.2 version was used on the server - case #240
  • Fixed case where the gateway charge was billed twice if the Stripe payment was chosen - case #242
  • Corrected issue with the wrong update of the gateway charge after saving changes to invoice details in the admin area for the client who belongs to the group with assigned discounts - case #242


Released: Jul 27th, 2021
New Feature
  • WHMCS V8.2 support
  • Support for WHMCS V7.10 and previous
  • Support for PHP 7.1 version
Bug Fix
  • Minor code corrections


Released: Apr 7th, 2021
New Feature
  • WHMCS V8.1 and "Twenty-One" theme support
  • Enable or disable module logs with the toggle located on the settings page - case #209
  • Support for WHMCS V7.9 and previous
Bug Fix
  • Fixed loading of the charges table if recurring price for a product or a domain had value 0.00 - case #198, #219
  • Certain code corrections related to applying taxes to the final charge - case #199
  • Corrected compatibility with PHP 7.4 version - case #215
  • Resolved problem with exception error on checkout if the "Show In Charges Table" option was disabled - case #216
  • Additional code adjustments related to WHMCS Stripe payment gateway - case #182


Released: Sep 1st, 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
Bug Fix
  • Resolved issues with loading the table of charges if a free product was also included in the cart - case #197


Released: Jul 23rd, 2020
Bug Fix
  • Corrected charge calculation for service renewal with the free domain offer - case #184
  • Resolved problems with loading the charges table that could have occurred when other than the default WHMCS language was selected by the client - case #192
  • Fixed issues with deleting invoices with added charge items when they were canceled by clients - case #117
  • Solved problems with left empty unpaid invoices after deleting a domain and charge items if the customer decided to not renew the domain - case #117
  • Adjusted charge calculation for the products with allowed multiple quantities added to the cart - case #193
  • Corrected "Apply Credit" amount value displayed on the invoices if available credits balance is below the total value to pay for the generated invoice - case #195


Released: Apr 9th, 2020
New Feature
  • WHMCS V7.10 support
  • Support for WHMCS V7.7 and previous
Bug Fix
  • Fixed issue with the lack of calculated charge when the Stripe gateway was used - case #182
  • Resolved problem with the lack of calculated charge from the PayPal gateway in WHMCS 7.9 and later - case #186


Released: Oct 4th, 2019
Bug Fix
  • Resolved problem with displaying incorrect amount in cart if a currency other than the default one was used by client - case #179


Released: Aug 12th, 2019
New Feature
  • WHMCS V7.8 support
  • Support for WHMCS V7.5 and previous
  • Obsolete libraries from the module's files
Bug Fix
  • Resolved issues related to PHP 7.3
  • Corrected application of fixed pricing


Released: Mar 26th, 2019
New Feature
  • PHP 7.3 support
  • Display order of gateways in the client area can now be changed using the order set in WHMCS payment gateways settings
  • Support for WHMCS V7.4 and previous
Bug Fix
  • Eliminated problem with not applied charge in PayPalV2 calculation method if the rule's percentage fee was set to 0 - case #169
  • Fixed case of a disabled rule that might have still been applied - case #170
  • Resolved compatibility issues with Lagom template integration
  • Corrected charge calculation for configurable options
  • Tax will be now properly applied to the charges with a negative value (discounts) - case #171
  • Assorted corrections to the balance calculation


Released: Dec 21st, 2018
New Feature
  • Support for WHMCS "Prorata Billing" - case #166
Bug Fix
  • Resolved issue with a blank screen that might have occurred when ordering a product's addon with one time billing cycle - case #165


Released: Nov 7th, 2018
New Feature
  • Toggle charges for "Adding Funds To Credit Deposit" - case #92
  • Toggle charges for "Late Fee Invoice Items"
  • Toggle charges for "Custom Invoice Items"
  • Decide whether to apply charges before or after applying the promo code
  • Adjusted charges display on the "Modern" order template
  • Added loader icon when charges are being recalculated after switching between the payment gateways
  • Optimized speed of loading the client's list in systems with large databases
  • Added validation to prevent creating rules with empty names
  • Added hidden Debug Logs section to include details of actions taken to calculate the charge on the invoice based on defined conditions
  • Assorted language and code adjustments
Bug Fix
  • Resolved issues that might have occurred with saving a rule condition of an "All" type
  • Solved error that could have occurred if a charge for PayPalV2 rule type was set to 100% of the amount
  • Fixed issue that might have led to displaying an invalid balance amount on the invoice view
  • Corrected issue with charges excluding the price of the configurable options in the cart view
  • Creating an invoice by API or a cron job without the payment gateway parameter will no longer result in the module errors
  • "Total Due Today" on the checkout view will be now calculated correctly when a part of the order amount is paid with credits
  • Resolved other issues with applying a custom amount of credits to the invoice payment
  • Corrected compatibility with PayPal payment gateway on WHMCS V7.5 and PHP 5.6
  • Added missing translatable validation strings to the language file
  • Assorted corrections related to problems with sorting, searching and pagination navigation in the module addon sections
  • Minor fixes related to an invalid sequence of applying rules in certain cases
  • Solved issue with "Chargeable Status" which could have been set only to active when using mass action in the "Clients" section of the addon module
  • In case the charge discount is greater than the payment amount, the amount on the invoice will be now set to zero, instead of to a negative value
  • Resolved issue that might have caused a problem with canceled invoices still remaining as unpaid
  • Enabled "Apply Tax To Charge" option will no longer take place in the cart view if the tax support has been globally disabled in the WHMCS general configuration
  • Deleting the "Rule" will now also properly remove related "Steps" and "Conditions" records from the database
  • Other minor code and operational corrections


Released: Jun 11th, 2018
New Feature
  • The :percentage: and :fixedAmount: variables support for the charge format displayed on the invoice
Bug Fix
  • Products with zero value will no longer be added to invoice items to resolve problems with fixed charges
  • Resolved issues with invalid collation occurring on certain databases for new module installations
  • Corrected charge calculation for multiple quantities of a product in the cart
  • Fixed problem with charge calculation by cron for multiple invoices at once
  • The recurring charges are now correct for PayPal subscriptions
  • Solved issue with '500 Internal Server Error' that might have occurred on certain HTML invoices
  • Minor code refinements


Released: Apr 18th, 2018
New Feature
  • WHMCS V7.5 support
  • PHP 7.1 and 7.2 support
  • 'PayPalV2' billing type calculation method
Bug Fix
  • After product cancellation, the corresponding payment gateway charge is now properly removed from the invoice as well


Released: Feb 15th, 2018
New Feature
  • Completely rewritten code and UI
  • Gateway Rules - specify multiple steps of charges and discounts to be executed depending on the invoice amount
  • Conditions - add multiple conditions for applying charges and discounts based on clients, groups, currencies and countries
  • Set charges for specified TLDs
  • Module Logs
  • Define the charge or a discount based on the provided percentage or a fixed value more easily
  • Define the format of a charge and a discount displayed on the invoice
  • Quickly change the chargeable status for items and clients through bulk actions
  • Toggle the display of a charge and the charges table at the checkout
  • Template integration code is no longer required
  • Assorted language corrections


Released: Dec 6th, 2017
New Feature
  • WHMCS V7.4 support
  • Handling of invoice items removal on the cancellation request
Bug Fix
  • Resolved problem with credit payments resulting from changes introduced to the WHMCS cart
  • Corrected inaccurate rounding for subscription payments when using the PayPal gateway


Released: Aug 3rd, 2017
Bug Fix
  • Code adjustments to avoid issues related to 'PDO Wrapper' errors


Released: Jun 26th, 2017
  • Slight tweaks to tax display on invoice when paying with credits


Released: Jun 23rd, 2017
New Feature
  • WHMCS V7.2 support
  • PayPal subscription payment method for single domain orders
Bug Fix
  • Adjusted tax calculation if 'Tax Payment Charge' option is disabled
  • Corrected fatal error that could occur during conversion rounding of payment amounts
  • Solved issues with payments made using credits


Released: Jan 20th, 2017
Bug Fix
  • Adjusted compatibility with WHMCS V7.1.0


Released: Dec 27th, 2016
Bug Fix
  • Adjusted compatibility with ModulesGarden modules
  • Resolved conflicts with custom modules


Released: Nov 3rd, 2016
New Feature
  • PHP 7 support
Bug Fix
  • Minor tweaks


Released: Oct 11th, 2016
New Feature
  • WHMCS V7 support
Bug Fix
  • Minor tweaks


Released: Aug 29th, 2016
  • Support for WHMCS mass payment feature


Released: Aug 5th, 2016
Bug Fix
  • Handle charges on hosting cancellation request
  • PayPal subscription - calculate recurring payments amount


Released: Jan 29th, 2016
New Feature
  • Supreme Comparison cart support
  • Universal Slider cart support
  • Choose billing type - standard or PayPal
Bug Fix
  • Calculate charge for multiple products


Released: Oct 30th, 2015
New Feature
  • Toggle visibility of charge rates in client area
  • Charge after applying promotion code
  • Integration with Cloud Slider template
  • Integration with Premium Comparison template
  • Integration with Pure Comparison template
  • Integration with Standard Cart template
  • Charge and discount descriptions moved to language files in order to allow their translation


Released: Sep 23rd, 2015
  • Code optimization
Bug Fix
  • Display charges on order forms - Boxes and Verticalsteps
  • Display currency for guest user


Released: Aug 14th, 2015
  • Charge single domain in cart
  • Charge addons added from admin area manually
Bug Fix
  • Displaying charges in cart
  • Minor fixes


Released: Jul 27th, 2015
New Feature
  • WHMCS 6.0 support
  • Display calculated charge on checkout page
  • Admin area UI
  • Bug Fixes: Core fixes


Released: Nov 3rd, 2014
  • Added payment calculation, after an invoice is partially paid with credits


Released: Aug 29th, 2014
  • Improved security and license validation


Released: Dec 2nd, 2013
  • Fixed problems with credit payments
  • Fixed bug with 'MG_Lang' class
  • Added integration with MASSPAY
  • Changed displaying of gateway charge on the invoice
  • Improved display of Integration Code page in the module admin area


Released: Oct 31st, 2013
  • Added feature: Add payment gateway charge before or after applying tax on item
  • Added feature: Hide charges for payment gateways disabled in product group
  • Fixed bug with PayPal subscription


Released: Sep 18th, 2013
  • Added PayPal subscription charging
  • Added feature allowing you to apply taxes on charges


Released: Aug 29th, 2013
  • Added Multi-Language support
  • Added easy integration which automatically adjusts to each order form template
  • Added integration with the following order form templates: Ajaxcart, Boxes, Cart, Comparison, Modern, Slider, Verticalsteps and Web20cart


Released: Aug 27th, 2013
  • Stable Release
Read More


  • 1 month ago
    Perfect modüle
  • 8 months ago
    Module worked good. Didn't find any issue. I personally recommend it.
  • 2 years ago
    This module is awesome and help you to manage the gateway charges on your client's payment accordingly.
  • 2 years ago
    I have just tried the free trial of Payment Gateway Charges For WHMCS. I have been trying to find a decent module that does discounts for specific payment gateways, I have been unlucky until I found this company, this module works as expected and does all that I need. Highly recommended.
  • 3 years ago
    I can't think of any other solution that would even come close to that level of flexibility in terms of gateway fees management. The possibility to charge differently per specific invoice amounts, countries or even currencies is enough reason to call this module a game-changer. Consider me a proud owner!
  • 3 years ago
    Easy to use and perfect module for WHMCS, never faced any major issues, works perfect, small bug was there which the modules garden team fixed at priority and provided a custom update for it.
  • 3 years ago
    A must have !
    The module works perfectly good !
    We are using it on https://grape-hosting.com/
  • 3 years ago
    Very good plug-in, this plug-in solves many problems caused by the previous use of similar plug-ins from different developers. So far they also have provided me very friendly technical support, and they have given me 21 days of testing time for free. Although this plugin is not cheap, I read the update log and it is still a very good deal.
  • 5 years ago
    It gives you a ton of options what makes it great to give clients someting back like promotions when using a specific gayeway. The only 'bad' thing I have is the setup, takes a bit of time but overall a great module!
  • 5 years ago
    Payment Gateway Charges For WHMCS from ModulesGarden is the best you can get.
    Very easy to configure and setup.
    And if you need help, Support is always happy to help.
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
Product Free Trial Manager For WHMCS Icon
Product Free Trial Manager
$99.95 $74.96/yr

Product Free Trial Manager For WHMCS

Chosen by 165 customers

Add to your offer free trials of your products, manage their details and accessibility per customer or product, and send customized emails to remind about upcoming payment.

$99.95 $74.96/yr
Hosting Renewals For WHMCS Icon
Hosting Renewals
$99.95 $74.96/yr

Hosting Renewals For WHMCS

Chosen by 452 customers

Permit your clients to handle billing cycles, recurring payments and renewals of hosting services, while you set up discounts and send personalized renewal notifications.

$99.95 $74.96/yr
OpenStack VPS & Cloud For WHMCS Icon
VPS & Cloud
$249.95 $178.09/yr

OpenStack VPS & Cloud For WHMCS

Chosen by 343 customers

Enable the provisioning of flexible virtual servers in WHMCS and allow your clients to handle each VPS product remotely: manage backups, access noVNC console and more.

$249.95 $178.09/yr