{"id":596,"date":"2026-06-17T06:59:07","date_gmt":"2026-06-17T06:59:07","guid":{"rendered":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/"},"modified":"2026-07-26T14:45:20","modified_gmt":"2026-07-26T12:45:20","password":"","slug":"cum-configurez-google-recaptcha-in-magento-2","status":"publish","type":"docs","link":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/","title":{"rendered":"Cum configurez Google reCAPTCHA \u00een Magento 2?"},"content":{"rendered":"<p>\u00cencep\u00e2nd cu Magento 2.3, reCAPTCHA este inclus nativ \u0219i protejeaz\u0103 magazinul de bo\u021bi. Iat\u0103 cum \u00eel configurezi.<\/p>\n<h3>Generarea cheilor<\/h3>\n<ul>\n<li>Acceseaz\u0103 <a href=\"https:\/\/www.google.com\/recaptcha\/admin\">Google reCAPTCHA Admin<\/a>, autentific\u0103-te \u0219i \u00eenregistreaz\u0103 site-ul.<\/li>\n<li>Introdu un <strong>Label<\/strong>, alege tipul (<strong>reCAPTCHA v3<\/strong> sau <strong>v2<\/strong> \u2014 \u201eI&#8217;m not a robot&#8221; Checkbox sau Invisible) \u0219i adaug\u0103 domeniul.<\/li>\n<li>Accept\u0103 termenii \u0219i apas\u0103 <strong>Submit<\/strong>. Salveaz\u0103 cheile <strong>Site Key<\/strong> \u0219i <strong>Secret Key<\/strong>.<\/li>\n<\/ul>\n<h3>Configurare \u00een Magento 2<\/h3>\n<ul>\n<li>Acceseaz\u0103 <strong>Stores \u2192 Settings \u2192 Configuration \u2192 Security \u2192 Google reCAPTCHA Storefront<\/strong> (\u0219i <strong>\u2026 Admin Panel<\/strong> pentru backend).<\/li>\n<li>Introdu cheile la <strong>Google API website key<\/strong> \u0219i <strong>secret key<\/strong>, alege tipul (v2\/v3) \u0219i, la v3, seteaz\u0103 <strong>Minimum Score Threshold<\/strong> (0.0\u20131.0).<\/li>\n<li>La sec\u021biunile <strong>Storefront<\/strong>\/<strong>Admin Panel<\/strong> activeaz\u0103 reCAPTCHA pe formularele dorite (login, forgot password, contact, create user, review etc.) \u0219i salveaz\u0103.<\/li>\n<\/ul>\n<blockquote>\n<p><strong>Aten\u021bie:<\/strong> asigur\u0103-te c\u0103 <code>allow_url_fopen = 1<\/code> \u00een php.ini. Dac\u0103 reCAPTCHA te blocheaz\u0103 din Admin, dezactiveaz\u0103-l temporar din config: pe versiunile vechi cu <code>bin\/magento msp:security:recaptcha:disable<\/code>, iar pe versiunile actuale set\u00e2nd pe \u201eNo&#8221; op\u021biunile reCAPTCHA din backend prin <code>bin\/magento config:set<\/code> (sau direct \u00een tabelul <code>core_config_data<\/code>), urmat de <code>bin\/magento cache:flush<\/code>.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u00cencep\u00e2nd cu Magento 2.3, reCAPTCHA este inclus nativ \u0219i protejeaz\u0103 magazinul de bo\u021bi. Iat\u0103 cum \u00eel configurezi. Generarea cheilor Acceseaz\u0103 Google reCAPTCHA Admin, autentific\u0103-te \u0219i \u00eenregistreaz\u0103 site-ul. Introdu un Label, alege tipul (reCAPTCHA v3 sau v2 \u2014 \u201eI&#8217;m not a robot&#8221; Checkbox sau Invisible) \u0219i adaug\u0103 domeniul. Accept\u0103 termenii \u0219i apas\u0103 Submit. Salveaz\u0103 cheile Site &#8230; <a title=\"Cum configurez Google reCAPTCHA \u00een Magento 2?\" class=\"read-more\" href=\"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/\" aria-label=\"Cite\u0219te mai multe despre Cum configurez Google reCAPTCHA \u00een Magento 2?\">Cite\u0219te mai mult<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"whmcs_kb_id":1829,"footnotes":""},"doc_category":[160],"doc_tag":[400,227,225,358,245],"class_list":["post-596","docs","type-docs","status-publish","hentry","doc_category-magento-programare-aplicatii","doc_tag-admin-panel","doc_tag-configurare","doc_tag-magento-2","doc_tag-recaptcha","doc_tag-securitate"],"year_month":"2026-07","word_count":181,"total_views":"3","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Adrian Firican","author_nicename":"techeditor1","author_url":"https:\/\/www.hostx.ro\/kb\/author\/techeditor1\/"},"doc_category_info":[{"term_name":"Magento","term_url":"https:\/\/www.hostx.ro\/kb\/docs-category\/magento-programare-aplicatii\/"}],"doc_tag_info":[{"term_name":"admin panel","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/admin-panel\/"},{"term_name":"configurare","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/configurare\/"},{"term_name":"Magento 2","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/magento-2\/"},{"term_name":"reCAPTCHA","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/recaptcha\/"},{"term_name":"securitate","term_url":"https:\/\/www.hostx.ro\/kb\/docs-tag\/securitate\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/\" \/>\n<meta property=\"og:locale\" content=\"ro_RO\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX\" \/>\n<meta property=\"og:description\" content=\"\u00cencep\u00e2nd cu Magento 2.3, reCAPTCHA este inclus nativ \u0219i protejeaz\u0103 magazinul de bo\u021bi. Iat\u0103 cum \u00eel configurezi. Generarea cheilor Acceseaz\u0103 Google reCAPTCHA Admin, autentific\u0103-te \u0219i \u00eenregistreaz\u0103 site-ul. Introdu un Label, alege tipul (reCAPTCHA v3 sau v2 \u2014 \u201eI&#8217;m not a robot&#8221; Checkbox sau Invisible) \u0219i adaug\u0103 domeniul. Accept\u0103 termenii \u0219i apas\u0103 Submit. Salveaz\u0103 cheile Site ... Cite\u0219te mai mult\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/\" \/>\n<meta property=\"og:site_name\" content=\"Centrul de suport HostX\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-26T12:45:20+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Timp estimat pentru citire\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minut\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-google-recaptcha-in-magento-2\\\/\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-google-recaptcha-in-magento-2\\\/\",\"name\":\"Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\"},\"datePublished\":\"2026-06-17T06:59:07+00:00\",\"dateModified\":\"2026-07-26T12:45:20+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-google-recaptcha-in-magento-2\\\/#breadcrumb\"},\"inLanguage\":\"ro-RO\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-google-recaptcha-in-magento-2\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/cum-configurez-google-recaptcha-in-magento-2\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Prima pagin\u0103\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"InfoCentru\",\"item\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Cum configurez Google reCAPTCHA \u00een Magento 2?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/\",\"name\":\"Centrul de suport HostX\",\"description\":\"tutoriale gazduire web, domenii web \u0219i servere\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hostx.ro\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ro-RO\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/","og_locale":"ro_RO","og_type":"article","og_title":"Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX","og_description":"\u00cencep\u00e2nd cu Magento 2.3, reCAPTCHA este inclus nativ \u0219i protejeaz\u0103 magazinul de bo\u021bi. Iat\u0103 cum \u00eel configurezi. Generarea cheilor Acceseaz\u0103 Google reCAPTCHA Admin, autentific\u0103-te \u0219i \u00eenregistreaz\u0103 site-ul. Introdu un Label, alege tipul (reCAPTCHA v3 sau v2 \u2014 \u201eI&#8217;m not a robot&#8221; Checkbox sau Invisible) \u0219i adaug\u0103 domeniul. Accept\u0103 termenii \u0219i apas\u0103 Submit. Salveaz\u0103 cheile Site ... Cite\u0219te mai mult","og_url":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/","og_site_name":"Centrul de suport HostX","article_modified_time":"2026-07-26T12:45:20+00:00","twitter_card":"summary_large_image","twitter_misc":{"Timp estimat pentru citire":"1 minut"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/","url":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/","name":"Cum configurez Google reCAPTCHA \u00een Magento 2? - Centrul de suport HostX","isPartOf":{"@id":"https:\/\/www.hostx.ro\/kb\/#website"},"datePublished":"2026-06-17T06:59:07+00:00","dateModified":"2026-07-26T12:45:20+00:00","breadcrumb":{"@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/#breadcrumb"},"inLanguage":"ro-RO","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostx.ro\/kb\/cum-configurez-google-recaptcha-in-magento-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Prima pagin\u0103","item":"https:\/\/www.hostx.ro\/kb\/"},{"@type":"ListItem","position":2,"name":"InfoCentru","item":"https:\/\/www.hostx.ro\/kb\/docs\/"},{"@type":"ListItem","position":3,"name":"Cum configurez Google reCAPTCHA \u00een Magento 2?"}]},{"@type":"WebSite","@id":"https:\/\/www.hostx.ro\/kb\/#website","url":"https:\/\/www.hostx.ro\/kb\/","name":"Centrul de suport HostX","description":"tutoriale gazduire web, domenii web \u0219i servere","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostx.ro\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ro-RO"}]}},"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/596","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/comments?post=596"}],"version-history":[{"count":2,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/596\/revisions"}],"predecessor-version":[{"id":5864,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/docs\/596\/revisions\/5864"}],"wp:attachment":[{"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/media?parent=596"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_category?post=596"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostx.ro\/kb\/wp-json\/wp\/v2\/doc_tag?post=596"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}