Support

Home Forums Event Espresso Premium EE4, WooCommerce and Stripe

EE4, WooCommerce and Stripe

Posted: August 25, 2015 at 7:01 am

Viewing 8 reply threads


Ellen Kronen

August 25, 2015 at 7:01 am

I’m using WP with Divi theme. EE4 for events (courses mostly, but events you need to book and pay for) and WooCommerce for a bookstore.

The issue is really about payment methods. My client (and I) want to use Stripe, but …

(1) If I use the add on for EE4 not only do I get a white screen, but it doesn’t work in Woocommerce and,

(2) if I use a Woocommerce friendly Stripe plugin, it doesn’t work in EE4.

My client wants to use Stripe. I suppose the fallback is to use Paypal but I’d like to resolve the Stripe issue before using anything else.

I’ve deleted the Woocommerce friendly plugin but it hasn’t made any difference to the white screen when I try and setup Stripe in EE4.

I really need some help with this please!

Site is at *removed – Tony* but would prefer if it wasn’t made too public – it’s in development but a whisker away from testing.

Many thanks,
Ellen

  • This topic was modified 9 years, 3 months ago by Tony. Reason: Remove link


Tony

  • Support Staff

August 25, 2015 at 7:39 am

Hi Ellen,

I have remove your site url from public view (support can still see it).

When do you get a whitescreen with the EE4 Stripe Add-on? Is it when you try to view the Stripe Settings within Event Espresso -> Payment Methods?

Can you enable WP_DEBUG and see what error is being thrown on that whitescreen please?

I suspect your server does not have one of the modules that are required by Stripe installed.


Ellen Kronen

August 25, 2015 at 8:48 am

Hey Tony, thanks for the quick response!

I get the whitescreen immediately after activating the plugin. Will do the debug thing and let you know the result.

I did get a “Stripe needs the Multibyte String PHP extension.” error when I tried to set up a different plugin in WooCommerce. As I have totally no idea how to fix that, I logged a call with our hosting provider. Hopefully I’ll get a quick response.

Thanks for your assistance,
Ellen


Tony

  • Support Staff

August 25, 2015 at 8:54 am

“Stripe needs the Multibyte String PHP extension.”

That’s why your getting a whitescreen and confirms the above 🙂

Stripe has 3 dependencies Curl, JSON and MBString, as you’ve issued a ticket with your hosting provider you may as well add these details to the ticket…

In order for Stripe to work your server needs curl_init, json_decode, mb_detect_encoding so your host needs to enable the appropriate modules within apache.

Your host should understand this and be able to set this up for you. Once those modules are enabled Stripe should work without a problem.


Ellen Kronen

August 25, 2015 at 8:59 am

OK, turned on debug and got the following:

[25-Aug-2015 14:54:55 UTC] PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use

__construct()

instead. in /wp-includes/functions.php on line 3457

AND

[25-Aug-2015 14:54:34 UTC] PHP Fatal error: Uncaught exception ‘Exception’ with message ‘Stripe needs the Multibyte String PHP extension.’ in /wp-content/plugins/eea-stripe-gateway/includes/stripe_dependencies/lib/Stripe.php:15
Stack trace:
#0 /wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php(38): require_once()
#1 /wp-content/plugins/event-espresso-core-reg/core/libraries/payment_methods/EE_Payment_Method_Manager.lib.php(176): EE_PMT_Stripe_Onsite->__construct()
#2 /wp-content/plugins/event-espresso-core-reg/core/libraries/payment_methods/EE_Payment_Method_Manager.lib.php(297): EE_Payment_Method_Manager->payment_method_types()
#3 [internal function]: EE_Payment_Method_Manager->add_payment_method_caps(Array)
#4 /wp-includes/plugin.php(213): call_user_func_array(Array, Array)
#5 /wp-content/plugins/event-espresso-core-reg/co in /wp-content/plugins/eea-stripe-gateway/includes/stripe_dependencies/lib/Stripe.php on line 15

Does this help?
Ta
Ellen

  • This reply was modified 9 years, 3 months ago by Tony. Reason: Removed server details


Ellen Kronen

August 25, 2015 at 9:03 am

Thank you! Now that I’ve seen the debug log I can see that’s what the problem is. Will get back to the hosting provider and provide that additional info.

Many thanks, I appreciate your assistance.
Have a lovely day,
E


Tony

  • Support Staff

August 25, 2015 at 9:11 am

You’re most welcome, Ellen.

Just to check, are you using the latest version of the Stripe Add-on?

Currently that is version 1.0.8.p


Ellen Kronen

August 27, 2015 at 10:58 am

Hi Tony, yes I am using the current version of the Stripe plugin. Still waiting for hosting provider to do what they need to do – hopefully soon!
Tks
E


Tony

  • Support Staff

August 27, 2015 at 11:10 am

Thank you for checking 🙂

Please let me know if you have further problems once you has activated the required modules.

Viewing 8 reply threads

The support post ‘EE4, WooCommerce and Stripe’ 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.

Event Espresso