I am working for a project where I have to integrate google recaptcha v2 . I am afraid about what happens if the captcha monthly limit exceeds , How will the google response looks like at that time ? How will I validate for such a scenario ? Basically after 1 million usage is over I have to allow login of the user Has anyone done this thing?
I have written frontend validation basic code till now, if the length of google response is 0 or greater Since I don't know what will be the google response after 1 million quota I am not able to write any code to validate that?
You will not receive an error creating a token with a call to execute, instead you will receive an error when you create an assessment using that token after 1 million if you have not set up a billing account.
https://cloud.google.com/recaptcha-enterprise/docs/billing-information
If you make the call to assessment using the REST endpoint you will get a 429 RESOURCE EXHAUSTED response.