Before you can develop an Alipay mini program with EMAS Serverless, you must configure the mini program in the console.
Prerequisites
You have created a mini program on the Ant Financial Open Platform.
You have obtained your application's private key. For more information, see Generate a key.
You have configured a public key for your Alipay mini program. For more information, see Generate and configure a key.
Log on to the EMAS console, select Serverless, and then click Enter.
In the navigation pane on the left, select Settings.
Click the Alipay tab, and then click Add.
Enter your private key.
You can use an RSA key generation tool to generate the key. For more information, see Generate a key.
Enter the public key that is configured for the Alipay mini program. To view the public key, perform the following steps:
Log on to the Ant Financial Open Platform.
On the mini program details page, in the navigation pane on the left, click Development Settings.
In the Interface Signature Method area, click View.
Copy the Alipay public key and then paste it into the configuration for the Alipay mini program in the EMAS console.
Click OK to complete the process.