Description
Product Description
The Smart Gateway Manager For WHMCS gives administrators precise control over which payment methods customers can use for selected products and product groups.
Create an eligibility rule for each payment gateway and assign the products or groups that permit it. You can also require a minimum client account age, allowing sensitive or higher-risk payment methods to remain hidden from new customers until their account meets your requirement.
The module automatically filters gateways during checkout and on invoice payment pages, selects an eligible fallback when necessary, and validates the submitted payment method before the order is accepted.
How It Works
- Select a Gateway: Choose one of the active payment gateways configured in WHMCS.
- Assign Products or Groups: Select the products and product groups that make the gateway available.
- Set Client Eligibility: Optionally require the customer’s WHMCS account to be a minimum number of days old.
- Customer Starts Checkout: The module compares the cart products and client account age with every configured gateway rule.
- Gateways Are Filtered: Only eligible payment options remain available to the customer.
- Checkout Is Validated: The selected gateway is checked again before the order is accepted.
- Invoice Rules Continue: The same product and account eligibility rules are applied when customers view or change payment methods on invoices.
Key Features
- Product-Based Gateway Rules: Make a payment method available only when selected products are present.
- Product Group Rules: Apply one gateway rule to every product within selected WHMCS product groups.
- Combined Product Selection: Use individual products and complete product groups within the same rule.
- Minimum Client Age: Require a customer account to exist for a specified number of days before a gateway becomes available.
- Guest Checkout Defaults: Select the payment methods shown to visitors who have not logged in.
- Dynamic Checkout Filtering: Adjust the payment gateway list according to the products currently in the cart.
- Invoice Gateway Filtering: Apply eligibility rules to payment choices displayed on WHMCS invoice pages.
- Automatic Fallback Selection: Replace an ineligible selected gateway with the first available valid option.
- Checkout Validation: Prevent an unavailable payment method from being submitted or retained through a bypass attempt.
- Invoice Gateway Protection: Restore an eligible fallback if an invalid gateway change is attempted on an invoice.
Product and Group Control
Create broad or highly specific payment rules according to your product catalog.
- Entire Product Groups: Enable a gateway for all current products inside a selected group.
- Individual Products: Target precise services, including hidden WHMCS products.
- Mixed Cart Evaluation: Make the gateway available when at least one product in the cart matches its rule and all other eligibility requirements are satisfied.
- Invoice Product Detection: Identify hosting products associated with invoice items and apply the appropriate gateway rules.
- Unrestricted Gateways: Keep gateways without a configured rule available to logged-in customers.
Client Account Age Rules
Product eligibility can be combined with customer account history for additional payment control.
- Set a separate minimum account age for each managed gateway.
- Use zero days when new clients should receive immediate access.
- Hide selected payment methods until the account reaches the required age.
- Require both a matching product and sufficient account age before displaying the gateway.
Guest Checkout Management
- Choose multiple default gateways for customers who are not logged in.
- Limit initial checkout options before WHMCS can evaluate a known client account.
- Leave the guest selection empty to retain the normal WHMCS default gateway behavior.
- Manage guest payment defaults from the same addon administration page.
Checkout and Invoice Protection
- Filtered Gateway Arrays: Modify the gateway data supplied by WHMCS before the checkout page is rendered.
- Selected Method Correction: Change the current selection when it is no longer eligible or displayed.
- Gateway Type Preservation: Retain important credit-card and remote-input gateway information when building the filtered list.
- Final Validation Layer: Return a clear error if the submitted payment method is not valid for the cart or account.
- Invoice Dropdown Filtering: Remove unavailable methods from invoice gateway selectors.
- Safe Invoice Fallback: Prevent an invoice from remaining assigned to an ineligible payment method.
Administrator Features
- Central Rule Dashboard: View configured gateways, account-age requirements, assigned products, groups, and notes.
- Active Gateway Detection: Load the payment methods currently available in WHMCS.
- One Rule Per Gateway: Keep gateway configuration clear and prevent conflicting duplicate rules.
- Multi-Select Product Controls: Assign several products and groups to one payment gateway.
- Admin Descriptions: Add an internal note explaining the purpose of each gateway rule.
- Edit and Delete Actions: Update or remove payment restrictions whenever requirements change.
- Immediate Rule Application: Use saved database rules during the next checkout or invoice request.
- Token-Protected Administration: Validate admin rule-management requests using WHMCS security tokens.
Common Use Cases
- High-Risk Products: Restrict sensitive services to payment methods with stronger protection.
- New Client Restrictions: Hide selected gateways until the customer account has established sufficient history.
- Offline Payments: Offer bank transfer or manual methods only for suitable products.
- Product-Specific Gateways: Connect specialized payment providers with the services they support.
- Group-Wide Policies: Apply consistent payment options across hosting, VPS, licensing, or other product categories.
- Cleaner Guest Checkout: Limit the initial payment list to selected default methods.
Business Benefits
- Create a Cleaner Checkout: Remove payment methods that are not relevant to the customer’s purchase.
- Reduce Payment Errors: Prevent clients from selecting gateways unsuitable for particular services.
- Improve Risk Control: Restrict payment access according to products and account age.
- Simplify Management: Apply one rule to an entire product group instead of configuring every product separately.
- Protect Invoice Payments: Continue enforcing gateway eligibility after checkout.
- Avoid Template Replacement: Apply filtering through WHMCS hooks and server-side gateway data.
Ideal For
- Web hosting and reseller hosting companies
- VPS, cloud, and dedicated server providers
- Businesses selling higher-risk products or services
- Agencies using several payment providers
- SaaS and digital service platforms
- Any WHMCS business requiring product-specific payment control
Why Choose Smart Gateway Manager For WHMCS?
Smart Gateway Manager provides a structured way to control payment availability throughout the WHMCS purchase and invoice lifecycle. Its product, group, account-age, and guest rules help ensure that customers are offered payment methods appropriate to their purchase and eligibility.
With automatic filtering, fallback selection, checkout validation, invoice protection, and a straightforward rule-management interface, the module creates a more controlled and relevant payment experience without replacing order-form templates.




