账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    微信支付统一下单接口签名错误
    31
    0

    微信的统一下单接口总是报签名错误!
    我用微信官方的签名验证获得的签名结果是一样的,请问有什么好方法能验证签名错误是由什么导致的么?

    下面是我调用接口传的xml:

    <xml>
        <mch_id>1423xxxxxxx7402</mch_id>
        <nonce_str><![CDATA[5b6fc9879716a]]></nonce_str>
        <body><![CDATA[deal]]></body>
        <out_trade_no><![CDATA[SN2018081213435352966711]]></out_trade_no>
        <total_fee>20000</total_fee>
        <notify_url><![CDATA[http://xxx.com/api/payment/notify]]></notify_url>
        <trade_type><![CDATA[JSAPI]]></trade_type>
        <openid><![CDATA[oV8-KxxxxxxYuARnthpFiQec]]></openid>
        <spbill_create_ip><![CDATA[36.xx.xxx.252]]></spbill_create_ip>
        <appid><![CDATA[wxxxxxxxe73053]]></appid>
        <sign><![CDATA[0400701EF7F990D9652BBxxE5E8D8ACB]]></sign>
    </xml>
    
    {
        "mch_id": 1423xxxxxxx7402,
        "nonce_str": "5b6fc9879716a",
        "body": "deal",
        "out_trade_no": "SN2018081213435352966711",
        "total_fee": 20000,
        "notify_url": "http://xxx.com/api/payment/notify",
        "trade_type": "JSAPI",
        "openid": "oV8-KxxxxxxYuARnthpFiQec",
        "spbill_create_ip": "36.xx.xxx.252",
        "appid": "wxxxxxxxe73053",
        "sign": "0400701EF7F990D9652BBxxE5E8D8ACB"
    }
    
    0
    打赏
    收藏
    点击回答
        全部回答
    • 0
    • 一斗之才 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    网站公告
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部