alt

Important information

The API reference is now available here.
The deprecated API reference is available here.

Unzer

WeChat Pay

Learn more about WeChat Pay and its workflow

WeChat pay is a Chinese payment method tied to the most popular messaging service in China. Your customer pays via QR code using either the balance from their WeChat wallet or a bank account linked to the wallet. Many Chinese customers use WeChat as their primary app for most of their mobile needs, so they naturally find it the most convenient way to pay.

If you serve many Chinese customers, it is strongly recommended that you offer WeChat Pay.

As a merchant, you must have your own WeChat account to offer this payment method.

Available inSupported currenciesRedirectRefundPartial RefundReversalChargebackRecurringPayoutPay laterUnzer Secured
AT, BE, DK, FI, FR, DE, ES, GB, GR, HU, IE, IS, IT, LI, LU, MT, NL, NO, PT, SECHF, CNY, EUR, GBP, USDtickticktickcrosscrosscrosscrosscrosscross

Advantages

  • Convenience: Your customer can quickly pay by scanning a QR code with their WeChat app.
  • Smooth checkout flow on mobile or desktop
  • Preferred payment method for Chinese customers

Payment workflow

The following diagram explains workflow for Alipay payments.

WeChat Workflow

Step 1: Create a WeChat Pay payment type resource.

A resource ID is generated in the response and is used in the workflow to complete the payment.

Step 2: Make a charge transaction with the WeChat Pay resource that you created.

Step 3: Forward the customer to the redirectUrl that is displayed in the charge response.

Step 4: Once the customer makes the Alipay, redirect the customer to the returnURL specified in the initial charge call.

Step 5: After the transaction, display the result to the customer in the front end of the online shop.

Integration options

Quickly integrate with Unzer without any programming knowledge

Use pre-built, configurable all-in-one pages with your own mix of payment methods

Use pre-built forms and quickly integrate with minimum work on the client side

Integrate with Unzer using your own payment form