This error might occur if your Merchant account ID (Partner ID) does not match the Alipay gateway you are using.
Please send your request to the correct end point:
Test environment: https://mapi.alipaydev.com/gateway.do?
Production environment: https://mapi.alipay.com/gateway.do?
Not helpful? Contact Us