We use Stripe as our payment processor here at Cinch. We love the streamlined approach to almost everything Stripe does – from the user checkout experience to our own account management. It’s a solution we often suggest to our clients for the very same reasons.
Stripe WooCommerce v3.1.0
Last Friday (March 17th) WooCommerce released a new version of their free Stripe payment gateway plugin. It brought some pretty exciting new changes, namely Apple Pay and Google Payment Request (not quite sure what this is yet however).
It also quietly brought a new requirement: PHP 5.6. I say quietly because it wasn’t documented, and some of our clients found out the hard way:
After updating the plugin, Stripe simply stoped working. For clients who use only Stripe as a payment gateway, this left their shops unable to process orders.
Fixing the issue
There are a couple of ways we handled this with our clients, and each will work for you:
- Downgrade to version 3.0.7. This got shops back up and running, but doesn’t address the long term issue of not being able to update the plugin.
- Upgrade PHP to 5.6. Encourage your web host to upgrade PHP. While this can work in some cases, for sites that are on inexpensive shared hosting it may not be an option.
- Upgrade hosting account. If a host isn’t willing to upgrade PHP, you may have no choice but to get better hosting
WordPress now recommends PHP 7. In our experience, some sites still have trouble with PHP 7, but we’ve run into zero issues thus far with PHP 5.6. There really is no reason for web hosts not to offer 5.6 at a minimum.
If you’re still having trouble getting WooCommerce – Stripe to work on your site, start a chat, we may be able to help!