omnipay error

  • Willard van den Berg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 months 1 week ago #166255 by Willard van den Berg
omnipay error was created by Willard van den Berg
We have a website with os_ideal payments. Since joomla 5.1.0 the redirect to ideal fails. There is a omnipay error. It seems the symfony http client in Joomla 5.1.0 is updated. Omnipay library from EventBooking package 4.9.0 is installed.
POST index.php?option=com_eventbooking&view=upcomingevents&id=0&task=register.process_individual_registration
Error:Unexpected exception when instantiating class.
/var/www/clients/client/web/web/libraries/omnipay3/vendor/php-http/discovery/src/ClassDiscovery.php:226Call Stack#FunctionLocation1()JROOT/libraries/omnipay3/vendor/php-http/discovery/src/ClassDiscovery.php:2262Http\Discovery\ClassDiscovery::instantiateClass()JROOT/libraries/omnipay3/vendor/php-http/discovery/src/HttpClientDiscovery.php:303Http\Discovery\HttpClientDiscovery::find()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/Http/Client.php:344Omnipay\Common\Http\Client->__construct()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/AbstractGateway.php:3325Omnipay\Common\AbstractGateway->getDefaultHttpClient()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/AbstractGateway.php:696Omnipay\Common\AbstractGateway->__construct()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/GatewayFactory.php:887Omnipay\Common\GatewayFactory->create() 8call_user_func_array()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Omnipay.php:1169Omnipay\Omnipay::__callStatic()JROOT/libraries/omnipay3/vendor/joomdonation/payment/src/OmnipayPayment.php:9910Ossolution\Payment\OmnipayPayment->getGateway()JROOT/libraries/omnipay3/vendor/joomdonation/payment/src/OmnipayPayment.php:15111Ossolution\Payment\OmnipayPayment->processPayment()JROOT/components/com_eventbooking/model/register.php:88512EventbookingModelRegister->processRegistrationPayment()JROOT/components/com_eventbooking/model/register.php:24413EventbookingModelRegister->processIndividualRegistration()JROOT/components/com_eventbooking/controller/register.php:34414EventbookingControllerRegister->process_individual_registration()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:28515RADController->execute()JROOT/components/com_eventbooking/eventbooking.php:4016require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7117Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7318Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:36119Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:21820Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:26121Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:30622Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:5823require_once()JROOT/index.php:32Vorige foutYou cannot use the "Symfony\Component\HttpClient\HttplugClient" as no PSR-17 factories have been provided. Try running "composer require php-http/discovery psr/http-factory-implementation:*".
/var/www/clients/client/web/web/libraries/vendor/symfony/http-client/HttplugClient.php:85Call Stack#FunctionLocation1()JROOT/libraries/vendor/symfony/http-client/HttplugClient.php:852Symfony\Component\HttpClient\HttplugClient->__construct()JROOT/libraries/omnipay3/vendor/php-http/discovery/src/ClassDiscovery.php:2193Http\Discovery\ClassDiscovery::instantiateClass()JROOT/libraries/omnipay3/vendor/php-http/discovery/src/HttpClientDiscovery.php:304Http\Discovery\HttpClientDiscovery::find()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/Http/Client.php:345Omnipay\Common\Http\Client->__construct()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/AbstractGateway.php:3326Omnipay\Common\AbstractGateway->getDefaultHttpClient()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/AbstractGateway.php:697Omnipay\Common\AbstractGateway->__construct()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Common/GatewayFactory.php:888Omnipay\Common\GatewayFactory->create() 9call_user_func_array()JROOT/libraries/omnipay3/vendor/omnipay/common/src/Omnipay.php:11610Omnipay\Omnipay::__callStatic()JROOT/libraries/omnipay3/vendor/joomdonation/payment/src/OmnipayPayment.php:9911Ossolution\Payment\OmnipayPayment->getGateway()JROOT/libraries/omnipay3/vendor/joomdonation/payment/src/OmnipayPayment.php:15112Ossolution\Payment\OmnipayPayment->processPayment()JROOT/components/com_eventbooking/model/register.php:88513EventbookingModelRegister->processRegistrationPayment()JROOT/components/com_eventbooking/model/register.php:24414EventbookingModelRegister->processIndividualRegistration()JROOT/components/com_eventbooking/controller/register.php:34415EventbookingControllerRegister->process_individual_registration()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:28516RADController->execute()JROOT/components/com_eventbooking/eventbooking.php:4017require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7118Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7319Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:36120Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:21821Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:26122Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:30623Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:5824require_once()JROOT/index.php:32
 

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #166256 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic omnipay error
Hi Willard

That's strange to me. Could you please submit a support ticket sending us super user account of your site and link to the page which I can perform registration and see the error

I will check to see why the issue happens and get it sorted

Tuan

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #166268 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic omnipay error
Look like there was some changes in Joomla 5.1.0 and it causes the error. I got the issue sorted on your site. If anyone is having this issue, please install this updated payment processing library and the error will be gone

Regards,

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

  • Willard van den Berg
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 months 1 week ago #166271 by Willard van den Berg
Replied by Willard van den Berg on topic omnipay error
Thank you Tuan!
Attachment is given Forbidden error? I'd like to download the customized library to install on the customer site.

Regards Willard

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #166274 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic omnipay error
Look like the forum blocked that file type. Please get the library in the zip format here

Regards,

Tuan
Attachments:

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #167113 by ID22
Replied by ID22 on topic omnipay error
Thanks for the new Omnipay lib.
Unfortunately this did not solve the error for me.

Am I missing something?

Kind regards, Peter

Please Log in or Create an account to join the conversation.

More
6 months 3 weeks ago #167114 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic omnipay error
Hi Peter

Please update your site to latest version of Events Booking, then try again. The error will be gone

Regards,

Tuan

Please Log in or Create an account to join the conversation.