We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PHP 版本:7 overtrue/wechat 版本:~3.0 laravel
当我使用WeixinJSBridge,直接生成js配置的时候,前端调用支付,提示缺少timeStamp 检查源码发现
WeixinJSBridge
timeStamp
public function configForJSSDKPayment($prepayId) { $config = $this->configForPayment($prepayId, false); $config['timestamp'] = $config['timeStamp']; unset($config['timeStamp']); return $config; }
中,对timestamp进行了转换?把转换去掉之后,可以正常调用组件,是否这里是否存在问题呢,还是我调用本身就有问题?
The text was updated successfully, but these errors were encountered:
@JKair 请认真阅读文档:https://easywechat.org/zh-cn/docs/payment.html#生成支付-JS-配置
Sorry, something went wrong.
JSBridge 却用生成的 JSSDK 配置,不错才怪。
老眼昏花,哈哈哈,抱歉 @overtrue @tianyong90
No branches or pull requests
我用的环境
PHP 版本:7
overtrue/wechat 版本:~3.0 laravel
问题及现象
当我使用
WeixinJSBridge
,直接生成js配置的时候,前端调用支付,提示缺少timeStamp
检查源码发现
中,对timestamp进行了转换?把转换去掉之后,可以正常调用组件,是否这里是否存在问题呢,还是我调用本身就有问题?
The text was updated successfully, but these errors were encountered: