- 为什么不增加一个沙箱环境的AccessToken?
https://developers.weixin.qq.com/doc/offiaccount/Basic_Information/Get_access_token.html 正式环境和测试环境完全隔离,怎么进行测试?
2021-09-17 - 虚拟支付增加新区问题,求解~
小游戏增加了一个新区后,zone_id = "2",但是返回 {"errcode":-1,"errmsg":"1001-0-0 请求参数错误(zoneid/pf)"}, zone_id = "1"是没有问题的,求解答~
2018-07-04 - 小游戏虚拟支付沙箱测试报错
麻烦问一下各位,沙箱测试时使用的openId和sessionKey必须是在测试地址下,登录验证过的吗? 因为现在测试支付时,一直在报这个问题:{"errcode":90009,"errmsg":"mp_sig error hint: [r0xSkA06148952]"},参数检查过多遍,没有问题,后来看到有人说session过期也会报这个问题,那这个session必须是测试地址(测试环境下需要绑定域名: 10.191.2.162)登录验证过过吗?正式地址( http://h5sdk.game.qq.com/api2/H5SDKApi.php )登录验证过不可以吗?求解 请求的日志: https://api.weixin.qq.com/cgi-bin/midas/sandbox/getbalance?access_token=11_so6FHbY1pbN9f5ez7pW-rQY-8-zCieftQh7UHhZm7pAVVBw60ozQhScoqa9GWkSeauNUcYpHqPhwXie1zyCfG18A3JwMWHPCA7N3uNo3XRSJ-txRXkHhO0MonyAYSYhAFARLR; Post params : {"appid":"XXX", "mp_sig":"a8e2903a01f3f97d1c82676061435ce0cafe9defd1e883e98676e94523bb2fb1", "offer_id":"XXX", "openid":"XXX", "pf":"android", "sig":"3fcd241795b4ef0b82bb29f1019fb9da0f06be06b0690abcbdbcaaf799decb46", "ts":1530415614, "zone_id":"1"} Data For SIG (Key = secret )>>>: appid=XXX& offer_id=XXX& openid=XXX& pf=android& ts=1530415614& zone_id=1& org_loc=/cgi-bin/midas/sandbox/getbalance& method=POST& secret=XXX Data For SIG (Key = session_key )>>>: access_token=11_so6FHbY1pbN9f5ez7pW-rQY-8-zCieftQh7UHhZm7pAVVBw60ozQhScoqa9GWkSeauNUcYpHqPhwXie1zyCfG18A3JwMWHPCA7N3uNo3XRSJ-txRXkHhO0MonyAYSYhAFARLR& appid=XXX& offer_id=XXX& openid=XXX& pf=android& sig=3fcd241795b4ef0b82bb29f1019fb9da0f06be06b0690abcbdbcaaf799decb46& ts=1530415614& zone_id=1& org_loc=/cgi-bin/midas/sandbox/getbalance& method=POST& session_key=XXX
2018-07-01