cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 - how to add the google captcha/captcha in checkout page place order before

Magento 2 - how to add the google captcha/captcha in checkout page place order before

Magento 2 - how to add the google captcha/captcha in checkout page place order before

if issue solved,Click Kudos & Accept as Solution
Thanks
SelvaKumar
5 REPLIES 5

Re: Magento 2 - how to add the google captcha/captcha in checkout page place order before

Hello @selva_mage_dev

 

Managed to add captcha in the order review step, to each payment method, right before the place order button. There are also other things to keep in mind when implementing this feature like admin enable and visibility settings, validation, captcha reload when clicking the place order button (XHR request). Also make sure your captcha inputs have unique names in case you have multiple payment methods.

 

Please follow below link:

https://magento.stackexchange.com/questions/224290/magento-2-add-captcha-to-checkout-order-review-pr...

 

Or You can add https://github.com/magento/magespecialist_ReCaptcha/ and call incheckout_index_index.xml

Manish Mittal
https://www.manishmittal.com/

Re: Magento 2 - how to add the google captcha/captcha in checkout page place order button before

Hello  Manish Mittal,

 

I need to show the google visible captcha in checkout page before place order button before.

 

Please follow below link:

https://magento.stackexchange.com/questions/224290/magento-2-add-captcha-to-checkout-order-review-pr...

 

 

I have tried the above link but it is not working..

 

My Magento Version is 2.2.5

 

 

 

if issue solved,Click Kudos & Accept as Solution
Thanks
SelvaKumar

Re: Magento 2 - how to add the google captcha/captcha in checkout page place order button before

Hello @selva_mage_dev,

 

 

Please run below command in Magento 2 root directory

 

php bin/magento setup:upgrade
rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/
php -dmemory_limit=6G bin/magento setup:static-content:deploy -f
chmod -Rf 777 pub/ var/
php bin/magento cache:clean

--
If my answer is useful, please Accept as Solution & give Kudos

Re: Magento 2 - how to add the google captcha/captcha in checkout page place order button before

Hi @Manish Mittal

 

Yes. i am also tried but it is not working..

if issue solved,Click Kudos & Accept as Solution
Thanks
SelvaKumar

Re: Magento 2 - how to add the google captcha/captcha in checkout page place order button before

Hi @gelanivishal

 

i have tried but not working

if issue solved,Click Kudos & Accept as Solution
Thanks
SelvaKumar