Are you looking for test card numbers?

Would you like to contact support?

No momento, esta página não está disponível em português
Payment-method icon

WeChat Pay Drop-in integration

Add WeChat Pay to an existing iOS Drop-in integration.

On this page, you can find additional configuration for adding WeChat Pay to your Drop-in integration.

Before you begin

This page assumes you've already:

API reference

You don't need to send additional fields for WeChat Pay. To see optional fields that you can send for all payment methods, choose the endpoint you integrated:

Drop-in configuration

If your integration uses iOS Components v5.0.0 or later, configure and create an instance of the WeChat Pay Component:
//Create a payment method object for WeChat Pay.
let paymentMethod = paymentMethods.paymentMethod(ofType: wechatpaySDKComponentPaymentMethod.self)
//Create a configuration object for the WeChat Pay Component.
var wechatpaySDKComponentConfiguration = wechatpaySDKComponent.Configuration()
//Set additional parameters on the configuration object.
wechatpaySDKComponentConfiguration.localizationParameters = //Optional custom localization parameters.
There is no required WeChat Pay specific integration for Components.

Test and go live


WeChat Pay currently has no test platform. If you have a personal WeChat account you can test your integration by either:

  • Cancelling the transaction when you are asked to verify the payment (recommended).
  • Making live WeChat Pay payments with a low value.

You can check the status of a WeChat Pay payment in your Customer Area > Transactions > Payments.

Before you can accept live WeChat Pay payments, you need to submit a request for WeChat Pay in your live Customer Area.

See also