Support

Home Forums Event Espresso Premium Enabled Stripe and now getting critical errors once a payment is submitted

Enabled Stripe and now getting critical errors once a payment is submitted

Posted: January 6, 2025 at 6:42 am

Viewing 7 reply threads


Melanie Levitt

January 6, 2025 at 6:42 am

Good Morning,

So we have enabled stripe payment as we got a message saying that PayPal Standard will be discontinued from Jan 15th, 2025. I have followed the documentation and synced Stripe with Event Espresso and since this is what’s happening:

1) Customer pays for an event
2) We get a notification from Stripe saying payment went through
3) Customer see THERE HAS BEEN A CRITICAL ERROR ON THIS WEBSITE message after they submit the payment. They never get to see the thank you page that is set up correctly as it was working with PayPal Standard.

Customers are calling to know if their payment went through and if they are still registered for their class.

Below is the error log that is being recorded after each submission.


[06-Jan-2025 13:17:05 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/espresso-multiple/espresso-multi-registration.php on line 77
[06-Jan-2025 13:17:05 UTC] PHP Warning: session_start(): Session cannot be started after headers have already been sent in /wp-content/plugins/event-espresso/espresso.php on line 80

Any help is appreciated.

Thanks


Tony

  • Support Staff

January 6, 2025 at 7:56 am

Hi there,

Those 2 PHP warnings aren’t causing the above error (they are actually being thrown becuase of another error being sent to the page).

If you check your error logs again, search for ‘fatal error’ in the logs.

Do you see any? (It doesn’t necessarily need to be from EE, it could be something else so if you find any just add them here and I’ll review and let you know from there)


Melanie Levitt

January 6, 2025 at 8:04 am

Hi Tony,

Thanks for replying and there is this error also. Not sure if this helps


PHP Parse error: syntax error, unexpected token "?" in /wp-content/plugins/event-espresso/gateways/stripe/do_transaction.php on line 42


Tony

  • Support Staff

January 6, 2025 at 8:55 am

Hmm, strange.

Which specific version number of Event Espresso are you running?


Melanie Levitt

January 6, 2025 at 9:48 am

Here are the complete details of all the Espresso plugin that are currently installed:

Event Espresso – Calendar by Event Espresso version 2.2.9.p,
Event Espresso – Custom Template Display by Event Espresso version 1.0,
Event Espresso – Multi Event Registration by Seth Shoultes version 1.0.5.p,
Event Espresso – Social Media by Event Espresso version 1.1.7.p,
Event Espresso by Event Espresso version 3.1.37.19.P,
Espresso Disable Extra Editor Buttons by Josh Feck version 1.0,


Tony

  • Support Staff

January 6, 2025 at 10:19 am

Hmm ok… and PHP version?

(You can find that Event Espresso -> System Status, search for ‘PHP Version’)


Melanie Levitt

January 6, 2025 at 10:31 am

Sure here are the details:

PHP Version: 8.3.14
Server Software: Apache
WP Max Upload Size: 24 MB
Server upload_max_filesize: 24 MB
Server post_max_size: 32 MB
WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP
WP Debug Mode: No
Espresso Logging: Log directory is writable.


Garth

  • Support Staff

January 7, 2025 at 12:24 pm

Do you have the option to change to PHP 8.2 and test again?

Viewing 7 reply threads

You must be logged in to reply to this support post. Sign In or Register for an Account

Event Espresso