Skip to content

Pass on the fee of each payment method

Payment Gateway Charges for WHMCS

  • Version 1.0.0
  • WHMCS 8.13 – 9.0
  • PHP 8.1 – 8.3
  • Updated Nov 22, 2026

Charge the client the fee of the payment method they choose: a percentage, a fixed amount or both, with rules per gateway, tiers by amount and exempt products. The client sees the exact charge before paying.

  • Percentage and fixed amount
  • Tiers by amount
  • The client sees it before paying
See plans and pricing
from $200MXN / month

Addon module for WHMCS 8.x and 9.x · In English and Spanish

WHMCS · GatewayCharges Dashboard Active gateways, rules, what was collected this month and in total, and a switch per gateway.

What it solves

Recover what each gateway charges you, without hiding it in the price of your services.

You recover the fee
Set a percentage, a fixed amount or both for each gateway active in WHMCS. The charge goes on the invoice as one more line item.
Rules that fit your business
A rule can apply to everyone or only to a given currency, country, client group or client. With tiers, the percentage changes as the invoice amount goes up.
No surprises for the client
At checkout they see the charge and the new total, calculated on the same base the invoice will use. If they switch payment method, the charge is recalculated.
What should not carry a fee does not
Mark products, addons or domain extensions as exempt, and decide whether the charge applies to added funds, manual invoices or late fees.

Dashboard · 1 of 7

Loading screen…

This screen could not be loaded. You can open the full image or pick another one.

Everything it includes

How it is calculated

  • A percentage, a fixed amount or both combined
  • Tiers: a different percentage depending on the invoice amount
  • Conditions by currency, country, client group or client
  • Exempt products, addons and domain extensions
  • You decide whether it is calculated before or after taxes and coupons
  • You decide whether the charge is taxed

Day to day

  • The client sees the charge at checkout before paying
  • The charge is recalculated if the client changes gateway on an unpaid invoice
  • Editable charge text, with the percentage and the fixed amount
  • A rule can be duplicated from one gateway to another
  • A log of every charge with date, invoice, gateway and rule
  • Dashboard with what was collected this month and in total, counting paid invoices only
  • Monthly summary by Telegram or WhatsApp

Panel sections inside WHMCS

  • Dashboard
  • Rules by gateway
  • Tiers
  • Conditions
  • Exempt Items
  • Settings
  • Logs
  • Notifications
  • Info

Getting started

  1. Define your rules

    Pick a gateway and enter the percentage, the fixed amount and, if you want, tiers and conditions.

  2. The client sees the charge

    When they choose a payment method, checkout shows them the fee and the new total.

  3. WHMCS invoices it

    The charge goes on the invoice as one more line item and is kept in the module's log.

Plans and pricing

The same module on all three plans: what changes is how you pay and how you receive the code. Prices in Mexican pesos (MXN), plus tax.

Monthly

$200 MXN per month

  • Every feature of the module
  • Updates and support while the license is active
  • Renews every month
  • Installation: $500 MXN, charged once
Get the monthly plan

Best value

Annual

$2,000 MXN per year

  • Pay for 10 months, use 12: you save $400 MXN a year
  • Installation included
  • Every feature of the module
  • Updates and support while the license is active
Get the annual plan

Open source

$6,000 MXN, one-time payment

  • Readable source code, not encoded
  • You can adapt it to your own operation
  • One payment, no renewals
  • Installation included
Buy the open-source version

Our team does the installation on your WHMCS: we upload the module, activate it and configure it with you. I have a question before buying

GatewayCharges changelog

