Unable to connect to Stripe using PHP 8
complete
Jason Adams
complete
Greetings! I'm happy to report that we've resolved this issue in GiveWP 2.14.0. Please update! It's a bit complex, so if we missed anything please reach out to support so we can dig deeper.
Jayson
Jason Adams: Thank you! That was a major difference maker in sitespeed for us. Thanks for being engaged with your community and delivering the best product you possibly can. We couldn't do what we do without GiveWP so had to have a slow site the past few weeks while we waited. It was highly frustrating but just re-upgraded to php 8 and everything appears to be working! Thank you. Will report back if there are any bugs or issues.
Jason Adams
Jayson: Awesome! Thank you for confirming it's working for you!
J
Jonathan Simpson
Connecting Stripe isn't the only problem, processing donations gives the same fatal error. This issue prevents donations in PHP 8.
Ante Laca
in progress
Ben Meredith
under review
The workaround here is to downgrade the version of PHP you are using to PHP 7.4 (still fully supported by the PHP community).
Our team will have a look at this. Issues like this that are not preventing donations or have a simple workaround are generally prioritized at the end of an 8 week development cycle, and then tested and released. That means it can be up to 10 weeks for issues like this to be resolved.
Jayson
Ben Meredith: Hey Ben, is it the end of the 8 weeks yet? Your post was from June so I am assuming now. When can we expect this issue to be resolved. GiveWP is an amazing asset for us all but if you guys aren't up to date with today's standards for speeds & performance what are we supposed to do?
Joshua Seymour
Ben Meredith: I would like to champion what Jayson has said. I see the solution is in progress. What's the timeline looking like to resolve this?
Ben Meredith
Jayson and Joshua Seymour: Thanks for reaching back out and holding us to this! I checked in with our lead developer and here's the current reality:
All of the GiveWP application itself is PHP 8 compatible at this point, with the exception of some third party integrations. In this case we're looking at Stripe: the latest Stripe SDK is PHP 8 compatible, but switching to a new Stripe SDK is not a small endeavor, and comes with significant risk of breaking functionality.
Even more important is that GiveWP itself is backward compatible to PHP 5.6 (which is a bit of a relic at this point) and so that means that in order to ship compatible code, we have to make sure that the Stripe SDK (which does NOT advertise compatibility back to 5.6) does not break in catastrophic ways on those older versions.
Finally, PHP 7.4 is still in active development for 2 more months at this point, and after that will receive security releases for a year still. That doesn't mean we are going to be waiting for the deadline to fix things, but it also widens the perspective here.
Our top priority is to make sure that folks can raise money online, without issues. In the strange world of WordPress, that means backward compatibility wins in a fight against forward compatibility. But it doesn't mean that we're not listening. We are, and we'll keep you posted.
As for a timeline, I don't have a firm one at all, but I do know that it's going to take a relatively large effort to complete, and that's not something that's going to happen in 1-2 weeks.
Jayson
Ben Meredith: Thank you please keep me in the loop. We couldn’t do what we do without GiveWP. We had to revert to an older version of php for now. Thanks for the explanation!
Usman Dar
It is causing nightmare. 4 of my sites are facing this issue. Please can this be urgently resolved.
Ben Meredith
Usman Dar: In our tests, the fastest way to resolve this issue is to change the site over to a previous version of PHP, where the problem does not exist. I am going to loop in our development team on this, but with only 5 votes, this is not likely to get any attention until the end of our development cycle, which is in a few weeks. The workaround is to downgrade PHP to version 7.4 in the meantime. Thanks!