Skip to content
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

基于微信公众号微信支付v3,回调报错 #2778

Closed
quweiie opened this issue Dec 24, 2023 · 1 comment
Closed

基于微信公众号微信支付v3,回调报错 #2778

quweiie opened this issue Dec 24, 2023 · 1 comment

Comments

@quweiie
Copy link

quweiie commented Dec 24, 2023

我用的环境

  • PHP 版本:8.1
  • overtrue/wechat 版本:6.13
  • 是否使用了框架?框架名称:没有
    支付成功了,但回调时用官网给的代码,报错

问题及现象

2023/12/24 14:51:04 [error] 12415#0: *645 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: {closure}(): Argument #1 ($message) must be of type Message, EasyWeChat\Pay\Message given, called in /www/wwwroot/myweb/vendor/w7corp/easywechat/src/Pay/Server.php on line 86 and defined in /www/wwwroot/myweb/wxpay/notify.php:25

@overtrue
Copy link
Collaborator

你的代码贴一下

@overtrue overtrue closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants