Closed mcc7178 closed 10 months ago
thinkphp框架
$order = [ 'out_batch_no' => time() . '', 'batch_name' => 'subject-测试', 'batch_remark' => 'test', 'total_amount' => 1, 'total_num' => 1, 'transfer_detail_list' => [ [ 'out_detail_no' => time() . '-1', 'transfer_amount' => 1, 'transfer_remark' => 'test', 'openid' => 'xxxxx', ], ], ];
Pay::config($this->config2); $result = Pay::wechat()->transfer($order);
[3004] InvalidConfigException in AbstractProvider.php line 110 Config Error
$http = Pay::get(HttpClientInterface::class);
if (!$http instanceof ClientInterface) { throw new InvalidConfigException(Exception::HTTP_CLIENT_CONFIG_ERROR); }
涉及到 异步通知、同步通知 的问题,请贴出来
composer require guzzlehttp/guzzle:^7.0
现有版本是这样的,php 7.4.3 Using version ^2.1 for hyperf/pimple Using version ^6.5 for guzzlehttp/guzzle Using version ^3.3 for yansongda/pay
包版本号
问题描述
thinkphp框架
你的代码
$order = [ 'out_batch_no' => time() . '', 'batch_name' => 'subject-测试', 'batch_remark' => 'test', 'total_amount' => 1, 'total_num' => 1, 'transfer_detail_list' => [ [ 'out_detail_no' => time() . '-1', 'transfer_amount' => 1, 'transfer_remark' => 'test', 'openid' => 'xxxxx', ], ], ];
报错详情
[3004] InvalidConfigException in AbstractProvider.php line 110 Config Error
$http = Pay::get(HttpClientInterface::class);
sdk 日志
nginx/apache 日志