Type
magento2-module
Captcha for Magento 2
magento2-module
GPL-3.0
None
None
None
None
None
Google reCAPTCHA for Magento 2
Magento 2.2+ because we need ViewModel
classes.
composer require ph2m/captcha-m2
php bin/magento module:enable PH2M_Captcha
php bin/magento setup:upgrade
Because the Invisible reCAPTCHA needs to add some data
to the submit button, the module adds some jQuery
and tries to select the default Magento 2 submit button using the selector button.action.submit
.
If your theme has removed these classes, you need to change this selector in configuration.