Magento 2 - Add captcha to checkout order review processHow to add google reCaptcha on the checkout page Magento 2Carding attack on websiteProduct review captchaHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlAdd demo products in onepage checkout order review pageMagento 2 - How to add Extra Checkout Step after Review & Payments Section with Place Order ButtonMagento 2 - How to add captcha to a custom formHow to add captcha in product review form in magento2?Add custom requred checkbox to checkout Order Review stepMagento 2.2.0 - checkout_index_index.xml shippingAdditional not workingMagento 2.2.5 - How to add the google captcha in checkout page before place order button

When a company launches a new product do they "come out" with a new product or do they "come up" with a new product?

Stopping power of mountain vs road bike

Is it possible to run Internet Explorer on OS X El Capitan?

How do I write bicross product symbols in latex?

How can saying a song's name be a copyright violation?

Were any external disk drives stacked vertically?

What is the word for reserving something for yourself before others do?

How to prevent "they're falling in love" trope

Intersection of two sorted vectors in C++

Why does Kotter return in Welcome Back Kotter

What's the point of deactivating Num Lock on login screens?

Anagram holiday

Facing a paradox: Earnshaw's theorem in one dimension

Is there a hemisphere-neutral way of specifying a season?

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?

How could indestructible materials be used in power generation?

Emailing HOD to enhance faculty application

Can I use a neutral wire from another outlet to repair a broken neutral?

How much of data wrangling is a data scientist's job?

Brothers & sisters

Took a trip to a parallel universe, need help deciphering

Is it canonical bit space?

Will google still index a page if I use a $_SESSION variable?

I Accidentally Deleted a Stock Terminal Theme



Magento 2 - Add captcha to checkout order review process


How to add google reCaptcha on the checkout page Magento 2Carding attack on websiteProduct review captchaHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlAdd demo products in onepage checkout order review pageMagento 2 - How to add Extra Checkout Step after Review & Payments Section with Place Order ButtonMagento 2 - How to add captcha to a custom formHow to add captcha in product review form in magento2?Add custom requred checkbox to checkout Order Review stepMagento 2.2.0 - checkout_index_index.xml shippingAdditional not workingMagento 2.2.5 - How to add the google captcha in checkout page before place order button






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








6















I need to add a captcha validation to checkout order review right before place order. I want to use the built in Captcha functionality. I dug into the implementation and discovered that there are two approaches:



  • block reference through layout (for forgot password, create user and login, contact us and change password) which doesn't apply in my case

  • UI components (for Checkout as a guest and Register during checkout)

I tried to mimic the guest_checkout implementation but without success.



I have created a module that extends Magento_Captcha and created MyProject/Captcha/view/frontend/layout/checkout_index_index.xml
with the following xml configuration:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="checkout.root">
<arguments>
<argument name="jsLayout" xsi:type="array">
<item name="components" xsi:type="array">
<item name="checkout" xsi:type="array">
<item name="children" xsi:type="array">
<item name="steps" xsi:type="array">
<item name="children" xsi:type="array">
<item name="billing-step" xsi:type="array">
<item name="children" xsi:type="array">
<item name="payment" xsi:type="array">
<item name="children" xsi:type="array">
<item name="beforeMethods" xsi:type="array">
<item name="children" xsi:type="array">
<item name="captcha-order-review" xsi:type="array">
<item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
<item name="displayArea" xsi:type="string">beforeMethods</item>
<item name="formId" xsi:type="string">checkout_order_review</item>
<item name="configSource" xsi:type="string">checkoutConfig</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</item>
</argument>
</arguments>
</referenceBlock>
</body>
</page>


but nothing is displayed. The configuration is loaded - see screenshot below:
enter image description here



I tried to add a simple text by using the below xml configuration



<item name="some_text" xsi:type="array">
<item name="sortOrder" xsi:type="string">35</item>
<item name="component" xsi:type="string">uiComponent</item>
<item name="config" xsi:type="array">
<item name="template" xsi:type="string">MyProject_Captcha/checkout/test</item>
</item>
</item>


and the text in frontend/web/template/checkout/test.html is displayed.



What would be the best approach and implementation guide lines in this case? Am I missing anything?










