Documentation

1Alipay Signup Documentation

The Singup documentation explains to you quickly how you are able to get your own Alipay account. This is a requirement in order to start processing transactions.

There are two different Alipay integrations:

  • Alipay China is for chinese merchants: customer pays RMB, merchants get RMB

  • Alipay Global is for foreign companies: customer pays RMB, merchants get USD etc.

Note
The application only integrated Alipay Global.

When you create a processor configuration under Space > Payment > Configuration > Processors you have the option between a Sandbox and Production account.

1.1Alipay Sandbox Account

The Sandbox account is already pre-poulated with Alipay credentials for a Standard test account when you create a processor configuration for Alipay.

1.2Alipay Production Account

Before we can start with the configuration of the Alipayproduction Processor you will have to get an account. To get a production account go to https://global.alipay.com/ and signup for an account. Inside the signup process you can apply for the Cross-border Online Payment Product at Alipay by clicking on the apply button.

Apply Alipay Live Account
Figure 1. Apply for a Alipay Live Account.

One your application has been approved you will receive the credentials for the live account.

2Configure Alipay Production Account

Once you finalized your application for Alipay and it has been reviewed you can switch to the production mode.

2.1Create Alipay Processor

Alipay will provide you with a Partner ID that you put into the processor configuration under Space > Payment > Configuration > Processors.

After your stored the configuration you will have to create a the Alipay public key to send this to Alipay. In order to do this go to Space > Payment > Configuration > Processors.

Click on the Manage Keys button on the top corner:

  1. Click on Generate a New Key if you have not already or select the generated key. Thhis will generate a new keypair. You can also disable or delete keys in this screen.

  2. In order to activate your account you will have to click on the arrow to download your key as .pem file. Download this key and send it to Alipay. Please send your RSA public key to overseas_support@service.alibaba.com, together with your <a href="https://global.alipay.com/service/declaration/7">PID</a>, for upload.

Create Alipay Keys
Figure 1. Download the generated keys and send this to your Alipay Account manager to activate your account.

Please provide this key to Alipay.

2.2Create Payment Method Configuration

Once you stored your payment credentials you are able to use the Connector Wizzard to generate the payment method and connector for you. Just click on Configure Connectors and you will be asked which connector you want to generate.

Create Alipay Keys
Figure 2. Use the Connector Wizzard to generate the available connectors.

For more information about the processor concept and how this work have a look at our Payment Documentation.

2.3Which API Do I Need To Use

Alipay provides two API the standard Cross-Border-Online Payments and the New Cross Border Online Payments. By default we activate the Standard Cross-Border Online Payments. In case you test and you see an ACCESS FORBIDDEN message on the payment page, try to switch the account type first.