Introducton

Users can use AlipayHK / AlipayCN to pay for the order placed in your mini program, this document introduces the payment integration by calling the my.tradePay API with orderStr.

image.png

  1. The user chooses goods in the mini program and creates an order, then presses theĀ Pay button in your mini program.
  2. The mini program calls JSAPI my.tradePay and pulls up the wallet checkout cashier.
  3. The user confirms the order information, such as the payee and amount, and make the payment.
  4. After confirming the payment, the wallet app displays the payment result and redirects the user back to the payment result page in your mini program.

Reference