收藏
回答

支付问题(非常急)

这边在查看某个用户的游戏币余额签名总是出错,但是已经检查过签名的原文了,是按照文档上说的做了,

{{<<"errcode">>,90009},

 {<<"errmsg">>,<<"mp_sig error hint: [0J1e8a04773037]">>}}


米大师sig的签名

原文:appid=wxaecec9b5a801d328&offer_id=1450020076&openid=o1Vg75Ea0d4OYz7GslOjpTPk87YY&pf=android&ts=1552898477&zone_id=1&org_loc=/cgi-bin/midas/getbalance&method=POST&secret=zNLgAGgqsEWJOg1nFVaO5r7fAlIQxr1u

签名:7a050aca14ea6576bf153426feb51783a0829b47091aef14a8a5979d48134f84


米大师mp_sig的签名

原文:

access_token=19_q905XVunk9isdLJI2P3AKyGXnFoJipw87QmwG0HEjvzp0B61rnjGfmaIT6hrl-Xc-gGoAfm0BycJQU_GIN1go5lBbg80BH6bHOWFHrERP9Nd68Xb0dvmSqg955l-Sd_WxO6GUqtIqrA4gptgYYOeABAQQG&appid=wxaecec9b5a801d328&offer_id=1450020076&openid=o1Vg75Ea0d4OYz7GslOjpTPk87YY&pf=android&sig=7a050aca14ea6576bf153426feb51783a0829b47091aef14a8a5979d48134f84&ts=1552898477&zone_id=1&org_loc=/cgi-bin/midas/getbalance&method=POST&session_key=tdb4MhoDTm6L2nHtOppCMg==

签名:9fd46538f741e7de3a3fdaad1415d78efae76d58820d38cf5c20f867edbb9bc8


调用的是沙箱环境的地址(ACCESS_TOKEN已经替换成对应的数值

https://api.weixin.qq.com/cgi-bin/midas/sandbox/getbalance?access_token=ACCESS_TOKEN

调用沙箱环境的参数{"openid":"o1Vg75Ea0d4OYz7GslOjpTPk87YY","appid":"wxaecec9b5a801d328","offer_id":"1450020076","ts":1552898477,"zone_id":"1","pf":"android","sig":"7a050aca14ea6576bf153426feb51783a0829b47091aef14a8a5979d48134f84","mp_sig":"9fd46538f741e7de3a3fdaad1415d78efae76d58820d38cf5c20f867edbb9bc8"}


麻烦技术大大帮忙看下,十分急!!感谢~~~~


最后一次编辑于  03-19  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏投诉关注问题回答

1 个回答

  • 叶陈陈
    叶陈陈
    03-19

    org_loc错了   漏了sandbox



    03-19
    赞同
    回复 1
    • 肥政去哪啦
      肥政去哪啦
      03-19

      文档上的签名是正式的?


      03-19
      回复