alt
Unzer
UnzerAI

UnzerAI

The responses generated by AI may include errors.

UnzerAI

Welcome to UnzerAI!

I'm here to help you with questions about Unzer's payment integration, APIs, and documentation.

Ask questions about Unzer and get help with your integration.

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.


Payment typeAvailable inSupported currenciesFeaturesIntegrationsAPI endpointAPI prefix
WalletAT, BE, DK, FI, FR, DE, ES, GB, GR, HU, IE, IS, IT, LI, LU, MT, NL, NO, PT, SECHF, CNY, EUR, GBP, USD
Not supported Authorize
Supported Charge
Not supported Reversal
Supported Refund
Supported Partial Refund
Not supported Chargeback
Not supported Recurring
Not supported Payout
Not supported Pay later
Not supported Unzer Secured
Supported B2C customer
Supported B2B customer
Supported Payment Pages
Supported UI Components
Supported Direct API
Supported PHP SDK
Supported Java SDK
Supported Plugins
/types/WeChatPaywcp

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

Assets

wechat-pay-logo

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