share|improve this question






























    6















    I need to add a captcha validation to checkout order review right before place order. I want to use the built in Captcha functionality. I dug into the implementation and discovered that there are two approaches:



    • block reference through layout (for forgot password, create user and login, contact us and change password) which doesn't apply in my case

    • UI components (for Checkout as a guest and Register during checkout)

    I tried to mimic the guest_checkout implementation but without success.



    I have created a module that extends Magento_Captcha and created MyProject/Captcha/view/frontend/layout/checkout_index_index.xml
    with the following xml configuration:



    <?xml version="1.0"?>
    <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
    <referenceBlock name="checkout.root">
    <arguments>
    <argument name="jsLayout" xsi:type="array">
    <item name="components" xsi:type="array">
    <item name="checkout" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="steps" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="billing-step" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="payment" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="beforeMethods" xsi:type="array">
    <item name="children" xsi:type="array">
    <item name="captcha-order-review" xsi:type="array">
    <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
    <item name="displayArea" xsi:type="string">beforeMethods</item>
    <item name="formId" xsi:type="string">checkout_order_review</item>
    <item name="configSource" xsi:type="string">checkoutConfig</item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </item>
    </argument>
    </arguments>
    </referenceBlock>
    </body>
    </page>


    but nothing is displayed. The configuration is loaded - see screenshot below:
    enter image description here



    I tried to add a simple text by using the below xml configuration



    <item name="some_text" xsi:type="array">
    <item name="sortOrder" xsi:type="string">35</item>
    <item name="component" xsi:type="string">uiComponent</item>
    <item name="config" xsi:type="array">
    <item name="template" xsi:type="string">MyProject_Captcha/checkout/test</item>
    </item>
    </item>


    and the text in frontend/web/template/checkout/test.html is displayed.



    What would be the best approach and implementation guide lines in this case? Am I missing anything?










    share|improve this question


























      6












      6








      6








      I need to add a captcha validation to checkout order review right before place order. I want to use the built in Captcha functionality. I dug into the implementation and discovered that there are two approaches:



      • block reference through layout (for forgot password, create user and login, contact us and change password) which doesn't apply in my case

      • UI components (for Checkout as a guest and Register during checkout)

      I tried to mimic the guest_checkout implementation but without success.



      I have created a module that extends Magento_Captcha and created MyProject/Captcha/view/frontend/layout/checkout_index_index.xml
      with the following xml configuration:



      <?xml version="1.0"?>
      <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceBlock name="checkout.root">
      <arguments>
      <argument name="jsLayout" xsi:type="array">
      <item name="components" xsi:type="array">
      <item name="checkout" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="steps" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="billing-step" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="payment" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="beforeMethods" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="captcha-order-review" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
      <item name="displayArea" xsi:type="string">beforeMethods</item>
      <item name="formId" xsi:type="string">checkout_order_review</item>
      <item name="configSource" xsi:type="string">checkoutConfig</item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </argument>
      </arguments>
      </referenceBlock>
      </body>
      </page>


      but nothing is displayed. The configuration is loaded - see screenshot below:
      enter image description here



      I tried to add a simple text by using the below xml configuration



      <item name="some_text" xsi:type="array">
      <item name="sortOrder" xsi:type="string">35</item>
      <item name="component" xsi:type="string">uiComponent</item>
      <item name="config" xsi:type="array">
      <item name="template" xsi:type="string">MyProject_Captcha/checkout/test</item>
      </item>
      </item>


      and the text in frontend/web/template/checkout/test.html is displayed.



      What would be the best approach and implementation guide lines in this case? Am I missing anything?










      share|improve this question
















      I need to add a captcha validation to checkout order review right before place order. I want to use the built in Captcha functionality. I dug into the implementation and discovered that there are two approaches:



      • block reference through layout (for forgot password, create user and login, contact us and change password) which doesn't apply in my case

      • UI components (for Checkout as a guest and Register during checkout)

      I tried to mimic the guest_checkout implementation but without success.



      I have created a module that extends Magento_Captcha and created MyProject/Captcha/view/frontend/layout/checkout_index_index.xml
      with the following xml configuration:



      <?xml version="1.0"?>
      <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
      <body>
      <referenceBlock name="checkout.root">
      <arguments>
      <argument name="jsLayout" xsi:type="array">
      <item name="components" xsi:type="array">
      <item name="checkout" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="steps" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="billing-step" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="payment" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="beforeMethods" xsi:type="array">
      <item name="children" xsi:type="array">
      <item name="captcha-order-review" xsi:type="array">
      <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
      <item name="displayArea" xsi:type="string">beforeMethods</item>
      <item name="formId" xsi:type="string">checkout_order_review</item>
      <item name="configSource" xsi:type="string">checkoutConfig</item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </item>
      </argument>
      </arguments>
      </referenceBlock>
      </body>
      </page>


      but nothing is displayed. The configuration is loaded - see screenshot below:
      enter image description here



      I tried to add a simple text by using the below xml configuration



      <item name="some_text" xsi:type="array">
      <item name="sortOrder" xsi:type="string">35</item>
      <item name="component" xsi:type="string">uiComponent</item>
      <item name="config" xsi:type="array">
      <item name="template" xsi:type="string">MyProject_Captcha/checkout/test</item>
      </item>
      </item>


      and the text in frontend/web/template/checkout/test.html is displayed.



      What would be the best approach and implementation guide lines in this case? Am I missing anything?







      magento2 onepage-checkout captcha






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 4 '18 at 9:01







      Radu

















      asked Apr 30 '18 at 21:24









      RaduRadu

      1318




      1318




















          1 Answer
          1






          active

          oldest

          votes


















          -1














          On M2.1, I've 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.



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="checkout.root">
          <arguments>
          <argument name="jsLayout" xsi:type="array">
          <item name="components" xsi:type="array">
          <item name="checkout" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="steps" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="billing-step" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payment" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payments-list" xsi:type="array">
          <item name="children" xsi:type="array">
          <!-- merge additional data after payment methods here -->
          <item name="captcha-review" xsi:type="array">
          <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
          <item name="displayArea" xsi:type="string">before-place-order</item>
          <item name="formId" xsi:type="string">co-payment-form</item>
          <item name="configSource" xsi:type="string">checkoutConfig</item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </argument>
          </arguments>
          </referenceBlock>
          </body>
          </page>


          will look like this
          enter image description here






          share|improve this answer

























          • I have implemented but it's not working. Can you please explain in detail?

            – Akash
            Mar 22 at 14:05











          • can you provide some details regarding what exactly is not working?

            – Radu
            Mar 22 at 15:21











          • I have created my custom module and add checkout_index_index.xml file with your code but not working.

            – Akash
            Mar 25 at 9:08











          • -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

            – jamil
            2 days ago











          • @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

            – Radu
            2 days ago











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "479"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f224290%2fmagento-2-add-captcha-to-checkout-order-review-process%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          -1














          On M2.1, I've 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.



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="checkout.root">
          <arguments>
          <argument name="jsLayout" xsi:type="array">
          <item name="components" xsi:type="array">
          <item name="checkout" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="steps" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="billing-step" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payment" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payments-list" xsi:type="array">
          <item name="children" xsi:type="array">
          <!-- merge additional data after payment methods here -->
          <item name="captcha-review" xsi:type="array">
          <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
          <item name="displayArea" xsi:type="string">before-place-order</item>
          <item name="formId" xsi:type="string">co-payment-form</item>
          <item name="configSource" xsi:type="string">checkoutConfig</item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </argument>
          </arguments>
          </referenceBlock>
          </body>
          </page>


          will look like this
          enter image description here






          share|improve this answer

























          • I have implemented but it's not working. Can you please explain in detail?

            – Akash
            Mar 22 at 14:05











          • can you provide some details regarding what exactly is not working?

            – Radu
            Mar 22 at 15:21











          • I have created my custom module and add checkout_index_index.xml file with your code but not working.

            – Akash
            Mar 25 at 9:08











          • -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

            – jamil
            2 days ago











          • @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

            – Radu
            2 days ago















          -1














          On M2.1, I've 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.



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="checkout.root">
          <arguments>
          <argument name="jsLayout" xsi:type="array">
          <item name="components" xsi:type="array">
          <item name="checkout" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="steps" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="billing-step" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payment" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payments-list" xsi:type="array">
          <item name="children" xsi:type="array">
          <!-- merge additional data after payment methods here -->
          <item name="captcha-review" xsi:type="array">
          <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
          <item name="displayArea" xsi:type="string">before-place-order</item>
          <item name="formId" xsi:type="string">co-payment-form</item>
          <item name="configSource" xsi:type="string">checkoutConfig</item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </argument>
          </arguments>
          </referenceBlock>
          </body>
          </page>


          will look like this
          enter image description here






          share|improve this answer

























          • I have implemented but it's not working. Can you please explain in detail?

            – Akash
            Mar 22 at 14:05











          • can you provide some details regarding what exactly is not working?

            – Radu
            Mar 22 at 15:21











          • I have created my custom module and add checkout_index_index.xml file with your code but not working.

            – Akash
            Mar 25 at 9:08











          • -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

            – jamil
            2 days ago











          • @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

            – Radu
            2 days ago













          -1












          -1








          -1







          On M2.1, I've 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.



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="checkout.root">
          <arguments>
          <argument name="jsLayout" xsi:type="array">
          <item name="components" xsi:type="array">
          <item name="checkout" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="steps" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="billing-step" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payment" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payments-list" xsi:type="array">
          <item name="children" xsi:type="array">
          <!-- merge additional data after payment methods here -->
          <item name="captcha-review" xsi:type="array">
          <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
          <item name="displayArea" xsi:type="string">before-place-order</item>
          <item name="formId" xsi:type="string">co-payment-form</item>
          <item name="configSource" xsi:type="string">checkoutConfig</item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </argument>
          </arguments>
          </referenceBlock>
          </body>
          </page>


          will look like this
          enter image description here






          share|improve this answer















          On M2.1, I've 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.



          <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
          <body>
          <referenceBlock name="checkout.root">
          <arguments>
          <argument name="jsLayout" xsi:type="array">
          <item name="components" xsi:type="array">
          <item name="checkout" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="steps" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="billing-step" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payment" xsi:type="array">
          <item name="children" xsi:type="array">
          <item name="payments-list" xsi:type="array">
          <item name="children" xsi:type="array">
          <!-- merge additional data after payment methods here -->
          <item name="captcha-review" xsi:type="array">
          <item name="component" xsi:type="string">Magento_Captcha/js/view/checkout/defaultCaptcha</item>
          <item name="displayArea" xsi:type="string">before-place-order</item>
          <item name="formId" xsi:type="string">co-payment-form</item>
          <item name="configSource" xsi:type="string">checkoutConfig</item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </item>
          </argument>
          </arguments>
          </referenceBlock>
          </body>
          </page>


          will look like this
          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 2 days ago

























          answered May 16 '18 at 14:04









          RaduRadu

          1318




          1318












          • I have implemented but it's not working. Can you please explain in detail?

            – Akash
            Mar 22 at 14:05











          • can you provide some details regarding what exactly is not working?

            – Radu
            Mar 22 at 15:21











          • I have created my custom module and add checkout_index_index.xml file with your code but not working.

            – Akash
            Mar 25 at 9:08











          • -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

            – jamil
            2 days ago











          • @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

            – Radu
            2 days ago

















          • I have implemented but it's not working. Can you please explain in detail?

            – Akash
            Mar 22 at 14:05











          • can you provide some details regarding what exactly is not working?

            – Radu
            Mar 22 at 15:21











          • I have created my custom module and add checkout_index_index.xml file with your code but not working.

            – Akash
            Mar 25 at 9:08











          • -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

            – jamil
            2 days ago











          • @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

            – Radu
            2 days ago
















          I have implemented but it's not working. Can you please explain in detail?

          – Akash
          Mar 22 at 14:05





          I have implemented but it's not working. Can you please explain in detail?

          – Akash
          Mar 22 at 14:05













          can you provide some details regarding what exactly is not working?

          – Radu
          Mar 22 at 15:21





          can you provide some details regarding what exactly is not working?

          – Radu
          Mar 22 at 15:21













          I have created my custom module and add checkout_index_index.xml file with your code but not working.

          – Akash
          Mar 25 at 9:08





          I have created my custom module and add checkout_index_index.xml file with your code but not working.

          – Akash
          Mar 25 at 9:08













          -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

          – jamil
          2 days ago





          -1 on this, this just sent me on a goose chase. I feel like you left out some important details or maybe this just broke on newer magento but either way it doesn't work for me.

          – jamil
          2 days ago













          @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

          – Radu
          2 days ago





          @jamil this was developed on Magento 2.1 - I am sorry this wasn't helpful enough for you. believe me this was a really time consuming task for me at that time and I struggled really hard to resolve it (the documentation wasn't that great at that time).

          – Radu
          2 days ago

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Magento Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f224290%2fmagento-2-add-captcha-to-checkout-order-review-process%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Sum ergo cogito? 1 nng

          419 nièngy_Soadمي 19bal1.5o_g

          Queiggey Chernihivv 9NnOo i Zw X QqKk LpB