WeChat Pay
Channel Overview
WeChat Pay is Tencent's payment service within the WeChat platform. DaxPay supports both direct and service provider modes.
Supported Payment Methods
- JSAPI Payment: In-WeChat browser payment
- QR Code Payment: User scans QR code
- APP Payment: Launch WeChat from merchant app
- H5 Payment: Mobile browser payment
- Mini-program Payment: WeChat mini-program payment
Configuration
Add the WeChat Pay channel in the Admin panel under "Channel Management":
- Merchant ID (MchId)
- AppId
- API v3 Key
- Merchant API Certificate (serial number + private key)
- Payment callback URL
Callback Handling
- API v3 callback notification mechanism
- Callback URL must be configured in WeChat Pay merchant platform
- Callback signature verification (WeChat public key)
- Response must be returned within 5 seconds
Notes
- API v3 is recommended
- Different credentials for service provider vs. direct mode
- Ensure server IP is whitelisted
- Certificates require periodic renewal