{"id":434,"date":"2023-05-10T06:39:10","date_gmt":"2023-05-10T06:39:10","guid":{"rendered":"https:\/\/moceanapi.com\/blog\/?p=434"},"modified":"2025-11-17T09:24:25","modified_gmt":"2025-11-17T09:24:25","slug":"secure-your-opencart-account-with-two-factor-authentication-2fa","status":"publish","type":"post","link":"https:\/\/moceanapi.com\/blog\/secure-your-opencart-account-with-two-factor-authentication-2fa\/","title":{"rendered":"Secure your OpenCart Account with Two Factor Authentication (2FA)"},"content":{"rendered":"\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#step-1-install-mocean-api-two-factor-authentication-extension-from-open-cart-marketplace\">Step 1: Install MoceanAPI Two Factor Authentication Extension from OpenCart Marketplace<\/a><\/li><li><a href=\"#step-2-connect-mocean-api-and-open-cart\">Step 2: Connect MoceanAPI and OpenCart<\/a><\/li><li><a href=\"#step-3-send-two-factor-authentication-otp-code\">Step 3: Send Two Factor Authentication OTP code<\/a><\/li><li><a href=\"#frequently-asked-questions-faq\">Frequently Asked Questions (FAQ)<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<p>In this article, we&#8217;ll teach you how to secure your OpenCart account with Two Factor Authentication.<\/p>\n\n\n\n<p>However, if you prefer to watch a video where you can follow along from installation to sending SMS, you can watch it <a href=\"https:\/\/www.youtube.com\/watch?v=ns0FVTKhcH8\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-1-install-mocean-api-two-factor-authentication-extension-from-open-cart-marketplace\">Step 1: Install MoceanAPI Two Factor Authentication Extension from OpenCart Marketplace<\/h2>\n\n\n\n<p>1. Download&nbsp;<a href=\"https:\/\/www.opencart.com\/index.php?route=marketplace\/extension\/info&amp;extension_id=39062\" target=\"_blank\" rel=\"noreferrer noopener\">MoceanAPI 2FA extension<\/a>&nbsp;from OpenCart marketplace<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-2-1024x552.png\" alt=\"moceanapi 2fa opencart extension\" class=\"wp-image-436\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-2-1024x552.png 1024w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-2-300x162.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-2-768x414.png 768w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-2.png 1214w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Download the version you want to use based on your OpenCart version. In my case, I will download version 3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"834\" height=\"413\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-3.png\" alt=\"moceanapi 2fa opencart extension version 3\" class=\"wp-image-437\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-3.png 834w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-3-300x149.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-3-768x380.png 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><\/figure>\n\n\n\n<p>2. After you\u2019ve downloaded, login to your OpenCart administration<\/p>\n\n\n\n<p>3. Navigate to&nbsp;<strong>Extensions -&gt; Installer -&gt; Upload File<\/strong>&nbsp;and upload the <strong>moceanapi-2fa.ocmod.zip<\/strong>&nbsp;file<\/p>\n\n\n\n<p>4. After you\u2019ve successfully uploaded, go to&nbsp;<strong>Extensions \u2013&gt; Extensions<\/strong>&nbsp;and select&nbsp;<strong>Modules&nbsp;<\/strong>from the drop-down list.<\/p>\n\n\n\n<p>5. Find&nbsp;<strong>SMS<\/strong>&nbsp;and click&nbsp;<strong>Install<\/strong>, click&nbsp;<strong>Edit<\/strong>&nbsp;after the installation.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"81\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-1024x81.png\" alt=\"enabling moceanapi 2fa opencart extension\" class=\"wp-image-439\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-1024x81.png 1024w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-300x24.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-768x61.png 768w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-1536x121.png 1536w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-4-2048x162.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-2-connect-mocean-api-and-open-cart\">Step 2: Connect MoceanAPI and OpenCart<\/h2>\n\n\n\n<p>1. After you\u2019ve clicked on&nbsp;<strong>Edit<\/strong>&nbsp;you will be redirected to our module\u2019s settings page where you can configure your&nbsp;<strong>API Key<\/strong>&nbsp;and&nbsp;<strong>API Secret<\/strong><\/p>\n\n\n\n<p>2. Get your&nbsp;<strong>API Key<\/strong>&nbsp;and&nbsp;<strong>API Secret<\/strong>&nbsp;from&nbsp;<a href=\"https:\/\/dashboard.moceanapi.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">MoceanAPI Dashboard<\/a>. If you don\u2019t already have an account, register&nbsp;<a href=\"https:\/\/dashboard.moceanapi.com\/register?fr=opencart_2fa\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p>3. Paste your&nbsp;<strong>API Key<\/strong>&nbsp;and&nbsp;<strong>API Secret<\/strong>&nbsp;into the settings<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"933\" height=\"532\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-5.png\" alt=\"moceanapi 2fa opencart extension configuration\" class=\"wp-image-440\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-5.png 933w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-5-300x171.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-5-768x438.png 768w\" sizes=\"(max-width: 933px) 100vw, 933px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"step-3-send-two-factor-authentication-otp-code\">Step 3: Send Two Factor Authentication OTP code<\/h2>\n\n\n\n<p>1. Create a new customer in your <strong>Admin Dashboard<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"836\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-6-1024x836.png\" alt=\"creating new opencart user\" class=\"wp-image-447\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-6-1024x836.png 1024w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-6-300x245.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-6-768x627.png 768w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-6.png 1093w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>2. Login to your website as the newly created account<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-7-1024x504.png\" alt=\"login as newly created user\" class=\"wp-image-448\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-7-1024x504.png 1024w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-7-300x148.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-7-768x378.png 768w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-7.png 1178w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>3. You&#8217;ll be prompted to enter your 2FA OTP code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"437\" src=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-8-1024x437.png\" alt=\"enter OTP code received at mobile\" class=\"wp-image-449\" srcset=\"https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-8-1024x437.png 1024w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-8-300x128.png 300w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-8-768x328.png 768w, https:\/\/moceanapi.com\/blog\/wp-content\/uploads\/2023\/05\/image-8.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>4. Enter the OTP code you received and press <strong>Continue<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"frequently-asked-questions-faq\">Frequently Asked Questions (FAQ)<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Can I get Test Credits ?<br><\/strong>We provide a free testing account that comes with 20 trial credits.<\/li>\n\n\n\n<li><strong>Can I send international messages?<br><\/strong>Yes. We are an international SMS provider. You can send out SMS both locally and internationally based on our price list.<\/li>\n\n\n\n<li><strong>What is the maximum characters per SMS I can put into the message?<br><\/strong>160 characters for a normal text message, 70 characters for a Unicode text message (Arabic, Chinese, and etc)<\/li>\n\n\n\n<li><strong>Is there a limit to how many numbers I can send at one time?<br><\/strong>There is no limit on numbers to be sent in one go.<\/li>\n\n\n\n<li><strong>What format does my phone number need to be in?<br><\/strong>Mobile phone numbers need to be entered in international formatting with the country code and without spaces, plus signs or leading zeros.<\/li>\n<\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, we&#8217;ll teach you how to secure your OpenCart account with Two Factor Authentication. However, if you prefer to watch a video where you can follow along from installation to sending SMS, you can watch it here Step 1: Install MoceanAPI Two Factor Authentication Extension from OpenCart Marketplace 1. Download&nbsp;MoceanAPI 2FA extension&nbsp;from OpenCart&#8230;<\/p>\n","protected":false},"author":1,"featured_media":453,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[21,20],"tags":[],"class_list":["post-434","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-opencart","category-e-commerce"],"_links":{"self":[{"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/posts\/434"}],"collection":[{"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/comments?post=434"}],"version-history":[{"count":13,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions"}],"predecessor-version":[{"id":818,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/posts\/434\/revisions\/818"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/media\/453"}],"wp:attachment":[{"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/media?parent=434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/categories?post=434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/moceanapi.com\/blog\/wp-json\/wp\/v2\/tags?post=434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}