How to use UnionPay payment sdk
Does anyone provide the detailed process of UnionPay payment on the mobile website? Thank you very much
How to use UnionPay payment sdk
Does anyone provide the detailed process of UnionPay payment on the mobile website? Thank you very much
1. The user places an order and collects the total price of the products in the shopping cart
2. Assemble the payment parameter URL and jump to the payment gateway for payment (the SDK provided by the payment gateway will be used here)
3. Payment Success
(1) The payment gateway server will asynchronously send a payment success notification to your "notification URL". You verify the validity of the parameters passed to ensure that they are sent from the payment gateway, and perform business logic processing, such as Set the order completion flag, etc.;
(2) Note that this is not the "return URL", and the front-end payment user will not see this step.
4. The gateway will usually automatically return to our website after completing the payment. After entering the website, the user will be prompted to complete the payment and jump to the corresponding page.