Alipay
Channel Overview
Alipay is one of China's largest third-party payment platforms. DaxPay supports both direct and service provider integration modes.
Supported Payment Methods
- QR Code Payment: User scans merchant's QR code
- JSAPI Payment: Payment within webview (WeChat Official Account/Alipay)
- APP Payment: Launch Alipay app from merchant app
- H5 Payment: Mobile browser payment
- Mini-program Payment: Alipay mini-program payment
Configuration
Add the Alipay channel in the Admin panel under "Channel Management":
- PID (Merchant ID)
- AppId (Application ID)
- Merchant Private Key
- Alipay Public Key
- App Public Key Certificate (optional)
Callback Handling
- Sync Callback: Redirect URL after payment completion
- Async Notification: Server-to-server payment result notification
Notes
- Ensure server IP is whitelisted in Alipay
- Certificate mode is recommended for security
- Additional sub-merchant configuration for service provider mode