Hello there,
Good Day!!!
We’re here to assist you with this one.
Is your customer reported “Something went wrong please try after sometime” error notice upon subscription?
If so then please read the below information.
We use one layer of security to our ajax request which is WP Nonce – but due to caching mechanism from third party plugins/hosting this security nonce also cached which cause this error “something went wrong, please try again after some time”, some cases by setting up cache timeout in plugin settings reduce this kind of issue.
How to get rid of this error?
From version 2.0 we added different techniques to avoid Something Went Wrong Error – If your site has encounter such issues we suggest you to try the below steps to get rid of Something Went Wrong Error
Go to Admin Dashboard -> Instock Notifier -> Settings -> Troubleshoot Settings Section -> Frontend Subscribe Form Submission via
It has two option one is WordPress AJAX(default) and another one is WordPress REST API Route
Try change that option to WordPress REST API Route and check it out(purge your cache and check it out).
If the above steps not helpful then follow the another method which is Google reCAPTCHA v3(Invisible Recaptcha) – For that you need Site key and Secret Key of v3 – Go to Admin Dashboard -> Instock Notifier -> Settings -> Google reCAPTCHA Settings -> Enable Google reCAPTCHA and Choose Version -> V3 followed by Site Key and Secret Key(both fields required in order to function properly)
If v3 not helps try v2 of Google reCAPTCHA
Let us know.
Thanks.