Okay
  Public Ticket #2881631
Google reCaptcha
Closed

Comments

  • Omar started the conversation

    Hi, I am trying to protect my Amelia booking forms from brute attacks. I was hoping to use hCaptcha but your product doesn't seem to support it... can you please confirm that is not the case? (if there is a way to make it work please do let me know)

    For now I am trying to set up Google Captcha but I am afraid I am also struggling.

    Can you please confirm if you support Google Captcha v3, or,  whether you only support the legacy v2 option? as I am getting errors when I try to use v3.

    Last, when I try to use v2 and the "I'm not a robot" option, I don't get any errors when I access the booking form (see attachment), however, I am able to 'Confirm' bookings **before** ticking the Captcha option at all.
    Basically, the Captcha is not working as it is not stopping the form from being submitted.

    I'd really appreciate your help diagnosing and resolving the issue.

  • [deleted] replied

    Hi, Omar,

    Thank you for choosing Amelia.

    At the moment our plugin supports only Google reCAPTCHA, and it should work fine.

    Could you please provide us with the link to the booking page, so we will be able to test it and investigate the issue? You can send the link in a private reply to this ticket.

    Looking forward to hearing from you. 

  • koul replied

    ... I'm also experiencing the same issue. Please post advice on what settings configuration to check. Thank you.

  • [deleted] replied

    Hi Koul,

    we would need to wait for Omar to provide the link; in the meantime please feel free to open a separate ticket so that we can look into it for you as well, as this matter may need some additional information that cannot be shared on a public ticket of another client.

  •   Omar replied privately
  •   [deleted] replied privately
  •   Omar replied privately
  •   Omar replied privately
  •   Omar replied privately
  • [deleted] replied

    Hi Omar

    The error "Cannot read property 'replaceChild' of null at XMLHttpRequest.s.onload" is not causing any issues on your website. Our developers are aware of it, and it will be fixed with one of our future updates. At this moment, it has absolutely no impact on the plugin, or your website there is no need to worry about that.

    In order to use reCAPTCHA in our plugin, you need to sign up for an API key pair for your site here. The API key pair has a site key and secret key which you need to copy and paste into our two fields below called “Google reCAPTCHA Site Key” and “Google reCAPTCHA Secret Key”. Besides these two options, you will also see the option “Add “Invisible Google reCaptcha”. This option allows you to set a smaller reCaptcha without a checkbox field in the lower right corner of the booking form. Customers will still be checked just faster and if you have lots of custom fields then this kind of a reCaptcha will more suit you since it won’t take up much space.

    Amelia is using reCAPTCHA v2, the key type supported in Amelia is v2, so this is why v3 doesn't work. The library used for this purpose doesn't support the key type v3, so you need to switch to v2 in order to have reCAPTCHA in Amelia. Google itself determines when it will be shown and when it will be hidden. It always applies some code in front-end, and it only works when On-Site payment is enabled (since other payment methods are already secure through Stripe, PayPal and WooCommerce), and that code is sent to back-end, and validated before the booking occurs.

    Can we ask you to whitelist Serbia along with the UK so we can troubleshoot this further with our team?



  •   Omar replied privately
  •   [deleted] replied privately
  •   Omar replied privately
  • [deleted] replied

    Hi Omar,

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    The site, unfortunately, keeps being inacessible.

    2733182763.png


    Please provide me a temporary WP-admin (administrator) user for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. 

    We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course, we do not provide login data to third parties. 

    You can write credentials here just check PRIVATE Reply so nobody can see them except us.



  •   Omar replied privately
  • [deleted] replied

    Hi Omar!

    Thank you for contacting back.

    Please white-list Serbia, and white list the IP address shown in my previous screenshot.


    Thank you!

  •   Omar replied privately
  • [deleted] replied

    Hi Omar,

    unfortunately the security measures are still on:

    1096729161.png

    Since the IP is dynamic can you please create a staging site that would have these security measures disabled while we're checking?

    Please let me know.

  •   Omar replied privately
  • [deleted] replied

    Hi Omar!

    Thank you so much we have access; I have forwarded the inquiry to our level 2 support to check reCaptcha, as I could not find the source of the issue.

    They will contact you back as soon as possible.

  •  2,572
    Aleksandar replied

    Hello Omar

    We can access the booking page now, and see the issue, but we can't do anything about it without checking the site from the back.

    Moreover, this would probably require some debugging, so instead of giving us access to this site, could you clone the site and create a staging site for which you can provide us with wp-admin (administrator), FTP and database access credentials?

    Please note that this is a public ticket, so make sure to enable the private response.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables