- Posts: 20
- Thank you received: 0
php error when using stripe plugin
- Amanda
- Topic Author
- Offline
- Junior Member
-
Less
More
1 year 7 months ago #160237
by Amanda
php error when using stripe plugin was created by Amanda
Hello Tuan & Team,
I've just upgraded my system including OS, Joomla and EB and encountered the following error when testing the EB component of our website.
Use case: Buying a ticket for a dummy event using the cart --> Payment details form -->. Buy Tickets
Expectation: I was expecting the Stripe payment page
Result: PHP error0 array_key_exists(): Argument #2 ($array) must be of type array, Stripe\Util\CaseInsensitiveArray given Call stack#FunctionLocation1()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:4022array_key_exists()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:4023
Stripe\ApiRequestor->_requestRaw()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:1254Stripe\ApiRequestor->request()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiOperations/Request.php:575Stripe\ApiResource::_staticRequest()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiOperations/Create.php:236Stripe\Checkout\Session::create()JROOT/components/com_eventbooking/payments/os_stripecheckout.php:1237os_stripecheckout->processPayment()JROOT/components/com_eventbooking/model/cart.php:4688EventbookingModelCart->processCartPayment()JROOT/components/com_eventbooking/model/cart.php:2699EventbookingModelCart->processCheckout()JROOT/components/com_eventbooking/controller/cart.php:27310EventbookingControllerCart->process_checkout()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:28511RADController->execute()JROOT/components/com_eventbooking/eventbooking.php:4012require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7113Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7314Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:36115Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:20816Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:24917Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:29318Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:6119require_once()JROOT/index.php:32
I've tried clearing cache and logging on from a different browser but still get the same result. Note that I've tried a few test registrations using Square payment plugin, which seems fine. So perhaps this error is limited just to Stripe (?)
Can you suggest anything I could try to resolve the error?
Thanks
Kind regards
Amanda
I've just upgraded my system including OS, Joomla and EB and encountered the following error when testing the EB component of our website.
Use case: Buying a ticket for a dummy event using the cart --> Payment details form -->. Buy Tickets
Expectation: I was expecting the Stripe payment page
Result: PHP error0 array_key_exists(): Argument #2 ($array) must be of type array, Stripe\Util\CaseInsensitiveArray given Call stack#FunctionLocation1()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:4022array_key_exists()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:4023
Stripe\ApiRequestor->_requestRaw()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiRequestor.php:1254Stripe\ApiRequestor->request()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiOperations/Request.php:575Stripe\ApiResource::_staticRequest()JROOT/components/com_eventbooking/payments/stripecheckout/lib/ApiOperations/Create.php:236Stripe\Checkout\Session::create()JROOT/components/com_eventbooking/payments/os_stripecheckout.php:1237os_stripecheckout->processPayment()JROOT/components/com_eventbooking/model/cart.php:4688EventbookingModelCart->processCartPayment()JROOT/components/com_eventbooking/model/cart.php:2699EventbookingModelCart->processCheckout()JROOT/components/com_eventbooking/controller/cart.php:27310EventbookingControllerCart->process_checkout()JROOT/administrator/components/com_eventbooking/libraries/rad/controller/controller.php:28511RADController->execute()JROOT/components/com_eventbooking/eventbooking.php:4012require_once()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7113Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:7314Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()JROOT/libraries/src/Component/ComponentHelper.php:36115Joomla\CMS\Component\ComponentHelper::renderComponent()JROOT/libraries/src/Application/SiteApplication.php:20816Joomla\CMS\Application\SiteApplication->dispatch()JROOT/libraries/src/Application/SiteApplication.php:24917Joomla\CMS\Application\SiteApplication->doExecute()JROOT/libraries/src/Application/CMSApplication.php:29318Joomla\CMS\Application\CMSApplication->execute()JROOT/includes/app.php:6119require_once()JROOT/index.php:32
I've tried clearing cache and logging on from a different browser but still get the same result. Note that I've tried a few test registrations using Square payment plugin, which seems fine. So perhaps this error is limited just to Stripe (?)
Can you suggest anything I could try to resolve the error?
Thanks
Kind regards
Amanda
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 7 months ago #160241
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic php error when using stripe plugin
Hi Amanda
I would say that it happens because you are not using latest version of Stripe payment plugin. So please login, access to My Downloads menu item, download latest version of the payment plugin, upgrade it to your site (go to Events Booking -> Payment Plugins to install the update)
After that, check it again. The error should be gone
Regards,
Tuan
I would say that it happens because you are not using latest version of Stripe payment plugin. So please login, access to My Downloads menu item, download latest version of the payment plugin, upgrade it to your site (go to Events Booking -> Payment Plugins to install the update)
After that, check it again. The error should be gone
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Amanda
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 20
- Thank you received: 0
1 year 7 months ago #160267
by Amanda
Replied by Amanda on topic php error when using stripe plugin
I will try that - thank you!
Kind regards
Amanda
Kind regards
Amanda
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1 year 7 months ago #160268
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic php error when using stripe plugin
OK Amanda. If the issue still happens after that (I believe it won't), please submit a support ticket so that we can check it directly on your site
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.