Current version: 1.0.0. Last updated: Nov 22, 2026.

  1. v1.0.0

    • Fixed: the fee preview at checkout now uses the same base as the invoice, so customers see the same amount they are later charged.
    • The preview leaves out exempt items, respects the charge-after-promotion option and shows the fixed part when the whole cart is exempt.
    • If the cart cannot be read with certainty, for example on renewals or upgrades, the total-based calculation is used as before.
    • Improved: the checkout notice ships with its own styles and looks right with any theme.
  2. v1.0.0

    • Fixed: paid, cancelled and refunded invoices are no longer recalculated.
    • Fixed: the promotion on an exempt item follows its exemption, the preview excludes tax just as the invoice does, and the last tier of a rule can be removed.
    • Fixed: the conditions form no longer shifts values from one row to another.
    • Improved: the settings screen shows one row per setting and the panel is in Spanish.
    • Improved: Telegram alerts are sent even when the server fails to resolve internet names.
  3. v1.0.0

    • Fixed: the dashboard, widget and monthly report showed inflated figures because they added up an event log rather than real money.
    • Collected amounts now come from paid invoices and pending amounts from unpaid invoices.
    • Fixed: the rules card counts only active rules of the gateways shown in the table.
See the full history (8 more entries)
  1. v1.0.0

    • Fixed: the gateway fee was not visible at checkout because the notice was drawn in a hidden part of the page; it now appears next to the payment methods, with the right currency.
    • Fixed: the invoice-available email now includes the fee, so the total in the email matches the invoice.
    • Fixed: the monthly report by WhatsApp is sent through whichever WhatsApp provider you have configured.
  2. v1.0.0

    • Fixed: the fee and new total the customer saw at checkout were made-up amounts; they are now calculated from the real values.
    • New: the dashboard widget separates what was applied to invoices from what was actually collected on paid invoices.
    • Improved: accessibility and layout problems in the panel screens were fixed.
  3. v1.0.0

    • Fixed: charge events with a zero amount are now recorded correctly.
    • Improved: the list of exempt items is loaded in one pass, which speeds up the calculation on invoices with many lines.
  4. v1.0.0

    • New: the module and its alerts are available in Spanish and English.
    • Improved: design and script changes show up without clearing the browser cache.
    • Improved: sensitive panel actions are submitted more securely.
    • Improved: the module now includes its logo for the module catalog.
  5. v1.0.0

    • New: a widget on the WHMCS dashboard shows the week's charges, the number of invoices and the top three gateways.
    • Improved: panel screens have breadcrumbs, unified table and button styles and better empty states.
  6. v1.0.0

    • Fixed: when the payment method changes, invoices that are not pending are no longer modified.
    • Fixed: when an invoice was recalculated, account credit was subtracted twice.
    • Security hardening: a rule name can no longer inject code into invoices, emails or the checkout preview.
    • Fixed: tax was no longer counted twice when the fee was added.
  7. v1.0.0

    • New: license verification, with an information tab that brings together documentation, requirements and license.
    • Fixed: a rule's tiers are evaluated against the correct invoice amount.
    • Fixed: zero-amount invoices no longer receive a fee, and the total is recalculated even when the new fee is zero.
    • Fixed: when the gateway changes the new gateway is used, and the preview no longer counts the fee twice.
  8. v1.0.0

    • First release: payment gateway fees with a percentage and a fixed amount.
    • Includes tiers by amount, conditions by currency, customer group and country, and exempt products, add-ons and domains.
    • Includes a fee preview at checkout and automatic recalculation when the gateway changes.
    • Lets you import the settings of an earlier fees module.

Frequently asked questions

Is the charge added to the invoice or billed separately?

It is added to the same invoice as one more line item, with the text you define.

What happens if the client changes payment method?

As long as the invoice is unpaid, the charge is recalculated with the rule of the new gateway.

Can I leave some products without a fee?

Yes. The products, addons and domain extensions you mark as exempt are left out of the calculation.

Is VAT charged on the fee?

You decide. One setting makes the charge taxable, and another calculates it on the total with taxes or on the subtotal.

Another question? Write to us and we will reply in English or Spanish.

Stop absorbing the fees

Clear rules per gateway and a checkout that explains every charge to the client before they pay.