I'm using Aimeos
extension with TYPO3 v9.5.14 to create a Shop website.
I have a problem with the return urls from the payment gateway to the website : continueurl
/ cancelurl
/ callbackurl
. I get the following error
Call to undefined method GuzzleHttpClient::request()
in /var/www/example.com/typo3conf/ext/aimeos_pay/Resources/Libraries/nobrainerweb/omnipay-quickpay/src/Message/CompleteRequest.php line 44
This is the code :
public function sendData($data)
{
$httpResponse = $this->httpClient->request('get', $this->getEndPoint() . '/payments/' . $this->getTransactionReference(),
[
'Authorization' => 'Basic ' . base64_encode(":" . $this->getApikey()),
'Accept-Version' => 'v10',
'Content-Type' => 'application/json'
]
);
return $this->response = new Response($this, $httpResponse->getBody()->getContents());
}
Guzzle is properly installed through Composer.
composer require guzzlehttp/guzzle
question from:
https://stackoverflow.com/questions/65934660/call-to-undefined-method-guzzle-http-clientrequest 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…