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
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)
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,
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.
Hey Garth,
The hosting company changed the PHP to 8.2 and we are still getting the error and throws the critical error as soon as the payment is submitted. The Stripe works perfectly with wpForms and WooCommerce
[13-Jan-2025 23:10:13 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
[13-Jan-2025 23:10:13 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