Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tomDogwow opened this issue Jun 15, 2021 · 1 comment
Open

Comments

@tomDogwow
Copy link

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

@Luncher
Copy link
Owner

Luncher commented Aug 11, 2021

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

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants