Processing Alipay Transactions

Processing Alipay Transactions
Initiating a Payment
To initiate a payment:
Step 1
Set the ics_applications field to ics_ap_initiate.
Step 2
 
Set the value of the ap_payment_type field to APD for a web payment or ADM for a mobile payment. The same value must be used in the follow-on Check Payment Status request and the Refund request.
For detailed descriptions of all request and reply fields, see API Fields. For an Initiate Payment example, see Initiate Payment Example.
 
Checking Payment Status
To check the status of a payment:
Step 1
Set the ics_applications field to ics_ap_check_status.
Step 2
 
Set the value of the ap_payment_type field to APD for a web payment or ADM for a mobile payment. The same value must be used in the follow-on Check Payment Status request and the Refund request.
ap_initiate_request_idreturned in the initiate payment service reply. See Reply Fields.
For detailed descriptions of all request and reply fields, see API Fields. For a Check Status example, see Check Payment Status Example.
 
Refunding a Payment
 
To refund a payment:
Step 1
Set the ics_applications field to ics_ap_refund.
Step 2
 
Set the value of the ap_payment_type field to APD for a web payment or ADM for a mobile payment. The same value must be used in the follow-on Check Payment Status request and the Refund request.
ap_initiate_request_idreturned in the initiate payment service reply. See Reply Fields.
For detailed descriptions of all request and reply fields, see API Fields. For a Refund Payment example, see Refund Payment Examples.
To refund a transaction using the Business Center:
Step 1
Step 2
In the left navigation panel, choose Transaction Search > General Search. The General Search page appears.
Step 3
Check Search for an application or transaction type.
Step 4
Select Alternative Payment Initiate.
Step 5
Step 6
Click Search. The Transaction Search Results page appears.
Step 7
Click the transaction request ID link. The Transaction Search Details page appears.
Step 8
Under the heading Available Actions, click Refund. The Alipay Refund page appears.
Step 9
Step 10
Step 11
Click Refund. The Transaction Search Details page appears.
 
Viewing Transactions in the Business Center
Log in to the Business Center to search for and view transactions. Use the transaction search option to find and view transactions that you need to review or refund.
To find and view a transaction:
Step 1
Step 2
In the left navigation panel, choose Transaction Search > General Search. The General Search page appears.
Step 3
Check Search for an application or transaction type.
Step 4
Step 5
Step 6
Click Search. The Transaction Search Results page appears.
Step 7
Click the request ID link of the transaction. The Transaction Search Details page appears.