Page 1 of 1

GoCardlessPro Extension

Posted: Wed Jul 08, 2020 4:26 pm
by motempnew
OC Version 3.0.2.0

PHP 7.1.33

- https://www.opencart.com/index.php?rout ... &sort=name

I'm getting the following error with the above plugin -

Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Client::request() in /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Core/ApiClient.php:76 Stack trace: #0 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Services/RedirectFlowsService.php(47): GoCardlessPro\Core\ApiClient->post('/redirect_flows', Array) #1 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/catalog/controller/extension/payment/gocardless.php(39): GoCardlessPro\Services\RedirectFlowsService->create(Array) #2 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/action.php(79): ControllerExtensionPaymentGocardless->send() #3 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #4 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/action.php(79): ControllerStartupRouter->index() #5 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/router.php(67): Action->execute(Object(Registry)) in /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Core/ApiClient.php on line 76

I have contacted the developers with this error but I get no reply, and opencart's contact form and email email address currently don't seem to work.

Re: GoCardlessPro Extension

Posted: Wed Jul 08, 2020 7:36 pm
by letxobnav
Well, seems that the method called does not exist in the referenced class.
To know why that is, lacking a crystal ball, I would have to buy that extension and I am not going to.
So the developers of that extension are your only hope I am afraid.

Re: GoCardlessPro Extension

Posted: Tue Aug 18, 2020 2:03 am
by pak77
Hi,

Did you ever get this resolved as I am having the same issue?

Re: GoCardlessPro Extension

Posted: Tue Aug 18, 2020 2:52 am
by IP_CAM
Funny, that the Seller even offers a direct sale with a Discount, and OpenCart
seem's to accept such, or they just never checked that Page in the first Place. ???
Such Screwballs should be blocked from offering their extensions trough OC.
I contacted OpenCart on this now ...

Re: GoCardlessPro Extension

Posted: Tue Aug 18, 2020 3:31 am
by pak77
Yes must admit I found that strange myself!!

The thing is, I am not convinced the issue is with the module itself, but the included libraries of gocardless and guzzle.

I have tried to limit the calls to just retrieving a customer list as per their API documentation but the log still shows the issue is a call between the two!!!

Re: GoCardlessPro Extension

Posted: Tue Aug 18, 2020 5:43 am
by pak77
Ok this might help someone else who is facing the same issue. Turns out the issue here is that Opencart itself comes with Guzzle installed. It is found within the storage/vendor folder. Either remove or rename the folder and the module works. I don't know what Opencart uses Guzzle for so may cause other issues depending on your setup!!!