• Resolved wessyl

    (@wessyl)


    HI,

    When using Hcaptcha with Ninja Form on WP, sometimes the captcha does not work.
    By pressing F5, it displays 1/3

    Do you have any idea of ??the problem?

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor kaggdesign

    (@kaggdesign)

    Hi,

    What do you mean under 1/3? I cannot imagine how hCaptcha widget can be shown only in 1/3 of its width (or height)?

    Also, you have JS errors in the console. Under some race conditions, they may prevent execution of hCaptcha JS code. In such a case, you will see an hCaptcha placeholder only (without the checkbox to click and text). It is not our bug. You should fix JS errors on your website.

    Thread Starter wessyl

    (@wessyl)

    Good morning,

    No, 1/3 means that it doesn’t work well 1 out of 3 times.

    This has nothing to do with the JS error, I had already tested.
    Even without the error, the hcaptcha does not display well. I have the same problem on another site with ninja form. Moreover, even when the hcaptcha is ok, it does not work.

    Looking forward to your help.
    Thank you

    • This reply was modified 1 month, 1 week ago by wessyl.
    • This reply was modified 1 month, 1 week ago by wessyl.
    • This reply was modified 1 month, 1 week ago by wessyl.
    Thread Starter wessyl

    (@wessyl)

    Also impossible to validate the captcha??
    https://ibb.co/dtTLWz5

    Begin System Info

    -- hCaptcha Info --

    Version: 4.6.0
    Site key: Set
    Secret key: Set
    Theme: light
    Size: normal
    Language: Auto-detect
    Mode: live
    Custom Themes: Off
    Config Params: Not set
    API Host: js.hcaptcha.com
    Asset Host:
    Endpoint:
    Host:
    Image Host:
    Report API:
    Sentry:
    Backend: api.hcaptcha.com
    Turn Off When Logged In: On
    Disable reCAPTCHA Compatibility: On
    Whitelisted IPs: Not set
    Login attempts before hCaptcha: 0
    Failed login attempts interval, min: 15
    Delay showing hCaptcha, ms: 500
    • This reply was modified 1 month, 1 week ago by wessyl.
    • This reply was modified 1 month, 1 week ago by wessyl.
    Thread Starter wessyl

    (@wessyl)

    Plugin Contributor kaggdesign

    (@kaggdesign)

    It was a hard case. It took a lot of time to understand what was going on. I was able to reproduce only in an incognito window, at the first load. No caches, no cookie – then I see the issue.

    It is a race condition caused by number of scripts present on the page, server response times, etc.

    I have fixed it. Could you please try v4.7.0-RC1 of the plugin? Download zip, install the plugin from on your site and kindly let me know.

    Thank you.

    • This reply was modified 1 month ago by kaggdesign.
    Plugin Contributor kaggdesign

    (@kaggdesign)

    I have fixed one more issue with Ninja forms. So, please download and install the 4.7.0-RC2. Kindly let me know when done.

    Thank you.

    Thread Starter wessyl

    (@wessyl)

    Thank you for your feedback.

    I can’t download the RC2, I have a 404 back.

    Thank You

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Apologies, here is an accessible link to 4.7.0-RC2. Kindly let me know. Thanks.

    Thread Starter wessyl

    (@wessyl)

    Thank you very much, it’s perfect especially seems to correct all our problems.

    Just chiming in here to say that version 4.6.0 also did not work with Ninja Forms for me, when submitting a form the Captcha showed as not completed, even though it was. The new version you provided fixed the issue, however I can report another (less severe) bug.

    With version 4.6.0, when the “Force hCaptcha” option was checked, the Captcha solver was triggered when submitting the form. With your version 4.7.0-RC2, this no longer works. When clicking on submit and the Captcha has not been solved, it is validated and shown as not completed instead of triggering the solver. So essentially the “Force hCaptcha” option no longer works.

    Nevermind, it works! Turns out I just needed to re-create the hCaptcha field in the form after toggling on “Force hCaptcha”. Then the popup works on submit even when hCaptcha is set to invisible.

    Plugin Contributor kaggdesign

    (@kaggdesign)

    Thank you for reporting!

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