Online payments
Collect top-ups from your customers via Alipay, WeChat Pay, Epay, Codepay, USDT or payment plugins, with primary and standby channels and daily reconciliation.
What it solves
Selling CDN service means taking payments online. The control plane has several payment methods built in: customers top up in the user console, the balance arrives automatically and pays for plans and traffic packs, and a failing channel hands over to a standby channel.
| Method | Notes |
|---|---|
| Alipay, WeChat Pay (official) | With your own merchant account |
| Epay, Codepay | Aggregated payment APIs |
| USDT (crypto) | TRC20, BEP20, ERC20; a fresh address per order from an extended public key, or an imported pool of one-time addresses |
| Third-party payment plugins | From the plugin market, enabled after the contract test |
Turning it on
These payment methods are official, free modules of the commercial edition, included in the default licence of a new commercial control plane. The community edition has no billing or payments.
- Open Finance → Payment channels and create a channel: type, payment method, scenes, merchant parameters, amount range and fee.
- Add a standby channel for the same method if you want one.
- Under System configuration → Identity and payments, turn on the method and the top-up entry, and set the default method and limits.
- Top up a small amount from a test account and check the balance arrives.
Main settings
| Setting | What it does |
|---|---|
| Primary and standby | When the primary is unavailable the standby takes over, with an audit record |
| Amount range, fee | Per channel |
| Reconciliation | Daily; the page shows the latest result and failed channels |
| USDT addresses | Extended public key (recommended) or a one-time address pool; watch-only keys, never a private key or seed phrase |
| USDT data sources | Primary and verification sources must differ and agree before crediting |
| USDT rates | Median of at least two rate sources; markup, payment window, grace period and underpayment tolerance |
Typical uses
- Customers in China: official Alipay and WeChat Pay channels, with Epay as standby.
- Customers abroad: turn on USDT on the TRC20 network.
Limits and notes
- Money goes to your own merchant account or wallet, settled with that provider.
- USDT received during the grace period goes to manual review instead of being credited automatically; USDT pauses when too few rate sources are available.
- After the USDT module is revoked no new checkouts are created; invoices already shown keep being watched and credited.
- Third-party payment plugins must pass their contract test after install or upgrade.