Integrating/running in production
Interactive Pattern between Merchant’s System Request and Alipay Response:
Merchant can integrate the demo code into or write their own code and run in Alipay production. If use java demo code, please change the ALIPAY_GATEWAY_NEW in AlipaySubmit.java as below recommended:
- Use gateway:
https://mapi.alipay.com/gateway.do? - To integrate with interface, it is required to transfer data with digital Singature. There are 3 methods available for sign. MD5/RSA and DSA. The MD5 key can be download from Alipay global portal. RSA/DSA key needs to exchange offline.
If use demo code, please change the account and key information to the merchant’s real account in AlipayConfig.java.