Alipay is a Chinese e-wallet that belongs to AntFinancial, an affiliate of the Alibaba group, the largest e-commerce company in the world. When selecting Alipay, customers will be redirected to their hosted pages, enter their personal details and agree to the payment, before being redirected back to your website. Once completed, you will receive confirmation via a URL notification.



Supported customer countries No restrictions on customer countries.
Supported currencies
Protect Plus Supported.
Refunds Full and partial refunds supported.
Chargebacks Payments are not subject to chargebacks.




This integration supports Alipay WAP Payments (Wireless Application Protocol)

Before you can begin processing WAP Payments, you will need to contact Alipay and request your account is enabled for WAP Payments.


Click here to learn more about WAP Payments >>>

To enable this payment method on your account, please get in touch with your account manager.
A test sandbox account will be provided, which you will need when testing your implementation.
Modify your POST to Payment Pages as needed:


Field name Required by PPg Required in POST Description
applicationtype No Conditional Determines the payment interface displayed to the customer after they have been redirected to the checkout hosted by Alipay:

  • If this field is omitted from your request, the standard Alipay e-commerce checkout page is displayed to the customer (default behaviour).
  • If “WAP” is submitted – The transaction is processed using the Alipay WAP Payments interface (Wireless Application Protocol), which is primarily designed for use by mobile devices.

Note: Before processing transactions using WAP (both through the sandbox environment and with live payments), you will need to contact Alipay and request for WAP to be enabled on your Alipay account.

billingcountryiso2a Yes No The country entered for the billing address, using ISO2A format.
billingfirstname Yes No The billing first name.
billinglastname Yes No The billing last name.
Yes Yes Unique order reference that can be stored on Trust Payments and Alipay’s systems.
ruleidentifier No No
If your POST to the Payment Pages already includes all fields required by the payment method, you can streamline the checkout process for the customer by also submitting ruleidentifier=STR-14.


This allows the customer’s browser to immediately go to the pages hosted by the payment method to complete the transaction. (We refer to this as Workflow C)





Once a payment has been authorised, funds will be settled at a later time, as determined by Alipay.

The settlement notification may not be sent immediately after processing the payment.

In the unlikely event that payment is still pending settlement after 7 days (settlestatus “10”), this will be scheduled for investigation and we will contact you with further information.


Before you begin testing, we recommend that you contact our Support team and request that rules are enabled on your account, which submit URL notifications to your system in the following scenarios:


Configuring the authorisation notification

We recommend including at least the following fields in your authorisation notification:

*Please choose your preferred format.


Configuring the settlement notification

We recommend including the following fields in your settlement notification:


Check the notification

You will need to check the contents of each notification received and respond accordingly by following the processes outlined in the “URL notifications” section of our Action types page. In particular, you will need to look at the updated settlestatus value:




You will need to test your solution before you can begin processing live payments. Test transactions are processed through your test Site Reference.


You will need to contact our Support team, providing your Alipay test account details. We will then configure your test site reference to connect directly to the Alipay testing environment.

When performing test transactions, your browser will be redirected to the Alipay testing environment to simulate a payment. Other than this, the process will be exactly the same as processing live payments.




After processing a payment, it is possible to refund the customer using MyST.

Refunds for Alipay are settled immediately (settlestatus “100”).