Skip to content

Huifu (Adapay) ​

Updated: 10/16/26, 9:52:44 AM

Channel Overview ​

Adapay is Huifu's aggregated payment product. DaxPay integrates the Adapay API in direct mode (product ada_pay); one app ID covers the full WeChat, Alipay, and UnionPay scenarios — with 16 methods it is the most complete extended channel. It shares the huifu channel with Dougong, distinguished by payment product.

Adapay is a commercial-edition extended channel; after purchasing the flagship edition the official team assists with onboarding and integration. See the channel overview.

Supported Payment Methods ​

Underlying railSupported methods
WeChatQR code, JSAPI (Official Account), APP, H5, mini-program, barcode
AlipayQR code, JSAPI, APP, H5, PC web, barcode
UnionPay (QuickPass)QR code, JSAPI, H5, barcode

WeChat JSAPI and mini-program payments require a bound WeChat app (AppId) in the channel configuration.

Configuration Structure ​

The Adapay app ID and keys are configured per channel merchant; creating the merchant only registers the basics:

  1. Create the channel merchant: Merchant Workbench → Channel Merchants → Create, pick the Adapay product and fill in the merchant name (post-onboarding details are maintained under key configuration);
  2. Configure keys (Channel Merchant Detail → Key Configuration):
FieldNotes
App IDAdapay payment app app_id
API KeyAuthorization header credential
Merchant RSA private keyBase64 string (PKCS#8), signs requests
Platform public keyBase64 string (X509), verifies responses and callbacks; leave empty to use the global default

Signature & Callback ​

  • Request signing: SHA1withRSA — merchant private key signs, Adapay platform public key verifies;
  • Keys are bare Base64 strings (not PEM format) from the Adapay merchant portal;
  • WeChat/UnionPay aggregate dynamic QR codes go through a special pre-order path handled automatically by the platform.

Notes ​

  • Adapay has no sandbox — verify directly in production after configuring;
  • Adapay and Dougong share the Huifu channel but are independent products; do not mix keys;
  • The callback URL must be configured in the Adapay merchant portal.