Check out form is not working

Since last S2member update, checkbout form is not working properly. It does not allow credit card details to put. Please advise.

Hi LEKH,

It looks as though your s2 javascript is not being loaded, although I doubt it has to do with the update…

You can open the page source, look for s2member-o.php, there are two, one is for the javascript, and try opening it? Do you get the JS or some sort of error?

Could you give me the link to that page with the pro-form so I take a look?

:slight_smile:

Hi,

This is the link.

https://lekh.co/donate/

Thanks.

I can’t find the s2 css or js in the HTML source of the page. Something is preventing it from even being added there.

I see that the file itself can be reached, so no issue there: https://lekh.co/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals=4d5c98fbf33190d4cf4022c7473fe285&qcABC=1&ver=220809-220421-2656381882

Have you changed anything to the website recently, around the time you noticed this problem? I know you mentioned updating s2, but I know that’s not it. Did you update or add something else around that time, too?

If you have a plugin(s) that deals with the page’s JS in any way, could you deactivate it temporarily to test?

:slight_smile:

Also check Cloudflare’s settings (if in use), since things like Rocket Loader may interfere sometimes.

We solved the issue. It was one of the options in S2member for loading JavaScript in general options settings.

thank you for your help.

2 Likes

Thanks for the update.

It was one of the options in S2member for loading JavaScript in general options settings.

Do you mean the lazy loading one? I see. But that would still have loaded s2’s JS on the pro-form page, because it’s one of those pages where it’s needed. I wonder what interfered with its normal functioning (loading on a page where it’s needed).

Anyway, I’m glad you sorted it out and the pro-form is working fine again now.

:slight_smile: