收藏
回答

微信服务商合单下单-JS支付API接口调用报“受理机构必须传入sub_mch_id”?

微信服务商 “合单下单-JS支付API接口”调用报“受理机构必须传入sub_mch_id”? 不知道什么原因

https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/combine/chapter3_2.shtml

文档也没有写要传sub_mch_id

都是按照文档要求的数据传的还报错

请查看请求的的数据。都是按要求上传了数据

{"combine_appid":"wxb2c1cfbb2737e816","combine_mchid":"1583099811","combine_out_trade_no":"P2020042217180001","sub_orders":[{"mchid":"1587573471","attach":"\u6df1\u5733\u5206\u5e97","amount":{"total_amount":100,"currency":"CNY"},"out_trade_no":"201521587972994","sub_mchid":"1587573471","detail":"\u5305\u95f4\u9884\u8ba2","profit_sharing":true,"description":"\u5305\u95f4\u9884\u8ba2\u5b9a\u91d1","settle_info":{"profit_sharing":true,"subsidy_amount":100}}],"combine_payer_info":{"openid":"oRde45S81FXNGHXDkO_R_FbdzFaw"},"time_start":"2020-04-27T13:29:35+08:00","notify_url":"https:\/\/qcmdh.bh1869.com\/index.php","limit_pay":["no_debit"]}

调用接口后返回

有遇到的同学请求协助一下,xeixie

回答关注问题邀请回答
收藏

2 个回答

  • 直观层
    直观层
    2021-12-28

    2021-12-28
    有用
    回复
  • Andre
    Andre
    2020-06-27

    hi,你这边传入的openid是mchid关联的appid的openid吗?还是combine_appid对应的openid呢

    2020-06-27
    有用
    回复 2
    • Aegis
      Aegis
      2020-12-30
      感觉是微信官方接口的Bug,
      改成“sub_mch_id“,提示报错“请求中含有未在API文档中定义的参数”,
      直接传“sub_mchid”,则提示“受理机构必须传入sub_mch_id”
      2020-12-30
      回复
    • Dddd
      Dddd
      2023-02-11回复Aegis
      现在还是这样呢,  请问如何解决呢
      2023-02-11
      回复
登录 后发表内容
问题标签