Quick start
Quick start
WHMCS Antom Alipay+ Gateway brings Ant International's Antom (Alipay+) payments to WHMCS, covering 16 local payment methods across South-East Asia and Greater China: Alipay HK, GCash, KakaoPay, TrueMoney, DANA, AlipayCN, BPI, Maya, BillEase, JKOPAY, BNK Tap & Go, ShopeePay, Touch'n Go, RabbitLINE Pay, MOMO Pay, Boost. This guide covers merchant onboarding, gateway config, and the first transaction.
For WHMCS hosts running SEA / Greater China / Japan / Korea businesses needing local-wallet payment.
1. Antom merchant onboarding
- Sign up at the Antom Console
- KYC + business docs (typically 1–3 business days)
- After approval, the console gives you: - Client ID - Merchant Private Key (RSA2048) - Antom Public Key
2. Install and configure
- Download the ZIP matching your PHP version and extract into your WHMCS root.
- WHMCS admin → Setup → Payment Gateways → All Payment Gateways → find "Antom Alipay+ (Direct QR)" → Activate.
- Fill on the Antom gateway config page: - License Key - Antom Client ID - Merchant Private Key (paste PEM directly) - Antom Public Key - Sandbox / Live mode toggle - Default payment method (Alipay+ aggregated or specific method)
- Save.
3. Customer checkout flow
- Customer picks Antom gateway in WHMCS checkout
- Plugin calls Antom API to create a payment session
- QR code renders inline on the WHMCS checkout page (Direct QR mode — no upstream redirect)
- Customer scans the QR with their local wallet
- Antom posts an async callback to
callback/antom.phpwith payment result - Plugin verifies the signature and marks the WHMCS invoice paid
4. Sandbox testing
Switch to Sandbox mode: - API endpoint auto-switches to open-na.alipay.com - Use Antom-provided test account to scan - No real charge - Full end-to-end integration verification
5. Refunds
- WHMCS admin → Invoice → Refund button → standard flow
- Plugin calls the Antom refund API
- Antom posts an async callback with the refund outcome
6. FAQ
Q: Recurring billing? A: This version handles one-time payments only. Antom recurring is on the roadmap; supported once the platform exposes it.
Q: HMAC verification fails — what now? A: Make sure the Public Key is complete (with -----BEGIN PUBLIC KEY----- / -----END PUBLIC KEY----- markers).
Q: Switch from sandbox to production? A: Change mode → Live + swap in production keys on the gateway config page. Business orders unaffected.
Q: Late Antom callbacks — how does the plugin handle order state? A: Antom callbacks come with an SLA. The plugin idempotently updates the invoice on every callback (deduplicated by reference_no).
For deeper docs (API endpoints, HMAC algorithm, callback payload) see the "Full documentation" link on your store dashboard card.