收藏
回答

微信小游戏IOS接JSAPI支付,统一下单怎么一直报签名错误?

我调用的该接口https://api.mch.weixin.qq.com/pay/unifiedorder
发送的数据
<xml><appid>wx8201967095ab2fe4</appid><mch_id>1612231091</mch_id><nonce_str>3MDSI9Ic1DHAwo9uhApNrl</nonce_str><sign_type>HMAC-SHA256</sign_type><body>test</body><openid>oJIAs5coq52omUPYBjkR7RtpF76w</openid><out_trade_no>3256982446276800</out_trade_no><total_fee>100</total_fee><spbill_create_ip>192.168.100.25</spbill_create_ip><notify_url>http://192.168.100.25:38002</notify_url><trade_type>JSAPI</trade_type><sign>812AE979EBFAAFC32194856D940C4BE1B925D4C80BE03FC4967CA8CF2ED120A7</sign></xml>
我在微信 支付接口签名校验工具 验证了没问题 https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=20_1

但是一直报

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


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

2 个回答

  • CRMEB
    CRMEB
    2023-01-06

    ios不支持虚拟支付

    2023-01-06
    有用
    回复
  • 寿峻
    寿峻
    2023-01-05

    小游戏不支持ios支付

    2023-01-05
    有用
    回复
登录 后发表内容