Support

Home Forums Event Espresso Premium PayPal not working on live site

PayPal not working on live site

Posted: January 19, 2024 at 3:00 pm


NZACS

January 19, 2024 at 3:00 pm

Hi there,

I loaded EE4 into a staging copy of our site, and everything worked perfectly. The staging site has now been made live, and there is an issue with the PayPal Commerce component.

On all pages I see this message: PayPal Commerce has updated the API integration type to allow more flexibility with payments. Please disconnect and re-connect on the payment methods admin page to update the credentials and allow advanced payment type options.

However on the payment methods page, when I click PayPal Commerce to disconnect it, it hyperlinks to the bottom of that page and I see: There has been a critical error on this website. Please check your site admin inbox for instructions.

There is no way to disconnect PayPal and reconnect it, as it will not do anything other than jump to that message.

I’ve asked our IT guy and he has sent me this error log: [Thu Jan 18 19:58:23.786847 2024] [proxy_fcgi:error] [pid 24345:tid 139758202238720] [client 203.109.148.96:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TypeError: Return value of EventEspresso\\PaymentMethods\\PayPalCommerce\\tools\\extra_meta\\PayPalExtraMetaManager::getPmOption() must be an instance of EventEspresso\\PaymentMethods\\PayPalCommerce\\tools\\extra_meta\\mixed, bool returned in /home/320803.cloudwaysapps.com/nwffczqgkf/public_html/wp-content/plugins/event-espresso-core-reg/PaymentMethods/PayPalCommerce/tools/extra_meta/PayPalExtraMetaManager.php:44\nStack trace:\n#0 /home/320803.cloudwaysapps.com/nwffczqgkf/public_html/wp-content/plugins/event-espresso-core-reg/PaymentMethods/PayPalCommerce/PayPalCheckout/forms/SettingsForm.php(56): EventEspresso\\PaymentMethods\\PayPalCommerce\\tools\\extra_meta\\PayPalExtraMetaManager::getPmOption()\n#1 /home/320803.cloudwaysapps.com/nwffczqgkf/public_html/wp-content/plugins/event-espresso-core-reg/PaymentMethods/PayPalCommerce/PayPalCheckout/EE_PMT_PayPalCheckout.pm.php(61): EventEspresso\\PaymentMethods\\PayPalCommerce\\PayPalCheckout\\forms\\SettingsForm->__construct()\n#2 /hom…’, referer: https://nzacs.com/wp-admin/admin.php?page=espresso_payment_settings&webhook_action=eea_pp_commerce_merchant_onboard&payment_method=paypalcheckout

How do I resolve this please?

Thanks,
Nicole


Tony

  • Support Staff

January 19, 2024 at 3:07 pm

Hi Nicole,

I’ve just pushed an update live that should fix this (version 5.0.15.p)

Please update to the latest version of Event Espresso and see if you still have an issue. If you don’t see the update available just yet then go to Dashboard -> Event Espresso -> General Settings.

Don’t make any just, just hit save.

Now the update should show in Dashboard -> Plugins.


NZACS

January 19, 2024 at 3:41 pm

Awesome, thanks Tony that worked and it’s working now
Cheers,
Nicole

The support post ‘PayPal not working on live site’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso