Search code examples
apipayment-gatewaysandboxalipay

AliPay sandbox environment (API for testing)


I am developing server side (back-end) app and I need integrate with AliPay:

But I can not find sandbox URL, so I can test my integration before going live to production. What is the testing API url (sandbox)?

Thanks a lot in advance!


Solution

  • I'm using

    var $gateway = "https://mapi.alipay.com/gateway.do?";
    var $gatewayTest = "https://openapi.alipaydev.com/gateway.do?";