Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

This recaptcha is for testing purposes only

I'm doing recaptcha integration and I encountered the error as in the ss below.

enter image description here

Can you help with the solution?

like image 302
Muhammed Caylak Avatar asked Oct 26 '25 08:10

Muhammed Caylak


1 Answers

OK, from a quick Google the key you are using (v3 key) is set up for testing purposes only.

I'd like to run automated tests with reCAPTCHA. What should I do? For reCAPTCHA v3, create a separate key for testing environments. Scores may not be accurate as reCAPTCHA v3 relies on seeing real traffic.

For reCAPTCHA v2, use the following test keys. You will always get No CAPTCHA and all verification requests will pass.

The reCAPTCHA widget will show a warning message to ensure it's not used for production traffic.

Source https://developers.google.com/recaptcha/docs/faq

Simply create a new key that is for live environments.

like image 181
Rippo Avatar answered Oct 28 '25 21:10

Rippo