Pay flow
The following business flow shows how an Alipay payment integration works. The process involves the customer, the merchant, and Alipay.
In the context of the Merchant QR Code payment, the QR Code permanently represent the mechant’s counter. Thus, whenever a customer needs to pay an order, the customer just needs to scan the QR Code to enter the amount to pay and then confirm the payment, and the Alipay will send a notification then.
Upon receiving the notification of a payment from Alipay, the merchant need to verify the signature and validate the information sent back in the notification with the customer’s payment details.