Alipay is a third-party mobile and online payment platform. Alipay cross-border website payment gives buyers a simplified and secure payment experience that keeps them local to the merchants website throughout the payment process. Once integrated the Alipay online payment service, merchants should present an Alipay payment button on their website for the consumer to complete the payment and check out.
VRP is acting as acquirer thus a special process is required to capsule merchant and AliPay processes (see process overview down below). The idea behind is, that the merchant is only communicating with the VRP-Middleware (“VRP” in diagram) acting as a capsule for Merchant-VRP and for VRP-AliPay Processes. The middleware works RESTful.
The payment process starts by clicking on“pay”(or in this example “purchase”). The icon “AliPay” needs to be provided by the VRP middleware.
When choosing to buy with Alipay, the following QR code for payment will be shown alternatively the buyer can login to AliPay:
If the buyer confirms the payment in a mobile app (scan QR) or after login, the payment result will be returned afterwards.
For example, if the payment is successful, a page as below will be returned:
After several seconds, the page is redirected to VRP middleware.
When choosing to buy with WeChat, the following QR code page for payment will be displayed. This side is provided by VRP middleware.
After notification of successful payment, the page automatically redirects to the merchants shop, alternatively the customer can click “cancel” or “return to shop after payment finished”.