Skip to main content

JSAPI Flowchart


WeChat

Key Steps:

  • Step 2 Merchant mini-program initiates the order and receives parameters for payment invocation.
  • Step 9 Merchant mini-program uses the parameters received from the order to invoke WeChat SDK's payment method for initiating WeChat Pay.
  • Step 12 After the payment is completed, the merchant receives an asynchronous notification of the payment result. If not received, manual querying is required.

Alipay

Key Steps:

  • Step 1 Merchant mini-program initiates the order and receives parameters for payment invocation.
  • Step 6 Merchant mini-program uses the parameters received from the order to invoke Alipay SDK's payment method for initiating Alipay.
  • Step 9 After the payment is completed, the merchant receives an asynchronous notification of the payment result. If not received, manual querying is required.