How a WeChat Pay payment works
WeChat Pay is a QR code payment method:- The customer selects WeChat Pay at checkout.
- Payrails sends the payment to the PSP, and the PSP returns a QR code for the payment.
- The customer scans the QR code with the WeChat app and confirms the payment.
- Payrails receives the final result from the PSP and updates the payment.
Supported currencies and countries
The presentment currencies depend on the PSP:
WeChat Pay is available to customers based in:
| Regions | Countries |
|---|---|
| Asia Pacific | 🇨🇳 China |
Integrate WeChat Pay
Choose the PSP that processes WeChat Pay for you. Each guide covers the PSP-side setup, the Payrails configuration and the request fields that PSP requires.Checkout.com
WeChat Pay via Checkout.com
Nuvei
WeChat Pay via Nuvei
Worldpay
WeChat Pay via Worldpay
Check PSPs
| Workflow | Checkout.com | Nuvei | Worldpay |
|---|---|---|---|
| Payrails SDK | ✔ | ✔ | ✔ |
| Payrails API | ✔ | ✔ | ✔ |
| Delayed / Manual Capture | ✖ | ✖ | ✖ |
| Instant Capture | ✔ | ✔ | ✔ |
| Cancel / Void | ✖ | ✖ | ✖ |
| Refund / Reverse | ✔ | ✔ | ✔ |
| Save Instruments | ✖ | ✖ | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ | ✖ | ✖ |
Ways to integrate WeChat Pay
- Payrails SDK: the Web SDK shows WeChat Pay when your workflow returns it as a payment option, and redirects the customer to the QR code page. To control how the redirect opens, listen for the
actionRequiredevent. - Payrails API: call lookup payment options, then authorize with
weChatPayas thepaymentMethodCode. Each PSP guide lists themetafields that PSP requires.
success URL as proof of payment.