react-google-recaptcha-v3 icon indicating copy to clipboard operation
react-google-recaptcha-v3 copied to clipboard

[BUG] The commit "Fix issue with script reload on provider rerender with `scriptProps` present" introduces a regression on my product

Open felixmeziere opened this issue 2 years ago • 2 comments

Hi there :)

This commit from version 1.9.8 introduces a regression on my website's checkout page, when the user uses recaptcha twice in a row (first to signup, and then again immediately to purchase a booking).

What happens is there is a js error that blocks the user from doing proceeding with the purchase. I'm on nextjs 12.2.2. You can find details on the error below:

TypeError Array.<anonymous>(recaptcha/releases/PRMRaAwB3KlylGQR57Dyk-pF/recaptcha__fr)
Cannot read properties of undefined (reading 'auto_render_clients')

image

How can we solve this issue? Is it possible to revert this commit?

Thanks for the help!

(@nmalyarsky)

felixmeziere avatar Aug 23 '22 13:08 felixmeziere

We experienced the exact same problem with 1.10.0. Reverting to 1.9.7 worked for us.

michetti avatar Nov 21 '22 20:11 michetti

We've got the same issue with 1.10.0.

theo-mesnil avatar Nov 29 '22 15:11 theo-mesnil