Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php codeigniter中的无卡实现_Php_Codeigniter_Gocardless - Fatal编程技术网

Php codeigniter中的无卡实现

Php codeigniter中的无卡实现,php,codeigniter,gocardless,Php,Codeigniter,Gocardless,我正在使用Gocardless API设置支付网关。我已经尝试下载并手动设置它,因为我没有composer 这是我从文档中获得的一段代码: require_once APPPATH.“third_party/gocardles/lib/loader.php”; $access\u token=“sandbox\u xyz”; $client=new\GoCardlessPro\client(数组( “访问令牌”=>$access\u令牌, “环境”=>\GoCardlessPro\environ

我正在使用Gocardless API设置支付网关。我已经尝试下载并手动设置它,因为我没有composer

这是我从文档中获得的一段代码:

require_once APPPATH.“third_party/gocardles/lib/loader.php”;
$access\u token=“sandbox\u xyz”;
$client=new\GoCardlessPro\client(数组(
“访问令牌”=>$access\u令牌,
“环境”=>\GoCardlessPro\environment::SANDBOX
));
$client->customers()->list();
$client->customers()->list([
“参数”=>[“在[gt]创建”=>“2015-11-03T09:30:00Z”]
]);
我希望在GoCardles中添加一个客户列表,但我遇到了以下错误:

An uncaught Exception was encountered
Type: Error

Message: Class 'GuzzleHttp\HandlerStack' not found

Filename: /var/www/html/myapp/application/third_party/gocardless/lib/Client.php

Line Number: 43

我假设我做了一些不正确的事情。

根据下面的文档,您还需要
src目录下的guzzle.zip中要求
autoloader.php