Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Invisible reCAPTCHA on Multi-Step Form Submissions #1652

Open
Selvavinoth1 opened this issue Nov 21, 2024 · 10 comments
Open

Issue with Invisible reCAPTCHA on Multi-Step Form Submissions #1652

Selvavinoth1 opened this issue Nov 21, 2024 · 10 comments
Assignees
Labels
issue Something isn't working correctly

Comments

@Selvavinoth1
Copy link

What happened?

Hi Team,

We have identified an issue where submissions from the multi-step form are landing in the spam folder. Upon investigation, we noticed the following error on submissions flagged as spam: The response parameter is invalid or malformed.

This issue specifically occurs when using the Invisible reCAPTCHA functionality. Submissions made with reCAPTCHA v2 (visible) are correctly delivered to the legitimate folder, indicating the problem is isolated to the invisible reCAPTCHA implementation.

We have verified the reCAPTCHA keys and template-level configuration, and everything appears to be valid. However, we suspect the issue is related to reCAPTCHA validation during the submission process, particularly on the Freeform multi-step form.
freefrom-captacha-validation

Errors and Stack Trace (if available)

reCAPTCHA - The response parameter is invalid or malformed.

How can we reproduce this?

  1. Submit a multistep form
  2. Submission is landing into the spam folder

Freeform Edition

Pro

Freeform Version

5.7.2

Craft Version

4.13.0

When did this issue start?

Unsure

Previous Freeform Version

5.7.1

@Selvavinoth1 Selvavinoth1 added the issue Something isn't working correctly label Nov 21, 2024
@kjmartens
Copy link
Contributor

Sorry about this @Selvavinoth1,

Can you confirm which reCAPTCHA version this is? E.g. reCAPTCHA v2 Invisible or v3?

Can you also take a screenshot of your Freeform Diagnostics page and post that here? 🙂

@kjmartens kjmartens self-assigned this Nov 21, 2024
@Selvavinoth1
Copy link
Author

Hi @kjmartens,

Thanks for your response, we're using reCAPTCHA V3 Invisible. Attached the screenshot of the Freeform Diagnostics page.

image

Please check and let us know if any other details required from our end.

@kjmartens
Copy link
Contributor

Thanks for the additional information.

I have played around with this on my end and I can't seem to get it to fail. Is it possible you have something configured incorrectly or differently inside the reCAPTCHA admin site? I'm aware there are additional settings in there, and I wonder if any of that has been tinkered with. Are you able to provide a screenshot of that (with keys censored of course)? 🙂

@Selvavinoth1
Copy link
Author

Hi @kjmartens,

Thanks for your response, We have provided the screenshot of Freefrom reCAPTCHA configuration. Please check and confim with us.

Captchas - settings-page

@kjmartens
Copy link
Contributor

kjmartens commented Nov 29, 2024

Thanks for the extra screenshot, @Selvavinoth1.

Could you provide more information on the following:

  • Can you provide a screenshot of the reCAPTCHA admin (from reCAPTCHA website, not Freeform settings).
    • This is what I am referring to:
      Screenshot 2024-11-29 at 11 39 12 AM
  • A screenshot of the configuration of the reCAPTCHA integration inside of the form builder.
    • This is what I am referring to:
      Screenshot 2024-11-29 at 11 43 02 AM
  • Are you seeing any JS or loading errors in the browser console? If so, can you provide those here?
    • One helpful thing is getting the Network Response of an error (if there is one). You can do it this way (keep in mind that you aren't looking for a row named options... it'll be different for yours and named something else, but be in red.
      Network Response

Thanks 🙂

@Selvavinoth1
Copy link
Author

Hi @kjmartens,

Thanks for your response, we have provided the reCAPTCHA admin, form intergation and network error screenshot. Please note that we didn't encounter any JS errors on the browser console and network response. Attached the screenshots for your reference. Please check and confirm with us.

image

image

image

image

@Selva-infotex
Copy link

Hi @kjmartens,

We wanted to follow up on the above request, please check and let us know if any other details are required from us to investigate further.

@kjmartens
Copy link
Contributor

Hi @Selva-infotex / @Selvavinoth1,

Sorry for the delay...

I was able to finally reproduce a similar issue on my end, but it only happens if I am using reCAPTCHA v2 Checkbox and set it to send the submission to the spam folder (instead of present an error) - it's being bypassed by the user so it goes straight to spam but I guess reCAPTCHA doesn't have a valid reason for it.

You're getting this on v2 Invisible and v3, however, so this isn't exactly the answer.

I'm curious, are you able to share a live URL where this is happening? If you wish to not display it publicly here, can you send it in a private support ticket at [email protected]? 🙂

@Selvavinoth1
Copy link
Author

Hi @kjmartens,

Thanks for the confirmation on the issue, yes, we're also faccing the issue with the v2 and v3 Invisible reCAPTCHA. Furthermore, we'll dicuss with our internal team and provide you the website URL through the email shortly.

@Selvavinoth1
Copy link
Author

Hi @kjmartens,

We have shared the website URL through the [email protected] email address. Please check and let us know if any other details required from our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
Development

No branches or pull requests

3 participants