{"id":8037,"date":"2026-05-08T13:47:04","date_gmt":"2026-05-08T11:47:04","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=8037"},"modified":"2026-06-08T09:56:23","modified_gmt":"2026-06-08T07:56:23","slug":"cum-sa-adaugati-recaptcha-in-prestashop","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/","title":{"rendered":"Cum s\u0103 ad\u0103uga\u021bi reCAPTCHA \u00een PrestaShop"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Integrating reCAPTCHA is an essential security measure for your <strong>mybox-hosted<\/strong> store. It protects your contact forms and registration pages from automated &#8220;bad bots&#8221; that send spam or attempt brute-force attacks. By adding this layer, you ensure that only real human customers can interact with your shop\u2019s sensitive areas.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/#Why_Use_reCAPTCHA_on_Your_Store\" >Why Use reCAPTCHA on Your Store?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/#Step_1_Obtain_Google_reCAPTCHA_Keys\" >Step 1: Obtain Google reCAPTCHA Keys<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/#Step_2_Choosing_a_Configuration_Method\" >Step 2: Choosing a Configuration Method<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/#Testing_and_Optimization\" >Testing and Optimization<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-add-recaptcha-in-prestashop\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Use_reCAPTCHA_on_Your_Store\"><\/span>Why Use reCAPTCHA on Your Store?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Spam Prevention:<\/strong> Stop your inbox from being flooded with fake inquiries via the contact form.<\/li>\n\n\n\n<li><strong>Security:<\/strong> Block automated scripts that try to create thousands of fake accounts on your <strong>mybox<\/strong> server.<\/li>\n\n\n\n<li><strong>Resource Management:<\/strong> By filtering out bot traffic, you reduce the load on your server, keeping your site fast for genuine shoppers.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Obtain_Google_reCAPTCHA_Keys\"><\/span>Step 1: Obtain Google reCAPTCHA Keys<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Before configuring your store, you need to generate a pair of unique keys from Google.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Go to the <a href=\"https:\/\/www.google.com\/recaptcha\/admin\" target=\"_blank\" rel=\"noreferrer noopener\">Google reCAPTCHA<\/a> admin console.<\/li>\n\n\n\n<li>Register your site and select the version (v2 &#8220;I&#8217;m not a robot&#8221; or v3 &#8220;Invisible&#8221;).<\/li>\n\n\n\n<li>Enter your domain name (e.g., <code>yourstore.com<\/code>).<\/li>\n\n\n\n<li>Copy the <strong>Site Key<\/strong> and the <strong>Secret Key<\/strong>. You will need these for the PrestaShop configuration.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Choosing_a_Configuration_Method\"><\/span>Step 2: Choosing a Configuration Method<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<\/div>\n\n<div id=\"mybox-4026919620\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">PrestaShop does not always include reCAPTCHA by default in the core installation, so you typically have two main ways to implement it.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Method 1: Using a Professional Module (Recommended)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">This is the most reliable way to ensure reCAPTCHA works across all your forms.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>In your PrestaShop Back Office, go to <strong>Modules &gt; Module Catalog<\/strong>.<\/li>\n\n\n\n<li>Search for <strong>&#8220;reCAPTCHA&#8221;<\/strong> or <strong>&#8220;Google reCAPTCHA&#8221;<\/strong>.<\/li>\n\n\n\n<li>Install a reputable module (such as the official PrestaShop &#8220;Google reCAPTCHA&#8221; or high-rated third-party alternatives).<\/li>\n\n\n\n<li>In the module settings, paste your <strong>Site Key<\/strong> and <strong>Secret Key<\/strong>.<\/li>\n\n\n\n<li>Select where you want the protection to appear (e.g., Contact Form, Registration Form, Login Page).<\/li>\n<\/ol>\n\n\n\n<h4 class=\"wp-block-heading\">Method 2: Manual Implementation (For Advanced Users)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">If you prefer not to use a module, you can manually add the reCAPTCHA script to your theme\u2019s <code>.tpl<\/code> files.<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Connect to your FTP account and navigate to <code>\/themes\/your-theme\/templates\/_partials\/<\/code>.<\/li>\n\n\n\n<li>Include the Google script in the <code>header.tpl<\/code> file.<\/li>\n\n\n\n<li>Add the reCAPTCHA div code to the specific forms (like <code>contact.tpl<\/code>). <em>Note: This method requires technical knowledge and may need to be redone if you update your theme.<\/em><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Testing_and_Optimization\"><\/span>Testing and Optimization<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Once activated, it is vital to verify that the protection is working correctly without hindering the customer experience.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Test on Mobile:<\/strong> Ensure the reCAPTCHA box does not break the layout or cover the &#8220;Send&#8221; button on smartphones.<\/li>\n\n\n\n<li><strong>Check the Contact Form:<\/strong> Try sending a message yourself to confirm the validation works as expected.<\/li>\n\n\n\n<li><strong>Performance:<\/strong> If you notice a slight delay in page loading, ensure your site is utilizing the optimization features within the <strong>mybox panel<\/strong> to maintain peak performance.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Adding reCAPTCHA to your PrestaShop store is a proactive step toward maintaining a clean, secure, and professional environment. By following these steps on your <strong>mybox-hosted<\/strong> platform, you effectively shut the door on spam bots while keeping the path clear for your customers.<\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[10,58],"manual_kb_tag":[4195,4587,5352,5353,5354,8685,8686,8687,8688,8689,168,441,445,2433,3108,4096],"class_list":["post-8037","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-safety","manualknowledgebasecat-web-applications-cms","manual_kb_tag-bot-protection","manual_kb_tag-recaptcha","manual_kb_tag-google-recaptcha","manual_kb_tag-recaptcha-v","manual_kb_tag-recaptcha-integration","manual_kb_tag-registration-form-protection","manual_kb_tag-login-page-protection","manual_kb_tag-google-recaptcha-v","manual_kb_tag-registration-form","manual_kb_tag-login-page","manual_kb_tag-contact-form-protection","manual_kb_tag-brute-force-protection","manual_kb_tag-prestashop","manual_kb_tag-mybox-hosting","manual_kb_tag-spam-prevention","manual_kb_tag-contact-form"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8037\/revisions"}],"predecessor-version":[{"id":8038,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/8037\/revisions\/8038"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=8037"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=8037"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=8037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}