此 recaptcha 仅用于测试目的

This recaptcha is for testing purposes only

我正在做 recaptcha 集成,我遇到了如下 ss 中的错误。

你能帮忙解决一下吗?

好的,快速 Google 您正在使用的密钥(v3 密钥)设置仅用于测试目的。

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.

来源https://developers.google.com/recaptcha/docs/faq

只需创建一个用于实时环境的新密钥。