Alipay, China's leading third-party online payment solutionAlipay, China's leading third-party online payment solutionDOCS

      Integration preparation

      This page is about how to make a merchant registration and how to complete merchant set-up. The following graphic illustrates steps of a complete system development process.

      preparation.jpg

      Figure 1. System development process


      #Registering an account

      Skip this step if you already have an account

      If you do not have an account, contact Alipay technical support to get information about registering an account. Besides, you must sign a contract with Alipay to become an Alipay business partner.


      #Logging in

      Log in to Alipay Developer Center with the account you created in previous step. Read and agree to Alipay Developers Terms of Use, and specify your integration mode.


      image.png

      Figure 2. Welcome page


      Now, you have completed the onboarding process and become an Alipay developer successfully.  Click Get Started to continue.


      image.png

      Figure 3. Quick start guide


      #Creating an application

      Set up a new application and select the products and scenarios by completing the following steps:


      1. Click Create Application and provide the required information to create an application.


      image.png

      Figure 4. Create the application


      image.png

      Figure 5. Enter application information


      1. Select the product and scenarios to integrate with and specify the currency. For one product, more than one scenario can be selected. However, if you want to integrate with more than one product, you must create more applications accordingly. In this case, select Global Cashier Payment for product, and API only for scenario.


      image.png

      Figure 6. Select the product and scenarios


      #Viewing development information 

      After creating the application, you can view your development information used in production environment and sandbox environment, such as Gateway Endpoint (Domain name) and Client ID.


      image.png

      Figure 7. Check the basic information


      #Configuring integration settings

      You can set public key and configure the endpoints that are used for receiving notifications.

      #Setting keys

      Asymmetric keys are used to secure your integration. You must upload your public key with Alipay Developers Center to exchange the Alipay public key. 


      1. In Integration Settings, click Set public key


      image.png

      Figure 8. Integration settings page



      1. Follow the wizard to download the tool and generate key pairs, then submit the public key of the key pair. You can also manually generate the RSA2 key pair, see Preparing keys for details. 


      image.png

      Figure 9. Set the public key


      1. After you submit your public key, under Alipay Public Key, you can view Alipay public key.


      image.png

      Figure 10. View Alipay public key


      In Testing Resources, the configuration of public keys for sandbox environment is similar.


      Note:

      When your public key is updated, remember to update the keys in your local code.


      #Setting notification endpoint

      Under Gateway URL, you can configure the endpoint that is used to receive notifications. 


      image.png

      Figure 11. Configure endpoint


      #More information

      Sandbox integration

      API list