• Resolved user9876789

    (@user9876789)


    Hello, we use the sign up to waitlist form on single product page on a client’s site. Recently their users have been receiving the message ‘Something went wrong, please try after sometime’ when trying to sign up. It only seems to happen for logged out users.

    I was able to replicate this a while ago but haven’t since – once a user has the issue they cannot sign up in subsequent attempts. We have recently moved the site to Cloudways which uses their own caching plugin called Breeze which hooks into Cloudflare. The issue only seems to have started since we moved to them.

    Is there anything you could suggest which could be causing this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support CodeWooGeek Support

    (@codewoogeeksupport)

    Hello there,

    Good Day!!

    We’re here to assist you with this one.

    SOMETHING?WENT?WRONG?ERROR
    We have used one layer of security for our ajax requests, which is WP Nonce, but due to the caching mechanism from third party plugins/hosting, this security nonce is also cached, which causes this error “Something?Went?Wrong,Please try again after some time.”?In some cases,?setting up a cache timeout in the plugin settings can reduce this kind of issue.

    How to get rid of this error?

    In version 2.0, we added new techniques to avoid the “Something Went Wrong Error”. If your site has encountered such issues, we suggest you try the below steps to get rid of the error.  

    1. Go to Admin Dashboard -> Instock Notifier -> Settings -> Troubleshoot Settings Section ->?Frontend?Subscribe?Form Submission via?one is WordPress AJAX (default) and the other one is WordPress REST API?Route.?Try changing that option to?WordPress REST API Route?and checking it out (purge your cache and check it out).
    1. If the preceding steps are ineffective, try Google?reCAPTCHA v3?(Invisible Recaptcha) – you will need a Site key and a Secret Key of v3– for this.( Admin Dashboard-> Instock Notifier-> Settings-> Google reCAPTCHA Settings-> Enable Google reCAPTCHA and select Version-> V3 followed by Site Key and Secret Key (both fields are required for proper operation)
    2. If v3 does not help, try v2 of Google reCAPTCHA.

    Let us know.

    Thanks.

    Thread Starter user9876789

    (@user9876789)

    Thanks I have changed the option to the REST API one. I have informed the client and will wait to hear from them, their customers are pretty good at letting them know they’re getting errors so should know if its worked within a few days / a week

    Thread Starter user9876789

    (@user9876789)

    The client has come back to say they are getting errors signing up again. I was able to replicate this time. I have added recaptcha v3. However I now have two new issues.

    I ticked the box to say don’t show the badge. However, the badge is showing on all pages. Also, the cookies for Recaptcha are loading on all pages not just single product so when I run Lighthouse my Best Practices score is reduced to 78 due to 2 cookies now in use _GRECAPTCHA and NID

    Plugin Support CodeWooGeek Support

    (@codewoogeeksupport)

    Hello there,

    We would like to inform you that the issue may be related to cache problems or another plugin using the same v3 reCAPTCHA. To troubleshoot, please purge the site cache and temporarily deactivate all other plugins except for ‘WooCommerce’ and our ‘Back In Stock Notifier for WooCommerce.’ This will help identify the root cause.

    Regarding the loading of the reCAPTCHA library, we will make note of it and work on improving script loading on specific pages in a future update

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.