After upgrading our site to PHP 8.0, users can no longer use Stripe Checkout. They are charged by Stripe, however they are given the error “This Registration Step Could Not Be Completed”. Downgrading back to PHP 7.4.10 allows for Stripe Checkout to work again.
There’s a fatal error being thrown because PHP8 introduces stricter type checks, we’ll need to update the library used by the Stripe add-on to fix this.
In the meantime I can give you a temporary fix for this, in \eea-stripe-gateway\includes\stripe-php-6.35.1\lib\ApiRequestor.php
Around line 403 you should have something like:
if (array_key_exists('request-id', $rheaders)) {
Change that to:
if (array_key_exists('request-id', (array) $rheaders)) {
I’ve created a ticket for us to investigate this further but the above should prevent the error you are getting above. Note that PHP8 introduces a lot of changes that many plugins may not be ready for, EE will throw a lot of deprecated notices as it stands and we have an open ticket to address PHP8 issues.
Viewing 2 reply threads
The support post ‘This Registration Step Could Not Be Completed’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.