Fatal error in StripePayment plugin (EasyStore / Trove Quickstart on Joomla 6) - Forum | JoomShaper
Awaiting an answer EasyStore

Fatal error in StripePayment plugin (EasyStore / Trove Quickstart on Joomla 6)

Asked by ilyxin 1 year ago Last activity 1 year ago

Hello JoomShaper Support Team,

I purchased your Trove Joomla 6 Quickstart Package, and I’m currently setting it up with the EasyStore component on Joomla 6 running PHP 8.3.

When I try to create a collection (or perform any action related to payments/notifications), I encounter the following fatal error:

Fatal error: Declaration of JoomShaper\Plugin\EasyStore\Stripe\Extension\StripePayment::onPaymentNotify()
must be compatible with
JoomShaper\Component\EasyStore\Administrator\Plugin\PaymentGatewayPlugin::onPaymentNotify(Joomla\Event\Event $event)
in /.../plugins/easystore/stripe/src/Extension/StripePayment.php on line 112

The message indicates that the method declaration onPaymentNotify() in the Stripe plugin is incompatible with the parent class — it does not include the Joomla\Event\Event $event argument, which is now required in Joomla 6 / EasyStore 2.x.


System Information:

  • Joomla version: 6.0.0
  • PHP version: 8.3.21
  • Template: Trove (Quickstart package from joomshaper.com)
  • Component: EasyStore (included in the Quickstart)
  • Plugin: EasyStore Stripe (included in the package)

What I’ve tried so far:

  • Reviewed the file plugins/easystore/stripe/src/Extension/StripePayment.php;
  • Manually modified the method signature to:
    public function onPaymentNotify(Joomla\Event\Event $event)
    but I’m not sure if this is a stable or complete fix;
  • Cleared Joomla and PHP OPcache — the issue still occurs.

Questions / Requests:

  1. Could you please provide an updated version of the EasyStore Stripe plugin that is fully compatible with Joomla 6 and the current EasyStore version included in Trove?
  2. Are there any other required changes (in the base plugin or event handling logic)?
  3. Do you have official documentation or migration notes for EasyStore plugins on Joomla 6?
  4. Is there an upcoming update to the Trove Quickstart package addressing this compatibility issue? If so, how can I download it under my license?

I’m happy to share temporary admin access, logs, or any additional files if needed for troubleshooting.

Thank you for your assistance — I hope we can resolve this quickly so I can continue using the Trove template with EasyStore on Joomla 6.

10 replies

Atick Eashrak Shuvo Staff

Hello ilyxin,

Thank you for reporting this issue. I'm sorry for the inconvenience you're experiencing with the StripePayment plugin.

To help me investigate the fatal error, would you be willing to grant me temporary administrative access to your site? This will allow me to thoroughly examine the issue and find a solution.

Before providing credentials, please ensure you have a complete backup of your site for data security.

Looking forward to your response.

Best regards

ilyxin Asked this
1 year ago · edited

Hello,
Thank you for your quick reply.
I’ve created a temporary admin account so you can investigate the issue directly.
A full site backup has been created, and this account will be removed once the issue is resolved.
Please let me know once you’ve finished checking so I can disable the temporary access.
Thank you for your help and support.
Best regards,

Atick Eashrak Shuvo Staff

Hello ilyxin,

Sorry for the inconvenience you're experiencing with the StripePayment plugin.

Could you please check if the issue is resolved now on your end? Please let me know how it goes.

Best regards

ilyxin Asked this

Hello,

Thank you for fixing the issue with the StripePayment plugin — collections are now working correctly.
However, after the recent fix, SP Page Builder pages have stopped working.
When I try to open or edit any page created with SP Page Builder, it fails to load and shows the following error message:
“Request failed with status code 500.”
Could you please check this issue as well?
Thank you again for your help and support.

Best regards,
ilyxin

Atick Eashrak Shuvo Staff

Hello ilyxin,

Sorry for the inconvenience you're experiencing. Could you please share a screen recording of the issue?

Looking forward to your response.

Best regards

ilyxin Asked this

In the Joomla administrator panel, when I try to open the list of pages or the page editor, I get a 500 Internal Server Error, but only when the Russian localization of the site or admin panel is active.

If I switch the admin interface to English, everything works fine.

Atick Eashrak Shuvo Staff

Please provide access

ilyxin Asked this

Hi!

Atick Eashrak Shuvo Staff

Please check the hidden content area

ilyxin Asked this

access granted

Log in to reply.