Skip to content

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

Closed

Description

@leiorixsoft

文档地址: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不匹配的错误码。

Activity

  1. added a commit that references this issue on Jun 27, 2017
  2. binarywang commented on Jun 27, 2017

    @binarywang
    Owner

    2.7.1.BETA测试版本 已修复

  3. added a commit that references this issue on Sep 2, 2017
  4. Hard-bitten commented on Jan 16, 2018

    @Hard-bitten

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

  5. binarywang commented on Jan 17, 2018

    @binarywang
    Owner

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

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions