Agent Platform Settings: Alipay Interface

Published: 2020-10-09

```html

1.The agent platform needs to be upgraded to a version later than v11.13; upgrading to the latest version is recommended

2. The host must support .net4.0. If the agent platform is provided by our company free of charge, please submit a ticket and our technical staff will enable .net4.0 support

3. Use the 支付宝开放平台 Development Assistant to generate the public key/private key with the settings shown in the figure. Note that the key format should be selected as "Not for Java"

Development Assistant download address:

  • WINDOWS (For the Windows version tool, please do not install it in a directory path containing spaces; otherwise, it will cause garbled public/private keys)

  • MAC_OSX

  • 1. After downloading, install it. After completion, generate the key according to the figure below.

image.png

image.png


2. Convert this to PKCS1 format


3. Copy and fill the converted content into the application private key in the agent backend. The 支付宝 appid also needs to be obtained from the application created in 支付宝; it is a string in all-digit format.

image.png


4. For the next steps, log in to 支付宝开放平台 

https://open.alipay.com/develop/manage

Find the payment API settings section

image.png

image.png

5. Copy the application public key from the tool assistant and fill it into the corresponding application public key in 支付宝开放平台, then click Save to confirm 

image.png


6. At this time, 支付宝开放平台 will automatically generate the 支付宝 public key. Copy the 支付宝 public key and fill it into the 支付宝 public key field in the agent platform

image.png


  • 7. Save the agent platform system settings. At this point, the three 支付宝 items: appid   application private key   and 支付宝 password have all been set up.



```