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

1

Step 1: Enter Payment Platform Management

In admin panel go to Payment Platform Management, find Adapay configuration item.

2

Step 2: Fill in Basic Information

Fill in App ID, API Key, RSA Private Key.

3

Step 3: Configure Callback URL

Set payment callback URL: https://yourdomain.com/api/v1/payments/notify/adapay

4

Step 4: Select Payment Channels

Enable needed payment channels: alipay_qr (Alipay QR), wx_scan (WeChat QR), etc.

5

Step 5: Configure Split Account

If split account feature is needed, configure split accounts and split rules.

6

Step 6: Save and Test

Use small amount orders to test each payment channel.

Payment Channel Description

alipay_qr
Alipay QR

User scans QR code to pay

alipay_wap
Alipay H5

Mobile web payment

wx_pub
WeChat Public

JSAPI payment in public account

wx_lite
WeChat Mini Program

Payment in mini program

wx_scan
WeChat QR

User 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