Choose which payment methods each client can use.
Payment Term Inhibitor is a lightweight WHMCS hook that lets you disable one or more payment gateways for individual clients. Some examples:
For that client, a disabled gateway disappears everywhere in the client area, and WHMCS also refuses it on the server.
WHMCS lets you enable or disable a payment gateway for everyone, or limit gateways per product. It has no built-in way to restrict them per client. Payment Term Inhibitor adds exactly that, with no core file changes and no template editing.
The module uses only official WHMCS hooks:
It does not modify core files or templates, and it keeps working after WHMCS updates as long as these hooks are available.
includes/hooks/payment-term-inhibitor.php.There is nothing else to configure. To upgrade, extract the new version over the old one.
Do I need to edit my theme? No. It works with the standard WHMCS themes and order forms, and includes a page-level filter for custom themes.
Can a client still pay with a disabled method by manipulating the form? No. Checkout and profile changes are also checked on the server, and the client gets an error message.
What happens to existing unpaid invoices? Invoices created from now on are switched to an allowed gateway automatically. Existing invoices are corrected when the client tries to change their gateway. On invoices, the disabled method no longer appears in the payment method menu.
Can I disable all payment methods for a client? No. At least one must remain available, so the client can always pay. An attempt to disable all of them is ignored and logged.
Does it affect the admin area? No. Administrators can still change an invoice's gateway manually. The restrictions apply to the client area and to newly created invoices.
Can I change the error message?
Yes. Add $_LANG['pti_gateway_not_allowed'] to your lang/overrides/<language>.php file.
How do I uninstall it?
Delete includes/hooks/payment-term-inhibitor.php. Optionally, drop the mod_payment_term_inhibitor table.
Be the first to review Payment gateway inhibitor.
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.
Easily accept Bitcoin, Tether, Ethereum and many other crypto payments on your WHMCS website
No Fees, Easy Setup. Accept cryptocurrencies like: Bitcoin, Bitcoin Cash, Ethereum and Litecoin!
Open your web site to shopping with the advantages of PayTR. Take your payments securely.
With this WHMCS module, you'll get the payment gateway fees from your clients directly.