Posted: September 19, 2018 at 1:20 pm
I’ve just set up Stripe as an payment integration on our site. It’s working all fine but very slow to load the success page after the payment is taken. The email comes through with a receipt but the cog is still spinning on the page post payment, which I think makes it feel like the payment wasn’t successful. Is this likely to be our server? I’d like generally to speed up our website but am a little concerned that caching tools might affect EE. |
|
It sounds like there’s a JavaScript error happening somewhere on that page, which would cause the cog to keep spinning. If you check the page with the web inspector are there and errors listed in the console? |
|
Ah ha! I get this: |
|
Good find! Usually an error like that one is caused by another plugin or even possible the WordPress theme loading a script on the page where it ought not (for example a plugin that adds a datepicker type input, but there’s no datepicker input on the page, so it throws an error). The way forward will be to temporarily deactivate all other plugins one-by-one until the error goes away. |
|
Oh crikey. Right, here I go… |
|
It’s something in the theme. 🙁 |
|
Good find. If there’s a way we can download a copy of the theme we can see if there’s a way to unhook that script from that page. Usually a dropbox or Google drive link works best to share a copy of a theme. |
|
Yep, I have it in dropbox for you: https://www.dropbox.com/sh/1unx068cc4zl9se/AACIoSU45wyIEazUDjovE_PKa?dl=0 |
|
I loaded up the theme onto a local site and there’s no errors related to TypeError: undefined is not an object (evaluating ‘jQuery.datepicker.setDefaults’). That said, there are some problems with extra
Aside from that, I don’t see anything here that could be causing the error that’s on your site. Does the error happen if the theme is activated and only the Event Espresso plugin is activated? (no other plugins besides Event Espresso activated, including any add-ons). |
|
The support post ‘Stripe Payments Slow’ 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.