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
根据官网文档使用,发现两个可能存在的bug
第一个 文档:http://easywechat.org/docs/payment.html#u7EDF_u4E00_u4E0B_u5355
统一下单,提交之后微信返回的错误是post不得为空,然后一路找到
https://github.com/overtrue/wechat/blob/develop/src/Core/Http.php#L78
把 “ form_options” 改成 “body”解决;
第二个
支付签名在 微信公众平台支付接口调试工具上,验证签名不通过
https://github.com/overtrue/wechat/blob/develop/src/Payment/helpers.php#L38
改成 return strtoupper ( call_user_func_array ( $encryptMethod, [ urldecode ( http_build_query ( $attributes ) ) ] ) );
就可以了
The text was updated successfully, but these errors were encountered:
@sunmingyang 下次直接PR吧
Sorry, something went wrong.
Http Bugfix #235.
836772d
No branches or pull requests
根据官网文档使用,发现两个可能存在的bug
第一个
文档:http://easywechat.org/docs/payment.html#u7EDF_u4E00_u4E0B_u5355
统一下单,提交之后微信返回的错误是post不得为空,然后一路找到
https://github.com/overtrue/wechat/blob/develop/src/Core/Http.php#L78
把 “ form_options” 改成 “body”解决;
第二个
支付签名在 微信公众平台支付接口调试工具上,验证签名不通过
https://github.com/overtrue/wechat/blob/develop/src/Payment/helpers.php#L38
改成
return strtoupper ( call_user_func_array ( $encryptMethod, [ urldecode ( http_build_query ( $attributes ) ) ] ) );
就可以了
The text was updated successfully, but these errors were encountered: