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

关于服务商模式下统一下单接口增加sub_openid字段 #255

Closed
leiorixsoft opened this issue Jun 26, 2017 · 3 comments
Closed

Comments

@leiorixsoft
Copy link

leiorixsoft commented Jun 26, 2017

文档地址:https://pay.weixin.qq.com/wiki/doc/api/jsapi_sl.php?chapter=9_1
现在代码里:WxPayUnifiedOrderRequest中的openid是服务商appid下对应的openid,不是sub_appid下对应的openid,而服务商模式下要求参数sub_openid没有给值,所以微信返回openid和appid不匹配的错误码。

@binarywang
Copy link
Owner

2.7.1.BETA测试版本 已修复

@Hard-bitten
Copy link

@binarywang 这里的问题依旧存在啊 虽然增加了sub_openid 但是我们没有办法得到服务商appid对应的openid 所以也没有办法完成支付

@binarywang
Copy link
Owner

谢谢提出这个问题,准备将相关判断逻辑去掉 @Hard-bitten

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

No branches or pull requests

3 participants