Supported workflows
| Workflow | Supported |
|---|---|
| Payrails SDK | ✔ |
| Payrails API | ✔ |
| Delayed / Manual Capture | ✖ |
| Instant Capture | ✔ |
| Cancel / Void | ✖ |
| Refund / Reverse | ✔ |
| Save Instruments | ✖ |
| Merchant Initiated Transaction (MIT) | ✖ |
Before you begin
Complete these steps before you send your first WeChat Pay payment through Nuvei:- Set up a Nuvei integration in your workspace. Follow the Nuvei integration setup guide if you don’t have one yet.
- Ask Nuvei to enable WeChat Pay on your Nuvei merchant account.
- In the Payrails Portal, go to Settings → Integrations, open your Nuvei integration, select WeChat Pay under Payment methods, and save.
- Add WeChat Pay as a payment option in your workflow.
Request fields for Nuvei
Send these fields in the authorize request, in addition to the standard authorize fields. Required fields must be present for the payment to succeed. Payrails sends Optional fields to the PSP when you include them.Authorize a WeChat Pay payment
Call authorize a payment withweChatPay as the paymentMethodCode. The response includes the redirect to the Nuvei page that shows the WeChat Pay QR code.
Authorize request
success or error URL. Confirm the result through webhook notifications or the execution status before you fulfill the order.
How Nuvei handles WeChat Pay
- Payrails sends WeChat Pay to Nuvei only for customers in China. A missing
meta.customer.country.codereturns an error, and any value other thanCNreturns an error. - Payrails sends WeChat Pay payments to Nuvei as a sale, so Nuvei captures the payment when the customer confirms it.
- Nuvei has no test environment for WeChat Pay. Test with low-value payments in live mode.