解决了嘛?
米大师支付2.0 返回90010错误问题点:客户端多次请求查询余额接口,前面几次都是可以成功返回余额不足, 多试几次后会返回:{"errcode":90010,"errmsg":"[signature] signature is invalid traceid: 33575907 rid: 638f127a-1354b11d-733ccc65"} 而且客户端每次调用服务器接口之前都会 wx.checkSession 校验session_key是否有效,并且每次校验返回都是有效的。 下面请求的session_key:ou+4NlDJeMTj1J86ku8nuA== 具体服务端打印的请求日志如下,下面日志里面请求的URL 的 access_token 用【123】替代,实际请求日志是线上access_token;只贴出了前一次成功下一次失败的日志。 【成功请求日志】 2022-12-06 17:59:20:264 [GetBalance]请求URL:https://api.weixin.qq.com/wxa/game/getbalance?access_token=123&signature=231a6cf2b42f9c46e90011f71694581f9635d009d37a4b0dcc46ceecea78e401&sig_method=hmac_sha256&pay_sig=c43f34418c1232d7f01e98250c173a3fc7b105d363c059283edb12e89816fb61 2022-12-06 17:59:20:264 [GetBalance]请求参数:{ "openid": "osyGm5SzCxTD9Snsv8MWT1DXWJoA", "offer_id": "1450044152", "ts": 1670320760, "zone_id": "1", "env": 1 } 2022-12-06 17:59:20:780 [GetBalance]查询余额返回值:{"errcode":0,"errmsg":"ok","balance":0,"present_balance":0,"sum_save":0,"sum_present":0,"sum_balance":0,"sum_cost":0,"first_save":true} 【失败请求日志】 2022-12-06 17:59:22:389 [GetBalance]请求URL:https://api.weixin.qq.com/wxa/game/getbalance?access_token=123&signature=b1e49f9199c897e48fa0a97f872eff1592f06a753c3ee676021bd8960fe5d3df&sig_method=hmac_sha256&pay_sig=30c528be81192fdcdf790b0dcb040aad4f053809c97a39997035017ab0334448 2022-12-06 17:59:22:389 [GetBalance]请求参数:{ "openid": "osyGm5SzCxTD9Snsv8MWT1DXWJoA", "offer_id": "1450044152", "ts": 1670320762, "zone_id": "1", "env": 1 } 2022-12-06 17:59:22:623 [GetBalance]查询余额返回值:{"errcode":90010,"errmsg":"[signature] signature is invalid traceid: 33575907 rid: 638f127a-1354b11d-733ccc65"}
2023-04-10解决了嘛?
微信小游戏米大师支付2.0,服务端查询余额偶尔成功,偶尔失败,失败返回90010?微信appid:wxe13d9a36e1eec5f2, 问题: 微信小游戏米大师支付2.0,前端发起支付成功,但服务端查询余额偶尔成功,偶尔失败,失败返回90010,麻烦处理下? 截图如下:
2023-04-10