Mini Program Payment

Users pay for goods or services in Mini Programs created inside WeChat.
Mini Programs are especially suitable for diverting users from offline stores to online shopping. This breaks down geographical barriers and encourages users to make repeat purchases.
Merchants accept payments in a Mini Program by calling the WeChat Mini Program payment API. WeChat users open the merchant’s Mini Program, place an order, enter their payment password to complete the payment, and then return to the merchant's Mini Program.

How to set up WeChat Pay

The Mini Program Appid is linked to the Merchant ID. Note: The service provider's Appid cannot be linked to a Submerchant ID. Only an Appid belonging to a submerchant can be linked to a Submerchant ID. The Appid and the Merchant ID entity must be the same.

User payment flows

User opens a Mini Program in WeChat and selects product(s) > User confirms shopping cart (optional) > User is taken to the payment screen and enters payment password to confirm the transaction > Payment is completed and confirmation sent to the merchant and user.

  1. User opens a Mini Program in WeChat and selects product
  2. User confirms shopping cart
  3. User is taken to the payment screen and enters payment password to confirm the transaction
  4. Payment is completed and confirmation sent to the merchant and user

Next