收藏
回答

微信支付服务商-小程序

统一下单,一直报签名错误

服务商的微信支付 绑定了小程序

参数:<appid>服务商的APPid</appid>

  <sub_appid>我们的appid</sub_appid>

  <mch_id>服务商支付的ID</mch_id>

  <sub_mch_id>子商户的ID</sub_mch_id>

  <nonce_str></nonce_str>

  <sub_openid></sub_openid>

  <sign></sign>

  <sign_type></sign_type>

  <body></body>

  <out_trade_no></out_trade_no>

  <fee_type>CNY</fee_type>

  <total_fee></total_fee>

  <spbill_create_ip></spbill_create_ip>

  <notify_url></notify_url>

  <trade_type></trade_type>

官网的签名效验 是通过的

返回值:

<xml><return_code><![CDATA[FAIL]]></return_code>

<return_msg><![CDATA[签名错误,请检查后再试]]></return_msg>

</xml>




最后一次编辑于  2024-11-27
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容