如图所示。前端json也检查了很多遍格式没错。jssdk chooseWXPay 和 WeixinJSBridge两种调用方法都试了,一样报错。total_fee又不是直接传递的,签名校验通过并返回success拿到了prepay_id,百思不得其解怎么会在jsapi调用的时候缺少了…goole和百度都没找到有人遇到同样的bug………求救求救
高洛峰2017-04-17 16:10:35
With the help of the original poster, my problem was solved. Here I passed the wrong package parameter, it should be like this: package:"prepay_id=wx201612032137135b201de80e0666789657"
, it’s really a trap, it’s my fault for being careless
巴扎黑2017-04-17 16:10:35
Has the poster’s problem been solved? I also have this error message, please help
ringa_lee2017-04-17 16:10:35
I have this problem too. Haven't climbed out yet. Hey...
Climbed out today. After being reminded by the WeChat payment staff, I directly tested it in the official environment, and the payment with the same code was successful.
Don’t use their SANDBOX development environment. It’s really a sand pit. It wasted a lot of my time and once made me doubt my programming ability.