X hide

Magento Alipay Login Configuration

From Plumrocket Documentation

You are viewing:  Social-login-pro-icon-32.png  Social Login Pro

Alipay-icon.png AliPay(alipay.com)

Description: Alipay is a third-party online payment platform with no transaction fees, it has the biggest market share in China with 300 million users. Alipay operates with more than 65 financial institutions including Visa and Mastercard. It currently supports transactions in 14 major foreign currencies.
Protocol OAuth 2
Returned Data UserId, name, gender, birthday, photo
Requires SSL? No


How to Configure AliPay API for Magento

In this article you will learn how to obtain your AliPay API credentials in order to setup the AliPay Login functionality. Please follow the step-by-step instructions below.
Please note: customers who speak Chinese can use this online documentation guide.


Attention green.png Important Information:

All the screenshots have been translated from original Chinese language to English using Google Chrome translate functionality.


First, you need to create AliPay account. In order to do so, please go to auth.alipay.com/login/index.htm.

Information Sign sm.png Step-by-Step action:
  1. Press "Register" link to create your account.


Alipay login api setup 1.1.jpg


Information Sign sm.png Step-by-Step action:
  1. Select your country.
  2. Enter your mobile phone number.
  3. Press on "Get verification code" button to get a verification code in a text message on your phone.
  4. Enter the code you received in SMS text message.
  5. Press "Next" button to proceed.


Alipay login api setup 1.2 v2.jpg


On this step of your AliPay account registration you will be requested to enter your ID details.


Information Sign sm.png Step-by-Step action:
  1. Enter your password in '"Login password" field. Use numeric characters (0-9), special characters (e.g.!@#$%), upper case (A-Z) and lower case(a-z) letters.
  2. Enter "Payment password". Use only 6 numeric characters (0-9).
  3. "Security question": select the question which will help to retrieve the password in case you forget it.
  4. "Your Identity": specify your personal information: First Name, Last Name, gender.
  5. "Certificate type":select your ID type e.g. your driving license ID, your passport ID etc.
  6. "ID number": enter your ID number.
  7. "Validity": enter the expiration date of the document specified in the field above.
  8. "Occupation": enter the type of your occupation.
  9. Address in China":if you are from China, enter your home address, if you are not from China, select "Overseas" option.
  10. Specify your home address in this field.
  11. Once you filled in all the fields, press "Submit" button.


Alipay login api setup 1.3-v1.jpg


Information Sign sm.png Step-by-Step action:
  1. Once you have registered your account you need to log in. In order to do so, please go to auth.alipay.com/login/index.htm.


Alipay login api setup 1.4.jpg


Information Sign sm.png Step-by-Step action:
  1. Once you are logged in, you need to verify your Alipay account. Please, go to certify.alipay.com/choose.htm


Alipay login api setup 2.1.jpg


In this part enter your bank card information in order to verify your AliPay account.


Information Sign sm.png Step-by-Step action:
  1. "Bank card number": in this field enter your bank card number - 16 digits number on the front-side of your card.
  2. "Cardholder's name": in this field enter the name specified on your card number.
  3. "Credentials": select ID type and specify your ID number in this field.
  4. "Cellphone number": enter your mobile phone number in this field.
  5. Press "Next" button to proceed.


Alipay login api setup 2.2.jpg


After you verified your account, you can create AliPay login application. Please go to the following page: openhome.alipay.com/platform/manageApp.htm.

Information Sign sm.png Step-by-Step action:
  1. Select "Create Application" button to create AliPay API.


Alipay login api setup 3.1-V1.jpg


Information Sign sm.png Step-by-Step action:
  1. Select "Web application development" option to create your AliPay web application.


Alipay login api setup 3.2.jpg


After you selected "Web application development" follow the steps below.


Information Sign sm.png Step-by-Step action:
  1. Fill in the name of the application. After submitting the form - new page will be opened which shows awaiting time of your application approval, it can take up to two days.
  2. After application approval, go to the "Function information" page > find the "Quick Login" option > click on the "Subscribe" button.


AliPay Integration in Magento Social Login Pro Extension

In this step you must update your Magento Social Login Pro Extension configuration. In your magento admin panel, go to "System" -> "Configuration" -> "Plumrocket Inc" -> "Social Login Pro" -> "AliPay" Tab.


Information Sign sm.png Step-by-Step action:
  1. Paste API Key into according field of your "AliPay" backend tab.
  2. Insert Secret key into according field of your "AliPay" backend tab.
  3. Press "Save Config" to save your settings.


Magento alipay login configuration.jpg


Configuration of AliPay Magento Social Login application is now completed


AliPay Integration in Magento 2 Social Login Pro Extension

In this step you must update your Magento 2 Social Login Pro Extension configuration. In your magento 2 admin panel, go to "Plumrocket" tab in the main menu -> "Social Login Pro" section -> "Configuration" -> "AliPay" Tab.


Information Sign sm.png Step-by-Step action:
  1. Paste API Key into according field of your "AliPay" backend tab.
  2. Insert Secret key into according field of your "AliPay" backend tab.
  3. Press "Save Config" to save your settings.


Magento 2 alipay login configuration.jpg


Configuration of AliPay Magento 2 Social Login application is now completed.


Next Step > Return to Social Login Pro API Reference

Navigation