ReCaptchaV2 integrates V2 AND V3 of Google's ReCaptcha service into MODX as a FormIt hook. You must generate API keys for your domain here: https://www.google.com/recaptcha/admin. Be sure to generate keys for the version of ReCaptcha you wish to implement.
It can also be used with the Login Extra as a preHook, as of version 1.0.0
Version 2+ updates the base Google ReCaptcha class to the latest 1.1.2, including autoloading and cURL support. https://github.com/google/recaptcha It also supports the "invisible" style of ReCaptcha.
Version 3+ includes Snippets, Chunks and System Settings for ReCaptcha V3, for use alongside or in place of V2.
This Extra is maintained in Github: https://github.com/sepiariver/recaptchav2. Bug reports, comments and suggestions welcome.
More info on this new release here: https://sepiariver.com/modx/recaptchav2-supports-recaptchav3/
Install via Package Management.
You must generate API keys for your domain here: https://www.google.com/recaptcha/admin. Be sure to generate keys for the version of ReCaptcha you wish to implement. Enter them into the System Settings before you can use ReCaptchaV2/3.
Please view the README in the package or on Github for usage examples, or see: https://sepiariver.com/modx/recaptchav2-supports-recaptchav3/ or [https://sepiariver.com/modx/recaptcha/](https://sepiariver.com/modx/recaptcha/).
This Extra is maintained in Github: https://github.com/sepiariver/recaptchav2 Bug reports, comments and suggestions welcome.
New in ReCaptchaV2 3.2.1-beta1
B/C fix on regex nonsense
Thanks to @jcdm and @excelerondesign for PRs. Properties now passed to TPL Chunks. Better documentation #44 Fix form_id regex
Better handling of Snippet properties Better support multiple forms
Add token_key System Setting to build pkg Set expected hostname from MODX config
Formalize support for ReCaptcha V3 Cleaned up sample Chunk for "Invisible" V2 Release candidate could use more testing
Add support for "Invisible Recaptcha" implementation Support custom TPL chunk Thanks to @gadgetto for German lexicons Thanks to @matdave for validator option
Set default request method to CurlPost
Tiny bit of code cleanup
Update Google Recaptcha class to latest 1.1.2 https://github.com/google/recaptcha
Fixes for Login package compatibility
Initial Beta Release.