Gateway Overview
Stripe, PayPal, Bank Transfer, etc.
What it is
Payment gateways process client payments for invoices and checkout. WHMDC includes Stripe (card payments), PayPal (PayPal and cards), and Bank Transfer (manual). Gateways handle redirects, webhooks, and recording transactions.
How it works
Gateways live in modules/gateways/. Each gateway implements a standard interface. PaymentManager routes payments to the correct gateway. Webhooks (e.g. Stripe /webhooks/stripe) receive payment confirmations and update invoice status.
Available gateways
| Gateway | Use case |
|---|---|
| Stripe | Card payments via Stripe Checkout or Payment Intents |
| PayPal | PayPal and card payments via Smart Buttons |
| Bank Transfer | Manual payment – client pays by bank, admin marks as paid |
How to set up
- Go to Admin → Settings → Payment Gateways.
- Enable the gateway(s) you need.
- Enter API keys (Stripe: publishable + secret; PayPal: client ID + secret).
- For Stripe/PayPal: ensure the webhook URL is correct and registered with the provider.
Was this helpful?