Adapay Configuration Guide
Adapay is a domestic aggregated payment service provider, supporting Alipay, WeChat and other payment channels, suitable for domestic e-commerce scenarios.
Prerequisites
Register Adapay Merchant
Contact Adapay to open merchant account, get App ID and API Key.
Get RSA Private Key
Download or generate RSA private key file in merchant backend.
Configuration Steps
Step 1: Enter Payment Platform Management
In admin panel go to Payment Platform Management, find Adapay configuration item.
Step 2: Fill in Basic Information
Fill in App ID, API Key, RSA Private Key.
Step 3: Configure Callback URL
Set payment callback URL: https://yourdomain.com/api/v1/payments/notify/adapay
Step 4: Select Payment Channels
Enable needed payment channels: alipay_qr (Alipay QR), wx_scan (WeChat QR), etc.
Step 5: Configure Split Account
If split account feature is needed, configure split accounts and split rules.
Step 6: Save and Test
Use small amount orders to test each payment channel.
Payment Channel Description
alipay_qrUser scans QR code to pay
alipay_wapMobile web payment
wx_pubJSAPI payment in public account
wx_litePayment in mini program
wx_scanUser scans QR code to pay
Notes
- RSA private key should be kept safe, do not leak
- Callback URL must be HTTPS
- Split accounts need to be created in Adapay platform first
- Different payment channels may have different configuration requirements