The new V2 of Google's reCAPTCHA is pretty slick, and a lot more user-friendly, so I'd like to implement it in our store. We have been using the "Checkout reCAPTCHA" module, but it doesn't use the new V2 code, and the Miva folks tell me they have no plans to add it. They also suggested that I could implement V2 manually, rather than use the manual, but they couldn't say how.
I've implemented the V2 reCAPCHA manually numerous times myself in non-store related PHP files, so I know how it works in general. Doing it in Miva has me stumped, though. I can get the captcha element to display during checkout, but I can't figure out where to add the logic to verify that the entered code matched. I basically need to intercept the submission of the form and validate the inputs before continuing, and I'm not sure how to do that.
Any suggestions would be greatly appreciated!
I've implemented the V2 reCAPCHA manually numerous times myself in non-store related PHP files, so I know how it works in general. Doing it in Miva has me stumped, though. I can get the captcha element to display during checkout, but I can't figure out where to add the logic to verify that the entered code matched. I basically need to intercept the submission of the form and validate the inputs before continuing, and I'm not sure how to do that.
Any suggestions would be greatly appreciated!
Comment