karliuka / m2.ReCaptcha

Magento2. Extension is integrate Google Recaptcha with your Magento2 store.
Open Software License 3.0
31 stars 13 forks source link

'Checkout using your account form' has no recaptcha #13

Open tgamanov opened 6 years ago

tgamanov commented 6 years ago

The template and the script are loaded, but it is not showing it because in the template ReCaptcha/view/frontend/web/template/checkout/reCaptcha.html there is

and the value is not set.

The issue is here ReCaptcha/view/frontend/layout/recaptcha_authentication_popup.xml

instead of

checkout

need to be

checkoutConfig

checkout => checkoutConfig otherwise, the config source is empty.

also, I have found that in ReCaptcha/etc/di.xml

for me it works with index_index => cart_index Thanks for the module. It is cool)
karliuka commented 6 years ago

thanks, i'll check ...