{"id":22460,"date":"2019-06-21T16:12:47","date_gmt":"2019-06-21T14:12:47","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=22460"},"modified":"2026-05-20T15:47:10","modified_gmt":"2026-05-20T13:47:10","slug":"how-to-enable-captcha-in-magento-2","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html","title":{"rendered":"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026"},"content":{"rendered":"\n<p>Magento 2 is now maintained as Adobe Commerce and Magento Open Source. Modern stores use both native CAPTCHA and Google reCAPTCHA integrations to protect login, registration, checkout, and API endpoints from bots and credential stuffing attacks.<\/p>\n<p><!--more--><\/p>\n<p>CAPTCHA helps ecommerce websites block automated requests and reduce fake registrations, brute-force login attempts, and malicious traffic. While Magento includes native image-based CAPTCHA support, many merchants now prefer Google reCAPTCHA v2 or v3 because they provide stronger bot detection with less friction for customers.<\/p>\n<p>In this article, you will learn what Captcha is, how it works, how it can prevent scammers, and how to keep Captcha codes secure.<\/p>\n<p><strong>Table of contents:<\/strong><\/p>\n<p><a href=\"#step_1\">What does Captcha mean?<br>\n<\/a><a href=\"#step_2\">Why is Captcha important for ecommerce?<br>\n<\/a><a href=\"#step_3\">How to configure Magento Captcha in the back office<br>\n<\/a><a href=\"#step_4\">How to enable Captcha in Magento customer registration form<br>\n<\/a><a href=\"#step_5\">How to add Magento Captcha to custom form<br>\n<\/a><a href=\"#step_6\">How to fix a not displaying Captcha?<br>\n<\/a><a href=\"#step_7\">Top 5 Magento Captcha extensions<\/a><\/p>\n<h2 id=\"step_1\">What does Captcha mean?<\/h2>\n<p><span style=\"font-weight: 400;\">The word CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. It means that CAPTCHA helps to understand who the user actually is &ndash; a real person or a robot. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">How can this program define it? &nbsp;&ndash; Very simple. People are able to see the difference between numbers, letters, and other symbols. So, CAPTCHA can do some manipulations with these signs to check if a user is able to determine them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">A robot can&rsquo;t solve this problem, and the program is very useful to prevent scammers and essential to protect personal or website data. So, CAPTCHA provides Internet safety and allows users to feel protected and secure when using different websites.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Let&rsquo;s find out CAPTCHA functions and how it operates.<\/span><\/p>\n<h3>How does a Captcha work?<\/h3>\n<p><span style=\"font-weight: 400;\">How does this program perform? What are its functions?&nbsp;<\/span><span style=\"font-weight: 400;\">The main purpose of CAPTCHA is to block spam software from posting comments on pages or buying too many products at once. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">What are the most typical forms of Captcha?<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">An image with a few distorted letters<\/span><\/li>\n<li><span style=\"font-weight: 400;\">Choosing a common theme from different images<\/span><\/li>\n<\/ol>\n<h2 id=\"step_2\">Why is Captcha important for ecommerce?<\/h2>\n<p><span style=\"font-weight: 400;\">E-commerce websites usually use CAPTCHA to strengthen security around the most sensitive account access points.<\/span><\/p>\n<h3>At what points do online stores commonly implement CAPTCHA?<\/h3>\n<p>Let&rsquo;s consider the most typical ones:<\/p>\n<ol>\n<li>Sign up for a new account or register<\/li>\n<li>Contact us<\/li>\n<li>Sign up for email newsletters<\/li>\n<li>Request a catalog<\/li>\n<li>Log in to make a purchase<\/li>\n<li>Get a quote<\/li>\n<\/ol>\n<p>If your online shop is unprotected, you may have serious problems. For example, your customer and email databases will be full of spam email addresses. You will need a lot of time and money to improve the situation.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/migration-to-magento-2.png\" width=\"100\" height=\"100\" alt=\"migration to magento 2\" class=\"module_image\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><div class=\"module_content_part\"><h3 class=\"title\">Magento 2 Migration<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento migration<\/p><a href=\"https:\/\/belvg.com\/migration-to-magento-2\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<h3>How to keep Captcha codes secure?<\/h3>\n<p>If you decide to use a CAPTCHA code, you should take several measures.<\/p>\n<ul>\n<li><strong>Secure images<\/strong><br>\nImages must be distorted carelessly when presented to a person. Otherwise, they will be open to cyber attacks.<\/li>\n<\/ul>\n<ul>\n<li><strong>Unique CAPTCHAs<\/strong><br>\nUsing similar codes can attract hackers. So, it&rsquo;s essential to change the type of CAPTCHA regularly and refrain from typical mathematical statements.<\/li>\n<\/ul>\n<ul>\n<li><strong>Script Security<\/strong><br>\nIf you want to be protected from criminals, you shouldn&rsquo;t forget about script security. Make sure that there are no easy ways around the script level.<\/li>\n<\/ul>\n<ul>\n<li><strong>Accessibility<\/strong><br>\nCAPTCHA should be available to everybody. That&rsquo;s why users must have different opportunities for choosing images or reading texts to the audio CAPTCHA.<\/li>\n<\/ul>\n<h3>How does Captcha prevent scammers?<\/h3>\n<p>Nowadays, there are many cyber attacks, and the Internet can not always be safe and secure for people. Hackers have a great number of scamming tactics, and it is easy for them to trick Internet users. Cybercriminals started integrating CAPTCHA into their fake websites to make their scams more trustworthy.<\/p>\n<p>Is Captcha able to block scammers? What are its most beneficial functions? &nbsp;Does it really provide Internet safety?<\/p>\n<p>CAPTCHA protects:<\/p>\n<ol>\n<li>against email worms\/junk mail<\/li>\n<li>email addresses from scammers<\/li>\n<li>website registration<\/li>\n<li>online polling<\/li>\n<\/ol>\n<p>Moreover, CAPTCHA prevents dictionary attacks and comment spam on blogs.<\/p>\n<p>We can see that there are a lot of helpful and useful functions that can help improve Internet safety and protect from cybercriminals.<\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Development Services<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento development<\/p><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<h3>Advantages of Captcha for ecommerce<\/h3>\n<p>Let&rsquo;s consider CAPTCHA benefits for online businesses and why it should be used on websites. To understand if it is helpful for creating Internet safety, we will describe the main advantages and disadvantages.<\/p>\n<p>Benefits of Captcha for an online store:<\/p>\n<ol>\n<li>Stops spam generated by a bot, a script, or a program<\/li>\n<li>Helps to decrease the amount of spam email<\/li>\n<li>Gives Internet users a high level of protection<\/li>\n<li>prevents comment spam (unwelcome messages and advertisements)<\/li>\n<li>stops fake registrations from bots<\/li>\n<\/ol>\n<p>Challenges of Captcha:<\/p>\n<ol>\n<li>It doesn&rsquo;t always identify real users from bots.<\/li>\n<li>It can block website spamming to an extent, but it is presented to both the real users and bots.<\/li>\n<li>It enables stopping spam registrations from bots. But there are sophisticated bots that can bypass CAPTCHA.<\/li>\n<li>Sometimes it can be time-consuming and challenging. It can negatively impact an online business because customers can be really annoyed by identifying difficult texts and images. And they may even choose the website without CAPTCHA.<\/li>\n<\/ol>\n<p>So, we can see that CAPTCHA advantages outweigh the disadvantages. However, some online stores don&rsquo;t use it because they don&rsquo;t want to lose customers who can be frustrated by CAPTCHA.<\/p>\n<h2 id=\"step_3\">How to configure Magento Captcha in the back office<\/h2>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>Step #1<\/strong>: Log in to the Magento admin panel and navigate to Stores -&gt; Settings.<\/span><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter wp-image-22461 size-full\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings.png\" alt=\"stores settings\" width=\"715\" height=\"451\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>Step #2<\/strong>: Select the store view you wish to configure CAPTCHA for.<\/span><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/select-store-view.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22462\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/select-store-view.png\" alt=\"select store view\" width=\"715\" height=\"322\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><strong>Step #3<\/strong>: Expand the Advanced tab, select the Admin section, and expand the Captcha section.<\/span><\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/advanced-captcha.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22463\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/advanced-captcha.png\" alt=\"advanced captcha\" width=\"715\" height=\"482\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: Set up the fields as follows:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/captcha-settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22464\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/captcha-settings.png\" alt=\"captcha settings\" width=\"715\" height=\"482\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<ul>\n<li>Enable CAPTCHA on Storefront &ndash; as Yes to enable; No to disable<\/li>\n<li>Font<\/li>\n<li>Forms &ndash; Admin Login or Admin Forgot Password<\/li>\n<li>Displaying Mode &ndash; either Always, then the captcha will be displayed every time, or After a number of attempts to log in.<\/li>\n<li>Number of Unsuccessful Attempts to Login &ndash; set up how many times the user needs to log in unsuccessfully so that the captcha would appear (the field appears if you select After a number of attempts to log in in the previous field).<\/li>\n<li>CAPTCHA Timeout (minutes) &ndash; after how many minutes the CAPTCHA becomes invalid.<\/li>\n<li>Number of Symbols &ndash; number of symbols in captcha (8 max)<\/li>\n<li>Symbols Used in CAPTCHA &ndash; ABCDEFGHJKMnpqrstuvwxyz23456789<br>\nPlease use only letters (a-z or A-Z) or numbers (0-9) in this field. No spaces or other characters are allowed. Similar-looking characters (e.g., &ldquo;i&rdquo;, &ldquo;l&rdquo;, &ldquo;1&rdquo;) decrease the chance of correct recognition by the customer.<\/li>\n<li>Case Sensitive &ndash; Yes or No.<\/li>\n<\/ul>\n<p><strong>Step #5<\/strong>: Press the Save Config button.<\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2015\/11\/Andrey_Dubina.png\" alt=\"Andrey_Dubina\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Andrey<\/a><\/div>\n<h2 id=\"step_4\">How to enable Captcha in Magento customer registration form<\/h2>\n<p><strong>Step #1<\/strong>: Navigate to Stores -&gt; Configuration.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22461\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/stores-settings.png\" alt=\"stores settings\" width=\"715\" height=\"451\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><strong>Step #2<\/strong>: Expand the Customers tab and select Customer Configuration.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/customers-advanced.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22465\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/customers-advanced.png\" alt=\"customers advanced\" width=\"715\" height=\"379\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: expand the Captcha section and select Create user in the Forms field.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/captcha-at-registration-form.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22466\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/captcha-at-registration-form.png\" alt=\"captcha at registration form\" width=\"715\" height=\"379\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><strong>Step #4<\/strong>: Press the Save Config button.<\/p>\n<h2 id=\"step_5\">How to add Magento Captcha to custom form<\/h2>\n<p>There is no built-in functionality in Magento for adding a Captcha to the custom form. Therefore, we decided to approach this task creatively and decided to create a specialized module for this purpose. In this paragraph, we will describe how our custom module &ndash; Belvg_CaptchaForm &ndash; was created and how it functions.<\/p>\n<p>S<strong>tep #1<\/strong>: Create the following config.xml in the etc folder of the module directory:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:module:Magento_Store:etc\/config.xsd\"&gt;\r\n   &lt;default&gt;\r\n       &lt;customer&gt;\r\n           &lt;captcha&gt;\r\n               &lt;shown_to_logged_in_user&gt;\r\n                   &lt;captcha_form_1&gt;1&lt;\/captcha_form_1&gt;\r\n               &lt;\/shown_to_logged_in_user&gt;\r\n               &lt;always_for&gt;\r\n                   &lt;captcha_form_1&gt;1&lt;\/captcha_form_1&gt;\r\n               &lt;\/always_for&gt;\r\n           &lt;\/captcha&gt;\r\n       &lt;\/customer&gt;\r\n       &lt;captcha translate=\"label\"&gt;\r\n           &lt;frontend&gt;\r\n               &lt;areas&gt;\r\n                   &lt;captcha_form_1&gt;\r\n                       &lt;label&gt;Custom Captcha Sample&lt;\/label&gt;\r\n                   &lt;\/captcha_form_1&gt;\r\n               &lt;\/areas&gt;\r\n           &lt;\/frontend&gt;\r\n       &lt;\/captcha&gt;\r\n   &lt;\/default&gt;\r\n&lt;\/config&gt;\r\n<\/pre>\n<p><strong>Step #2<\/strong>: Define the form ID and its name in order to be able to activate it in the back office.<\/p>\n<p>In our case, the form ID is captcha_form_1 and the form name is Custom Captcha Sample.<\/p>\n<p>Now, if we navigate to Admin &gt; Stores &gt; Configuration &gt; Customers &gt; Customer Configuration &gt; CAPTCHA, we will see our custom form in the Forms field.<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/custom-captcha-sample.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22467\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/custom-captcha-sample.png\" alt=\"custom captcha sample\" width=\"715\" height=\"379\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a><\/p>\n<p><strong>Step #3<\/strong>: For convenience, let us make the Captcha open in a new window with the URL address \/captchaForm:<\/p>\n<p>In the module folder, create a view\/frontend\/layout subfolder. In the newly created subfolder, create captchaform_index_index.xml file with the following contents:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;page xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" layout=\"1column\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:View\/Layout\/etc\/page_configuration.xsd\"&gt;\r\n   &lt;body&gt;\r\n       &lt;referenceContainer name=\"page.top\"&gt;\r\n           &lt;block class=\"Belvg\\CaptchaForm\\Block\\CaptchaForm\" name=\"belvg.captchaform.captchaform1\" template=\"Belvg_CaptchaForm::captcha_form.phtml\" cacheable=\"false\"&gt;\r\n               &lt;container name=\"belvg..captchaform.captcha1\" label=\"Captcha\"&gt;\r\n                   &lt;block class=\"Magento\\Captcha\\Block\\Captcha\" name=\"captcha\" after=\"-\" cacheable=\"false\"&gt;\r\n                       &lt;action method=\"setFormId\"&gt;\r\n                           &lt;argument name=\"formId\" xsi:type=\"string\"&gt;captcha_form_1&lt;\/argument&gt;\r\n                       &lt;\/action&gt;\r\n                       &lt;action method=\"setImgWidth\"&gt;\r\n                           &lt;argument name=\"width\" xsi:type=\"string\"&gt;230&lt;\/argument&gt;\r\n                       &lt;\/action&gt;\r\n                       &lt;action method=\"setImgHeight\"&gt;\r\n                           &lt;argument name=\"width\" xsi:type=\"string\"&gt;50&lt;\/argument&gt;\r\n                       &lt;\/action&gt;\r\n                   &lt;\/block&gt;\r\n               &lt;\/container&gt;\r\n           &lt;\/block&gt;\r\n       &lt;\/referenceContainer&gt;\r\n   &lt;\/body&gt;\r\n&lt;\/page&gt;\r\n<\/pre>\n<p><strong>Step #4<\/strong>: Create a controller to make a form available at &nbsp;\/captchaForm URL.<\/p>\n<p>In the module folder, create a Controller\/Index directory and place there the following Index.php:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nnamespace Belvg\\CaptchaForm\\Controller\\Index;\r\nclass Index extends \\Magento\\Framework\\App\\Action\\Action {\r\n   protected $resultPageFactory;\r\n   public function __construct(\\Magento\\Framework\\App\\Action\\Context $context, \/\/\r\n           \\Magento\\Framework\\View\\Result\\PageFactory $resultPageFactory \/\/\r\n   ) {\r\n       $this-&gt;resultPageFactory = $resultPageFactory;\r\n       parent::__construct($context);\r\n   }\r\n   public function execute() {\r\n       return $this-&gt;resultPageFactory-&gt;create();\r\n   }\r\n}\r\n<\/pre>\n<p><strong>Step #5<\/strong>: Create a class for the Belvg\\CaptchaForm\\Block\\CaptchaForm form block.<\/p>\n<p>In the module folder Block, create a CaptchaForm.php file with the following contents:<\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nnamespace Belvg\\CaptchaForm\\Block;\r\nclass CaptchaForm extends \\Magento\\Framework\\View\\Element\\Template {\r\n   public function __construct(\\Magento\\Framework\\View\\Element\\Template\\Context $context \/\/\r\n   ) {\r\n       parent::__construct($context);\r\n   }\r\n   public function _prepareLayout() {\r\n       return parent::_prepareLayout();\r\n   }\r\n}\r\n<\/pre>\n<p><span style=\"font-weight: 400;\"><strong>Step #6<\/strong>: Create a phtml template for our form in the view\/frontend\/templates folder with the captcha_form.phtml name:<\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;div class=\"block\"&gt;\r\n   &lt;form id=\"form1\" data-hasrequired=\"* Required Fields\" method=\"post\" action=\"\/captchaForm\/index\/captchaFormPost\" class=\"form\"&gt;\r\n       &lt;?php echo $block-&gt;getBlockHtml('formkey'); ?&gt;\r\n       &lt;fieldset class=\"fieldset info\"&gt;\r\n           &lt;legend class=\"legend\"&gt;&lt;span&gt; &lt;?php echo __(\"Captcha Form\"); ?&gt;&lt;\/span&gt;&lt;\/legend&gt;&lt;br&gt;\r\n           &lt;div class=\"field required\"&gt;\r\n               &lt;label for=\"message\" class=\"label\"&gt;&lt;span&gt;&lt;?php echo __(\"Text\"); ?&gt;&lt;\/span&gt;&lt;\/label&gt;\r\n               &lt;div class=\"control\"&gt;\r\n                   &lt;input type=\"text\" data-validate=\"\" class=\"input-text\" title=\"Message\" value=\"\" id=\"message\" name=\"message\"&gt;\r\n               &lt;\/div&gt;\r\n           &lt;\/div&gt;\r\n           &lt;!-- Captcha --&gt;\r\n           &lt;?php echo $block-&gt;getChildHtml('belvg.captchaform.captcha1'); ?&gt;\r\n       &lt;\/fieldset&gt;\r\n       &lt;div class=\"actions-toolbar\"&gt;\r\n           &lt;div class=\"primary\"&gt;\r\n               &lt;button title=\"Submit\" class=\"action save primary\" type=\"submit\"&gt;&lt;span&gt;&lt;?php echo __(\"Submit\"); ?&gt;&lt;\/span&gt;&lt;\/button&gt;\r\n           &lt;\/div&gt;\r\n       &lt;\/div&gt;\r\n   &lt;\/form&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">Now, as we follow the \/captchaForm URL, we will get to our Captcha form page.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong>Step #7<\/strong>: Create an action for form processing and make it pass validation: <\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the etc folder, create an events.xml with the following contents:<\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;?xml version=\"1.0\"?&gt;\r\n&lt;config xmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Event\/etc\/events.xsd\"&gt;\r\n   &lt;event name=\"controller_action_predispatch_captchaForm_index_captchaFormPost\"&gt;\r\n       &lt;observer name=\"CheckCaptchaFormObserver\" instance=\"Belvg\\CaptchaForm\\Observer\\CheckCaptchaFormObserver\" \/&gt;\r\n   &lt;\/event&gt;\r\n&lt;\/config&gt;\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">Also, in the Observer folder, create the following CheckCaptchaFormObserver.php:<\/span><span style=\"font-weight: 400;\"><br>\n<\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\n\r\nnamespace Belvg\\CaptchaForm\\Observer;\r\n\r\nuse Magento\\Framework\\Event\\ObserverInterface;\r\n\r\nclass CheckCaptchaFormObserver implements ObserverInterface {\r\n\r\n   protected $_helper;\r\n   protected $_actionFlag;\r\n   protected $messageManager;\r\n   protected $_session;\r\n   protected $_urlManager;\r\n   protected $captchaStringResolver;\r\n   protected $redirect;\r\n\r\n   public function __construct(\\Magento\\Captcha\\Helper\\Data $helper, \/\/\r\n           \\Magento\\Framework\\App\\ActionFlag $actionFlag, \/\/\r\n           \\Magento\\Framework\\Message\\ManagerInterface $messageManager, \/\/\r\n           \\Magento\\Framework\\Session\\SessionManagerInterface $session, \/\/\r\n           \\Magento\\Framework\\UrlInterface $urlManager, \/\/\r\n           \\Magento\\Framework\\App\\Response\\RedirectInterface $redirect, \/\/\r\n           \\Magento\\Captcha\\Observer\\CaptchaStringResolver $captchaStringResolver \/\/\r\n   ) {\r\n       $this-&gt;_helper = $helper;\r\n       $this-&gt;_actionFlag = $actionFlag;\r\n       $this-&gt;messageManager = $messageManager;\r\n       $this-&gt;_session = $session;\r\n       $this-&gt;_urlManager = $urlManager;\r\n       $this-&gt;redirect = $redirect;\r\n       $this-&gt;captchaStringResolver = $captchaStringResolver;\r\n   }\r\n\r\n   public function execute(\\Magento\\Framework\\Event\\Observer $observer) {\r\n       $formId = 'captcha_form_1'; \/\/ this form ID should matched the one defined in the layout xml\r\n       $captchaModel = $this-&gt;_helper-&gt;getCaptcha($formId);\r\n\r\n       $controller = $observer-&gt;getControllerAction();\r\n       if (!$captchaModel-&gt;isCorrect($this-&gt;captchaStringResolver-&gt;resolve($controller-&gt;getRequest(), $formId))) {\r\n           $this-&gt;messageManager-&gt;addError(__('Incorrect CAPTCHA'));\r\n           $this-&gt;_actionFlag-&gt;set('', \\Magento\\Framework\\App\\Action\\Action::FLAG_NO_DISPATCH, true);\r\n           $this-&gt;_session-&gt;setCustomerFormData($controller-&gt;getRequest()-&gt;getPostValue());\r\n           $url = $this-&gt;_urlManager-&gt;getUrl('captchaForm\/index\/index', ['_nosecret' =&gt; true]);\r\n           $controller-&gt;getResponse()-&gt;setRedirect($this-&gt;redirect-&gt;error($url));\r\n       }\r\n\r\n       return $this;\r\n   }\r\n\r\n}\r\n<\/pre>\n<p><strong>Step #8<\/strong>: Create a CaptchaFormPost action for form processing in the Controller\/Index folder:<span style=\"font-weight: 400;\"><br>\n<\/span><\/p>\n<pre class=\"lang:default decode:true \">&lt;?php\r\nnamespace Belvg\\CaptchaForm\\Controller\\Index;\r\nclass CaptchaFormPost extends \\Magento\\Framework\\App\\Action\\Action {\r\n   public function __construct(\\Magento\\Framework\\App\\Action\\Context $context \/\/\r\n   ) {\r\n       parent::__construct($context);\r\n   }\r\n   public function execute() {\r\n       $this-&gt;messageManager-&gt;addSuccess(__('Success!'));\r\n       $redirect = $this-&gt;resultRedirectFactory-&gt;create();\r\n       $redirect-&gt;setUrl('\/captchaForm');\r\n       return $redirect;\r\n   }\r\n}\r\n<\/pre>\n<p><span style=\"font-weight: 400;\">And we are finished! Now, as we visit the &nbsp;\/captchaForm link, we will see out custom form with a Captcha. <\/span><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"lazy aligncenter size-full wp-image-22480\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/CLICK-HERE-TO-EXPORT.jpg\" alt=\"CLICK HERE TO EXPORT\" width=\"716\" height=\"437\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/p>\n<p><span style=\"font-weight: 400;\">Using the methods described above, it is possible to add Captcha to any form.<\/span><\/p>\n<h2 id=\"step_6\">How to fix a not displaying Captcha?<\/h2>\n<p>In case the Captcha is not displaying after it was activated in the admin panel, here are three methods you can use to fix it:<\/p>\n<p><strong>Solution #1:<\/strong> Flush the cache by executing the cache:clean command and checking if the captcha block is enabled in CSS.<\/p>\n<p><strong>Solution #2:<\/strong> Check the Captcha&rsquo;s Displaying Mode configuration in the admin panel.<\/p>\n<p><strong>Solution #3:<\/strong> Check the layout, in particular, whether there is a remove=&rdquo;true&rdquo; near the form.additional.info container or the captcha attribute. In case the not displaying Captcha is located at the checkout page, make sure that the captcha element does not have the following config:<\/p>\n<pre class=\"lang:default decode:true \">&lt;item name=\"config\" xsi:type=\"array\"&gt;\r\n   &lt;item name=\"componentDisabled\" xsi:type=\"boolean\"&gt;true&lt;\/item&gt;\r\n&lt;\/item&gt;\r\n<\/pre>\n<h2 id=\"step_7\">Top 5 Magento Captcha extensions<\/h2>\n<p><span style=\"font-weight: 400;\">If you do not have time to configure Captcha, either programmatically or via the back office, or simply do not wish to allocate your efforts to this aspect, but still want Magento Captcha enabled in your online store, there is a way out for you. Magento Marketplace offers a wide selection of free and paid extensions that provide for any need, and Captcha is not an exception.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Below you will find a comprehensive selection of 5 best Magento 2 Captcha extensions.<\/span><\/p>\n<p><b><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google_invisible_recaptcha_1_1_1_3.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignleft size-thumbnail wp-image-22487\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google_invisible_recaptcha_1_1_1_3-150x150.png\" alt=\"google_invisible_recaptcha_1_1_1_3\" width=\"150\" height=\"150\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a>Google Invisible reCaptcha<\/b><span style=\"font-weight: 400;\">.<br>\nThis wonderfully functional module offers 3 forms of protection out-of-the-box &ndash; registration page, comments and reviews, and subscription page Captchas. In addition to the wide in-built functionality, it is also greatly configurable, enabling a store owner to add an invisible reCaptcha at any form in the Magento online store.<br>\n<\/span><b>Compatibility<\/b><span style=\"font-weight: 400;\">: Community 2.1, 2.2, Enterprise , 2.1, 2.2<br>\n<\/span><b>Price<\/b><span style=\"font-weight: 400;\">: $79.00<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google-recaptcha.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignleft size-thumbnail wp-image-22489\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google-recaptcha-150x150.png\" alt=\"google-recaptcha\" width=\"150\" height=\"150\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a>Google reCaptcha by Mageplaza.<br>\n<\/b><span style=\"font-weight: 400;\">This free extension will provide your customers with a protective shield and secure their user experience at your Magento store by implementing an invisible Google reCAPTCHA. As a store manager, you get the possibility to add Captcha to any kinds of forms your store has, in particular, login and registration forms, contact us and change password pages, blog comments, FAQs, and any possible custom forms.<br>\n<\/span><b>Compatibility: <\/b><span style=\"font-weight: 400;\">Community 2.1, 2.2, 2.3, Enterprise , 2.1, 2.2, 2.3<br>\n<\/span><b>Price: <\/b><span style=\"font-weight: 400;\">Free<\/span><\/p>\n<p><b><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google_recaptcha.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignleft size-thumbnail wp-image-22490\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google_recaptcha-150x150.jpg\" alt=\"google_recaptcha\" width=\"150\" height=\"150\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a>Google reCAPTCHA by Azaleasoft.<br>\n<\/b><span style=\"font-weight: 400;\">The extension&rsquo;s developers understood the importance of privacy for webstore security, and developed an extension that will successfully protect the Magento store from bothersome advertisements, fake registrations, email lists that are submitted through spamming, and many other unwanted and potentially insecure things. It allows enabling Captcha for registration forms, login forms, password reset forms, contact-us forms, and review forms.<br>\n<\/span><b>Compatibility: <\/b><span style=\"font-weight: 400;\">Community 2.0, 2.1, 2.2<br>\n<\/span><b>Price: <\/b><span style=\"font-weight: 400;\">$49.99<\/span><\/p>\n<p><b><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google-recaptcha-265x265_1_2.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignleft size-thumbnail wp-image-22491\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/google-recaptcha-265x265_1_2-150x150.png\" alt=\"google-recaptcha-265x265_1_2\" width=\"150\" height=\"150\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a>Google reCAPTCHA by MageComp.<br>\n<\/b><span style=\"font-weight: 400;\">Prevent spamming and secure your Magento store from malicious interventions with this Magento 2 extension. Implement Google reCAPTCHA for a variety of forms and pages that are common targets for scammers and hackers, like registration pages, checkout pages, subscription forms, and so on.<br>\n<\/span><b>Compatibility: <\/b><span style=\"font-weight: 400;\">Community 2.1<br>\n<\/span><b>Price: <\/b><span style=\"font-weight: 400;\">$25.99<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/recaptcha.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignleft size-thumbnail wp-image-22492\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/recaptcha-150x150.jpg\" alt=\"recaptcha\" width=\"150\" height=\"150\" title=\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"><\/a>Google reCAPTCHA by Magesales.<br>\n<\/b><span style=\"font-weight: 400;\">This Google reCAPTCHA extension is simple to set up and intuitive to manage by a store admin. It is aimed at protecting your Magento store contact page from spam and bots, ensuring maximum security for your e-commerce. Google reCAPTCHA extension connects to the reCAPTCHA library that ensures the needed level of captcha variety and complexity<br>\n<\/span><b>Compatibility: <\/b><span style=\"font-weight: 400;\">Community 2, Enterprise 2<br>\n<\/span><b>Price: <\/b><span style=\"font-weight: 400;\">$39.00<\/span><\/p>\n<h2>Wrapping up<\/h2>\n<p><span style=\"font-weight: 400;\">So, we can tell that CAPTCHA is a good solution for providing online safety in e-commerce.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It has various advantages and disadvantages. It offers a great number of benefits in e-commerce, like giving a high level of protection of customers&rsquo; private information (Email addresses, phone numbers, passwords, etc), preventing spam messages or comments. On the other hand, sometimes it can be time-consuming and challenging for clients. And they can choose other websites.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the article, we described how to set up and turn off Captcha in Magento, configure Magento CAPTCHA Settings for Admin and Customers. <\/span><\/p>\n<p>In addition, we outlined Magento Captcha extensions, learned how to add Captcha to the Contact Us Page and to the Custom Form, and how to fix if it does not display.<\/p>\n<p><span style=\"font-weight: 400;\">If you have any questions, feel free to contact us.<\/span><\/p>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Development Services<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento development<\/p><a href=\"https:\/\/belvg.com\/magento-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"Magento 2 is now maintained as Adobe Commerce and Magento Open Source. Modern stores use &#8230;","protected":false},"author":82,"featured_media":29216,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[474,14,491,537,525,524],"tags":[],"class_list":["post-22460","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-ecommerce","category-magento","category-magento-2","category-magento-payment-gateways-integration","category-magento-seo","category-magento-speed-optimization","post_format-post-format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Discover how Magento 2 CAPTCHA settings work. Find out how to add it in the admin panel and manage CAPTCHA programmatically in Magento\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Andrey Litvin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#article\",\"name\":\"Magento 2 CAPTCHA Settings: Configuring in 2026 | BelVG Blog\",\"headline\":\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/How-to-Manage-Magento-2-CAPTCHA-Configuration-Settings.webp\",\"width\":1108,\"height\":590},\"datePublished\":\"2019-06-21T16:12:47+02:00\",\"dateModified\":\"2026-05-20T15:47:10+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#webpage\"},\"articleSection\":\"ECOMMERCE, Magento, Magento 2, Magento Payments Integration, Magento SEO, Magento Speed Optimization, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#listItem\",\"name\":\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#listItem\",\"position\":3,\"name\":\"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin\",\"name\":\"Andrey Litvin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Andrey Litvin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html\",\"name\":\"Magento 2 CAPTCHA Settings: Configuring in 2026 | BelVG Blog\",\"description\":\"Discover how Magento 2 CAPTCHA settings work. Find out how to add it in the admin panel and manage CAPTCHA programmatically in Magento\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/andrey-litvin#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2019\\\/06\\\/How-to-Manage-Magento-2-CAPTCHA-Configuration-Settings.webp\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html\\\/#mainImage\",\"width\":1108,\"height\":590},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/how-to-enable-captcha-in-magento-2.html#mainImage\"},\"datePublished\":\"2019-06-21T16:12:47+02:00\",\"dateModified\":\"2026-05-20T15:47:10+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Magento 2 CAPTCHA Settings: Configuring in 2026 | BelVG Blog","description":"Discover how Magento 2 CAPTCHA settings work. Find out how to add it in the admin panel and manage CAPTCHA programmatically in Magento","canonical_url":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#article","name":"Magento 2 CAPTCHA Settings: Configuring in 2026 | BelVG Blog","headline":"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026","author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/How-to-Manage-Magento-2-CAPTCHA-Configuration-Settings.webp","width":1108,"height":590},"datePublished":"2019-06-21T16:12:47+02:00","dateModified":"2026-05-20T15:47:10+02:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#webpage"},"articleSection":"ECOMMERCE, Magento, Magento 2, Magento Payments Integration, Magento SEO, Magento Speed Optimization, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#listItem","name":"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#listItem","position":3,"name":"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author","url":"https:\/\/belvg.com\/blog\/author\/andrey-litvin","name":"Andrey Litvin","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/e1a6e3c80cb940fddb65016d94b015cd951b4a8a9cd7227565131f28ea95c7a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Andrey Litvin"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#webpage","url":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html","name":"Magento 2 CAPTCHA Settings: Configuring in 2026 | BelVG Blog","description":"Discover how Magento 2 CAPTCHA settings work. Find out how to add it in the admin panel and manage CAPTCHA programmatically in Magento","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/andrey-litvin#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/06\/How-to-Manage-Magento-2-CAPTCHA-Configuration-Settings.webp","@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html\/#mainImage","width":1108,"height":590},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html#mainImage"},"datePublished":"2019-06-21T16:12:47+02:00","dateModified":"2026-05-20T15:47:10+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"22460","title":"Magento 2 CAPTCHA Settings: Configuring in 2026 | #site_title","description":"Discover how Magento 2 CAPTCHA settings work. Find out how to add it in the admin panel and manage CAPTCHA programmatically in Magento","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:36:42","updated":"2026-11-03 18:36:42"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Manage Magento 2 CAPTCHA Configuration Settings in 2026\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"How to Manage Magento 2 CAPTCHA Configuration Settings in 2026","link":"https:\/\/belvg.com\/blog\/how-to-enable-captcha-in-magento-2.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/82"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=22460"}],"version-history":[{"count":15,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22460\/revisions"}],"predecessor-version":[{"id":30650,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/22460\/revisions\/30650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/29216"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=22460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=22460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=22460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}