Browse all docs

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.

MethodNotes
Alipay, WeChat Pay (official)With your own merchant account
Epay, CodepayAggregated 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 pluginsFrom 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.

  1. Open Finance → Payment channels and create a channel: type, payment method, scenes, merchant parameters, amount range and fee.
  2. Add a standby channel for the same method if you want one.
  3. Under System configuration → Identity and payments, turn on the method and the top-up entry, and set the default method and limits.
  4. Top up a small amount from a test account and check the balance arrives.

Main settings

SettingWhat it does
Primary and standbyWhen the primary is unavailable the standby takes over, with an audit record
Amount range, feePer channel
ReconciliationDaily; the page shows the latest result and failed channels
USDT addressesExtended public key (recommended) or a one-time address pool; watch-only keys, never a private key or seed phrase
USDT data sourcesPrimary and verification sources must differ and agree before crediting
USDT ratesMedian 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.