微信文档上的测试参数走我自己的加密流程,得到的结果和文档上的结果一致
但是用自己的参数接口返回的是90011 sig错误
同时想要咨询一下 用于验签的米大师密钥是不是 沙盒环境appkey
微信小游戏对接米大师支付出90011报错?WeChat mini-game docking with Mi Master pays out 90011 error?
微信小游戏对接米大师支付出90011报错?微信文档上的测试参数走我自己的加密流程,得到的结果和文档上的结果一致
但是用自己的参数接口返回的是90011 sig错误
同时想要咨询一下 用于验签的米大师密钥是不是 沙盒环境appkey
The test parameters on wechat documents go through my own encryption process, and the results are consistent with those on the documents, but the error of 90011 sig is returned by using my own parameter interface. At the same time, I want to ask if the master Mi key used for signature verification is a sandbox environment appkey
回答:
同步:问题已解决。
问题原因:开发者请求沙箱环境,生成sig签名时使用的uri是正式环境的uri,导致sig异常。uri修改为沙箱环境的uri后,sig签名校验成功
检查下sig计算方式 以及用的appkey是否正确
https://open.qq.com/tools?act=sig_verify可以用这个验证sig