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

容器未找到: getContainer() 方法调用失败! 或许你应该先 setContainer() #976

Open
chen900804 opened this issue May 5, 2024 · 1 comment

Comments

@chen900804
Copy link

包版本号

3.7

问题描述

QQ截图20240505234117

容器未找到: getContainer() 方法调用失败! 或许你应该先 setContainer()

你的代码

$order = [

          'out_trade_no' => time().'',

          'description' => 'subject-测试',

          'amount' => [

              'total' => 1,

          ],

      ];

      $p = Pay::wechat()->scan($order);
@yansongda
Copy link
Owner

yansongda commented May 6, 2024

https://pay.yansongda.cn/docs/v3/quick-start/install.html

看看有没有按照文档进行安装相关包,或者看看有没有先 Pay::config();

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