Going Live
You can integrate the demo code or write your own code and run in Alipay production environment. If you use demo code, change the following settings:
Change the Gateway
Change Alipay gateway to production URL in the AlipaySubmit.java file: https://api-sea-global.alipayplus.com/gateway.do?
Get the production PID and key
Go to Alipay Merchant Portal and log in with your user ID. Click Account Details or Security Settings after login. You can check your PID and Keys.
The PID is an identification number that is used frequently when you are using Alipay solutions. This PID is tied to the Email that you use to login the merchant portal. You can always check your PID here when you forget.
Note: The partner ID is composed of 16 digits and begins with 2160.

The MD5/RSA/RSA2 Keys already been setup can be viewed at API Key Management.
Note:The MD5 key is no longer be support for new onboard merchant.

The RSA2 key need to be created by using the OpenSSL tool or Alipay API tool.For more information about generating keys, see RSA2 Key Generation Tools and Validation.
Configure the account and key
Change the account and key to your real ones in the AlipayConfig.java file.
