What gateways does Alipay have? Which gateway should I use when integrating sandbox environment and online environment?
For Sandbox:
https://mapi.alipaydev.com/gateway.do
Alipay production environment currently has the following gateways:
1.https://globalmapi.alipay.com/gateway.do
Overseas Acceleration Gateway, the server's gateway in Singapore, Hongkong and United States, it's recommended to use this gateway.
2. https://mapi-hk.alipay.com/gateway.do
The server gateway is in Hong Kong, with dedicated lines in Hong Kong and mainland China, so merchant servers will transmit much faster if they are outside of China. Have a fixed IP.
3. https://intlmapi.alipay.com/gateway.do
The gateway uses the Akamai CDN service, and your request is routed to the nodes of the nearest Akamai network and then to the Alipay server in mainland China via the best network. But there is no fixed IP.
4. https://mapi.alipay.com/gateway.do
The gateway server has a fixed IP in mainland China. If the merchant server is not in China, we do not recommend using it.
问题
支付宝国际有哪些网关?我在沙箱环境和线上环境集成时,分别应该用哪一个网关?
解答
支付宝沙箱环境网关
https://mapi.alipaydev.com/gateway.do
支付宝正式环境目前有以下几个网关:
1.https://globalmapi.alipay.com/gateway.do
海外加速网关,该服务器网关在新加坡,香港和美国,推荐使用该网关。
2. https://mapi-hk.alipay.com/gateway.do
该服务器网关在香港,在香港和中国内地有专线,所以商家服务器如果在中国以外的地区传输会快很多。有固定的IP.
3. https://intlmapi.alipay.com/gateway.do
该网关用的Akamai CDN服务,您的请求会被路由到最近的Akamai网络的节点,然后通过最好的网络到达在中国内地的支付宝服务器。但是没有固定的IP.
4. https://mapi.alipay.com/gateway.do
该网关服务器在中国内地,有固定的IP,如果商家服务器不在中国,我们不建议使用该网关。
NEED HELP?