Hi.
The reason why buttons aren’t clickable is not related to CORS error, but rather the absence of stripe-handler-ng.js script on the page. Some plugin or theme config prevents it from being loaded.
Try to switch your theme to one of the default WP themes and see if it works. If it is, then let me know which theme and\or pagebuilder you’re using on your website so I can try to reproduce the issue on my test server.
Hi Alexander,
you’re right.
Switching back to default theme solves the issue.
Unluckily I’m working on a site developed some year ago by other guys.
Maybe the culprit could be the obsolete “WP exec PHP” plugin that’s denying also to update to newer PHP version?
I need to stay to PHP 7.3.11 otherwise the site stop to work.
I think the issue is caused by your custom theme. As a guess, I think it’s missing some default WP routines which many plugins (including ours) rely on.
It’s difficult to see what’s wrong without being able to see source code of your theme, but I’d suggest you to have a look at it and make sure both wp_head(); and wp_footer(); lines are there. wp_head(); should be in your theme’s header.php file and wp_footer(); should be in footer.php (if your theme have those files).
Also you don’t need to update to newer version of PHP for Stripe Payments plugin to operate, as the issue it not related to PHP version.
Again, you was right.
Both wp_footer() and wp_head() was missing in the custom theme.
After adding them into respective files the plugin is working flawlessly.
I’m very much satisfied by plugin behaviour and support.
Thanks a lot!
—
Maurizio
-
This reply was modified 6 years ago by
mlacecilia.
Good to know you got this resolved…
… and that my psychic abilities are not rusted 🙂