Using Alipay International Services

Using Alipay International Services
 
All Alipay international payments are processed in Renminbi (RMB). You must capture the required billing and shipping information as part of the checkout process. Alipay does not provide this information to merchants. Alipay monitors their systems for problems; however, CyberSource recommends that you monitor their customer dropout rates.
Alipay International Services
Initiate Payment Service
The initiate payment service illustrated in Figure 1 is described in detail below.
Figure 1
The Alipay international payments web site is a real-time payment solution enabling international merchants to trade in China. The payment process is as follows:
1
 
CyberSource recommends that you detect the customer’s payment device and include the appropriate value in the apPaymentType field: APY for a web payment (personal computer or laptop) or AYM for a mobile payment (handheld device).
2
3
4
The customer is redirected to the URL that CyberSource sent to you in number 3. This URL directs the customer to their Alipay account.
5
The customer logs in to their Alipay account or creates a new account. requested amount, The RMB amount, and the exchange rate are displayed. The payment is not visible to you as the merchant, and the customer can cancel without your knowledge.
6
7
8
Merchant URL Parameters
The merchant URL consists of the following parameters. See apInitiateReply_ merchantURL.
Check Status Service
 
When the customer is redirected to your web site after making a payment, you must request the status of the payment at the recommended intervals listed below to receive the most recent status of the payment. The status confirms whether the payment was accepted or not between the customer and Alipay. Checking payment status is a follow-on transaction that uses the request ID returned from the initiate payment request. The initiate payment request ID links the check status request to the payment transaction.
If the payment status is PENDING, wait 1 hour before trying again. Recommended intervals are:
If the payment status does not change to COMPLETED after 12 hours, do not send further payment requests. After 12 hours, the status changes to ABANDONED.
Refund Payment Service
A refund is a follow-on transaction that uses the request ID returned from the initiate payment request. The request ID links the refund transaction to the payment transaction.
Supported Payment Types
Alipay International Services support two payment types: web payments and mobile payments.
Include the APY value in the apPaymentType request field for the Initiate Payment request, the follow-on Check Payment Status request, and the Refund request.
Include the AYM value in the apPaymentType request field for the Initiate Payment request, the follow-on Check Payment Status request, and the Refund request.