Features & Capabilities
Stop Absorbing 3–4% Card & PayPal Fees — Route Every Checkout to the Most Profitable Payment Method
Payment processing fees silently erode 3% to 5% of hosting and cloud profit margins—while chargebacks on high-ticket first-time orders can wipe out an entire month's revenue. Haikhavan Payment Gateway Charges & Smart Allocator unites full per-gateway surcharges & discounts with intelligent conditional gateway routing in one sleek WHMCS 9.x addon.
Key Benefits
For Hosting Providers & Finance Teams (Admins)
- Recover 100% of Merchant Processing Costs: Use Gross-Up Fee Recovery math (
((Subtotal + Fixed) / (1 - Rate%)) - Subtotal) so you net the exact invoice subtotal after Stripe or PayPal takes their cut. - Steer Buyers to Low-Cost Payment Rails: Offer automatic
-2%or-3%instant discounts on Bank Transfers, SEPA, ACH, or Crypto invoices—lowering chargeback risk and boosting net margin simultaneously. - Zero-Friction Conditional Checkout Routing: Automatically hide PayPal on orders above
$2,500, require verified rails for first-time high-ticket buyers (> $500), or restrict bank transfers below$50—with Safe Fallback Mode ensuring checkout is never blocked. - Zero Duplicate Line Items: When a client switches from Stripe to Bank Transfer on an unpaid invoice, the old processing fee vanishes automatically and the
-3%Bank Transfer discount applies cleanly in one click.
For End Customers (Clients)
- Complete Checkout & Invoice Transparency: Live fee and discount comparison previews right on Cart Checkout and View Invoice pages show exact totals before payment.
- Self-Service Billing Preferences Portal: Clients compare fees for any amount, pick their preferred default payment gateway, and switch payment methods on unpaid invoices anytime to capture discounts.
Complete Feature Suite
1. Precision Gateway Fee & Discount Engine
- 3 Calculation Methods: Standard (
Fixed + %), Gross-Up Recovery (net 100% settlement), and PayPal V2 (half-up rounding). - Min/Max Fee Caps & Invoice Tiers: Set minimum floors (e.g.,
$0.50) and maximum caps (e.g.,$75.00), plus invoice subtotal eligibility ranges. - Granular Targeting & Exemptions: Filter rules by Client Group, Excluded Client IDs, Currency, Country, Product, Billing Cycle, Add Funds, and Domains.
- Tax & Promo Control: Toggle whether the fee line item itself is taxable and whether fees compute before or after tax/promo codes.
- 1-Click Rule Cloning: Duplicate any complex fee or discount rule across gateways instantly.
2. Smart Gateway Allocator (Conditional Checkout Routing)
- Allow & Hide Rules with Priority: Show or hide any active WHMCS gateway dynamically by Product, Product Group, Client Group, Country, Currency, Order Amount Min/Max, Billing Cycle, and First-Time vs. Returning Buyer status.
- Dual Enforcement: Filters visible gateways on
ClientAreaPageCartAND validates submitted gateways onShoppingCartValidateCheckoutto prevent tampered POST requests. - Safe Fallback Protection: Guarantees customers always see fallback gateways if aggressive rules overlap.
5 Exclusive Pro Value-Add Features
| Pro Value-Add | Impact |
|---|---|
| 1. Fee Recovery & Discount ROI Dashboard | Zero-CDN HTML5 Canvas dual-bar and gateway donut charts track recovered fees, granted discounts, and net margin impact over 14 days. |
| 2. Interactive Live Fee & Allocator Simulator | Test any subtotal, tax, country, currency, and buyer status inside WHMCS Admin to preview exact totals and gateway visibility before publishing rules. |
| 3. Automated Rule Conflict Detector | Proactively flags min_fee > max_fee cap inversions, >10% compliance warnings, overlapping gateway rules, and hidden-but-charged deadlocks. |
| 4. Live Invoice Gateway Recalculator | Admins and clients can switch gateways on unpaid invoices with instant idempotent line-item recalculation. |
| 5. Admin Home ROI Widget & Audit Log | Live KPI summary on WHMCS Admin Home plus a complete immutable audit trail of every rule edit, checkout block, and fee calculation. |
Frequently Asked Questions (FAQ)
Q: What happens when a client switches from Stripe to Bank Transfer on an existing unpaid invoice?
Our InvoiceChangeGateway hook automatically removes the Stripe processing fee line item, evaluates the Bank Transfer discount rule, inserts the -3% discount line item, and updates the WHMCS invoice total—leaving zero stale or duplicate items.
Q: What if my Smart Allocator rules accidentally hide every gateway for a country or amount?
With Allocator Safe Fallback Mode enabled (on by default), the engine detects zero eligible gateways, restores default WHMCS gateways automatically, and logs a fallback event so you never lose a sale.
Q: Can I exempt VIP clients or specific client groups from processing fees?
Yes! Every Charge Rule supports both Client Group targeting and an Excluded Client IDs allowlist so enterprise or VIP clients are never charged surcharges.
Q: Does this module require external JS or chart CDNs?
No. All ROI analytics charts render natively on high-DPI HTML5 <canvas> with zero external CDN requests.