Sheng Pay
Channel Overview
Sheng Pay's aggregated payment channel supports WeChat, Alipay, and UnionPay across QR code, JSAPI, APP, and barcode acquiring. DaxPay integrates via the Sheng Pay SDK, offering both standard merchant and ISV (service provider) access modes.
Supported Payment Methods
- WeChat: QR (merchant-presented), Official Account JSAPI, Mini Program, APP, barcode (user-presented)
- Alipay: QR (merchant-presented), JSAPI, APP, PC web, barcode (user-presented)
- UnionPay: QR (merchant-presented), JSAPI quick pay, barcode (user-presented)
Access Modes & Configuration
Standard Merchant Mode
The merchant connects to Sheng Pay directly. Add the channel in the admin console under "Channel Management" and configure:
- Sheng Pay merchant ID (shengMchId)
- Sheng Pay app ID (sdpAppId)
- Merchant RSA private key (Base64, PKCS#8 or PKCS#1)
- Sheng Pay RSA public key (Base64, for verification)
ISV (Service Provider) Mode
The service provider maintains keys centrally, with sub-merchants bound per row. Configure in the product-level global key table first, then bind sub-merchants to the corresponding product:
- Payment product (product)
- Sheng Pay merchant ID (shengMchId)
- Merchant RSA private key (Base64, PKCS#8 or PKCS#1)
- Sheng Pay RSA public key (Base64, for verification)
Signature
SHA1WithRSA (sign type reported as RSA; merchant private key signs / Sheng Pay public key verifies)
Callback Handling
- Supports asynchronous notifications for both payment and refund
- Configure the callback URL on the Sheng Pay merchant platform
Notes
- Private keys generated on the Sheng Pay merchant platform may come in PKCS#1 format (
BEGIN RSA PRIVATE KEY); both formats are supported, no manual conversion needed - In ISV mode, keys are configured at the product level and shared by all sub-merchants, no repeated entry required