NO BUG: Form spam protection - recaptcha error

Hi :slight_smile:

I’m not sure if this is a bug, but removing the recaptcha keys from bricks settings would make all the forms which used recaptcha to fail.

Shouldn’t there be some fallback mechanism for if the recaptcha api keys were removed?

How to reproduce the issue:

  1. Go to bricks settings and add recaptcha keys
  2. Create a form and set recaptcha as the spam protection service
  3. Delete recaptcha api keys from bricks settings
  4. Try to submit the form and it will fail with recaptcha error

I’d expect forms to go through without any spam protection. Please correct me if I’m wrong.

Thanks much!
Val

Hi Valentin,
Thanks so much for your report!

As long as the recaptcha toggle is enabled on your form, it expects a valid API key. It’s the same as enabling the toggle but not adding an API key.

Best regards,
timmse

Thanks for your answer!

What if the payment method fails and Google cuts access to recaptcha? :slight_smile: Clients would lose leads.

Please consider a fallback mechanism.
Thanks!
Val

Google requires a valid payment method to use their APIs. If there is a problem with this, it is not our responsibility, as the problem would occur generally and everywhere as soon as the API is used.

You are welcome to submit a feature request on the idea board so that we can see if other users have a need for it. But this is certainly not a bug.

1 Like

Thank you very much, timmse!