How do I use the SDK for UnionPay payment?
Is there a detailed process for providing mobile website UnionPay payment? Thank you very much.
Reply content:
How do I use the SDK for UnionPay payment?
Is there a detailed process for providing mobile website UnionPay payment? Thank you very much.
1, the user orders, collect the total price of the products in the shopping cart
2, the assembling payment parameter URL jumps into the payment gateway to pay (this will use the SDK provided by the payment gateway)
3. Successful Payment
(1) The Payment gateway server will send the notification of payment success asynchronously to your "notification URL", you validate the parameters that come from the payment gateway, make sure the business logic is processed, such as setting up the order completion identification, etc.
(2) Note this is not a "return url", this step is not seen by the front-desk payment user.
4, the gateway generally after the completion of payment, will automatically return to our site, after entering the website prompts the user to complete the payment, and jump to the corresponding page.