Stripe Fatal Error After Payment

If you receive a Fatal Error after payment like this:

Fatal error: Uncaught exception ‘Exception’ with message ‘Stripe needs the Multibyte String PHP extension.’ in /home/sitename/public_html/wp-content/plugins/optimizeMember/optimizeMember-pro/includes/classes/gateways/stripe/stripe-sdk/lib/Stripe.php:13 Stack trace: #0 /home/sitename/public_html/wp-content/plugins/optimizeMember/optimizeMember-pro/includes/classes/gateways/stripe/stripe-utilities.inc.php(39): require_once() #1 /home/sitename/public_html/wp-content/plugins/optimizeMember/optimizeMember-pro/includes/classes/gateways/stripe/stripe-checkout-in.inc.php(243): c_ws_plugin__optimizemember_pro_stripe_utilities::get_customer(0, ’email@email.com…’, ‘Firstname’, ‘LastName’) #2 /home/sitename/public_html/wp-content/plugins/optimizeMember/optimizeMember-pro/includes/classes/gateways/stripe/stripe-checkout.inc.php(29): c_ws_plugin__optimizemember_pro_stripe_checkout_in::stripe_checkout() #3 [internal function]: c_ws_plugin__optimizemember_pro_stripe_checkout::stripe_checkout(”) #4 /home/sitename/public_html/wp-includes/pl in /home/sitename/public_html/wp-content/plugins/optimizeMember/optimizeMember-pro/includes/classes/gateways/stripe/stripe-sdk/lib/Stripe.php on line 13

This error happens when your hosting account does not have the “Multibyte String” extension for PHP enabled. To resolve this issue, contact your hosting account and ask them to enable it.

More information here http://php.net/manual/en/mbstring.installation.php

Once your hosting company has fixed this – you should retest your site payments and everything should be ok

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
Contact Support