alipay icon indicating copy to clipboard operation
alipay copied to clipboard

你好 在支付成功后通过 回调地址里面有appid等信息

Open tomDogwow opened this issue 4 years ago • 1 comments

在回调成功后的地址里面有 version=1.0 app_id sign_type=RSA2 等信息 如何关闭这个
还有就是 var result = service.createPageOrderURL(orderData, alipayBaseParams) 创建url后这个assert(result.code == 0, result.message)的作用是用来验证url是否存在吗 还是别的作用....求大佬解答

tomDogwow avatar Jun 15 '21 07:06 tomDogwow

创建url后这个assert(result.code == 0, result.message)的作用是用来验证url是否存在吗

在这个上下文里面 code 等于 0 就表示 创建pc端订单 这次调用是 ok 的。

在回调成功后的地址里面有 version=1.0 app_id sign_type=RSA2 等信息 如何关闭这个

这个是阿里 异步通知 携带过来的参数,目前看下来是不能屏蔽的。理论上商户应该不需要特别关心 versionappid_id 等信息才对,如果缺失了部分字段那么该通知信息的合法性可能无法保证了。

Luncher avatar Aug 11 '21 11:08 Luncher