Javascript Error and Stripe

Hi I have the pro version of the plugin, I cannot seem to get the Stripe pop up form to appear when checking out. I see this error in JavaScript but I am not sure how to rectify it? Any ideas?
Thanks S! xo

https://incommunion.org/test/

s2member-o.php?ws_plugin__s2member_js_w_globals=1&qcABC=1&ver=190822-190822-3599283043:1 Uncaught ReferenceError: jQuery is not defined
at s2member-o.php?ws_plugin__s2member_js_w_globals=1&qcABC=1&ver=190822-190822-3599283043:1

Hi Sarah.

There seems something outside of s2Member preventing jQuery to load. I’d suggest testing for plugin/theme conflict, to find it. You’d deactivate all other plugins other than s2Member and change the theme to the default, and try to reproduce the behavior, it’ll most likely be gone. Then you reactivate the others little by little, testing after each, to see what brings back the problem.

This sounds like something you can test while logged in to your admin account, so this plugin may be useful: https://wordpress.org/plugins/health-check/

:slight_smile:

Hmm, thanks, I tried the health check plugin with just the s2 member plugin and it still does not allow the the Stripe form to work. Could this be cloudflare? If so, what setting?

S

Yes. If you use cloudflare rocket loader it will break java script on payment pages.

Set up a page rule to exclude your payment pages and see how that works

2 Likes

That did it Jonathan! Thanks!
And thanks Cristián!

xo xo

1 Like

You’ll also find it breaks things like the password strength indicator on your registration page.

Rocket loader is great, when it works, but test everything, if something breaks, set up a page rule

1 Like