The main differences between testing in sandbox environment and in production environment are the interface accesses, parameters, and configurations.
The differences in interface accesses are listed below:
The differences in parameters and configurations are listed below:
PID
Keys
Use the specific service address for sandbox environment and production environment:
Environment | HTTPS request URL |
Production environment | |
Sandbox environment |
正式环境需要签约对应接口权限,不能调用未签约的接口。
沙箱环境目前支持部分接口测试,您可以在沙箱平台自助获取沙箱测试商户PID,以调用境外当面付、境外收单、海外代扣、境外收单(香港)等相关接口。
(1)正式环境下需要使用签约后获得的PID调用接口;沙箱环境下则使用沙箱平台提供的沙箱测试商户PID进行调用。
(2)正式环境下目前请联系支付宝国际技术支持团队overseas_support@service.alibaba.com为您上传RSA/RSA2公钥后,可获取支付宝国际RSA/RSA2公钥;沙箱环境下商户可以自助上传RSA/RSA2公钥后,您可以直接在沙箱平台获得沙箱支付宝国际RSA/RSA2公钥。
(3)支付宝网关:
正式环境支付宝国际网关:https://intlmapi.alipay.com/gateway.do
沙箱环境支付宝国际网关:https://mapi.alipaydev.com/gateway.do
NEED HELP?