-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
微信网页支付配置生成 #751
Comments
请使用 |
好的 文档应该是没有更新 |
你用的 JSSDK 还是 WeixinJSBridge? |
JSSDK |
timestamp 这个字段应该还是要使用 timeStamp |
https://pay.weixin.qq.com/wiki/doc/api/jsapi.php?chapter=7_7&index=6
https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115 |
所以不用改源代码了,你检查一下其它选项可能是错了,不应该是这个大小写问题 |
额 我把小写的改成大写的问题就解决了 |
找到原因了 是因为用SDK之前 前端代码直接使用的timeStamp字段 所以用了这个方法会有问题 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我用的环境
PHP 版本:7.0.19
overtrue/wechat 版本:3.3.2
问题及现象
微信官网文档时间戳字段名称为 timeStamp
代码里生成配置时使用的是 timeStamp 生成后 将 timeStamp 赋值给 timestamp 然后销毁 timeStamp 导致微信支付签名验证不正确
The text was updated successfully, but these errors were encountered: