MODX EXTRA
ReCaptchaV2
Google Recaptcha (V2 and V3) for MODX CMS
Creator: YJ Tso (sepiariver)
3.2.0-beta1 (69 KB) Other Versions Need help installing this extra?About ReCaptchaV2
ReCaptchaV2
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/
Information
Instructions
Install via Package Management.
New in ReCaptchaV2 3.2.0-beta1
3.2.0-beta1
Thanks to @jcdm and @excelerondesign for PRs. Properties now passed to TPL Chunks. Better documentation #44 Fix form_id regex
3.1.1-rc1
Italian lexicon.
3.1.0-rc1
Better handling of Snippet properties Better support multiple forms
3.0.1-rc1
Add token_key System Setting to build pkg Set expected hostname from MODX config
3.0.0-rc1
Formalize support for ReCaptcha V3 Cleaned up sample Chunk for "Invisible" V2 Release candidate could use more testing
2.3.0-rc1
Add support for "Invisible Recaptcha" implementation Support custom TPL chunk Thanks to @gadgetto for German lexicons Thanks to @matdave for validator option
2.2.1-beta1
Adds support for lexicons [PR 19](https://github.com/sepiariver/recaptchav2/pull/19) Thanks to: https://github.com/lawebfabric
2.0.2-rc1
Set default request method to CurlPost
2.0.1-rc1
Tiny bit of code cleanup
2.0.0-rc1
Update Google Recaptcha class to latest 1.1.2 https://github.com/google/recaptcha
1.0.0-rc1
Fixes for Login package compatibility
0.9.2-beta1
Initial Beta Release.