{"id":20959,"date":"2026-11-20T23:29:14","date_gmt":"2026-11-20T17:59:14","guid":{"rendered":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/"},"modified":"2026-11-20T23:29:14","modified_gmt":"2026-11-20T17:59:14","slug":"shopify-otp-verification-widget","status":"publish","type":"post","link":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/","title":{"rendered":"Shopify OTP verification: add a mobile OTP widget to your store pages"},"content":{"rendered":"<p>You can add Shopify OTP verification to your store pages with the free Fast2SMS OTP widget. Create a widget in the Fast2SMS panel, add your store domains, and paste 2 lines of code into a <strong>Custom Liquid<\/strong> section of a theme page. Customers verify their mobile number with a 6-digit code on SMS or WhatsApp, and you get the verified number on your webhook. It works on normal store pages such as a COD confirmation page, a contact or wholesale signup page, or a landing page. It does not work inside Shopify checkout and it does not replace the Shopify customer login.<\/p>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Verify customer numbers on your Shopify store<\/strong><p>Create a free OTP widget, paste 2 lines into your theme and start verifying mobile numbers.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Where the OTP widget works on Shopify<\/h2>\n<p>Fast2SMS hosts the widget and your page only loads it, so it works wherever your theme lets you add your own code.<\/p>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>Place in your store<\/th>\n<th>Widget works?<\/th>\n<th>How<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>A custom page (COD confirmation, wholesale signup, landing page)<\/td>\n<td>Yes<\/td>\n<td>Custom Liquid section on the page template<\/td>\n<\/tr>\n<tr>\n<td>Product page<\/td>\n<td>Yes<\/td>\n<td>Custom Liquid block or section on the product template<\/td>\n<\/tr>\n<tr>\n<td>Contact page<\/td>\n<td>Yes<\/td>\n<td>Popup button, or Mobile field mode on the phone field (theme code)<\/td>\n<\/tr>\n<tr>\n<td>Shopify checkout<\/td>\n<td>No<\/td>\n<td>Shopify does not let outside scripts run inside checkout<\/td>\n<\/tr>\n<tr>\n<td>Shopify customer login<\/td>\n<td>No<\/td>\n<td>Sign-in is handled by Shopify; the widget does not replace it<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>For order notifications and COD messages, use the free <a href=\"https:\/\/www.fast2sms.com\/help\/fast2sms-shopify-app\/\">Fast2SMS Shopify app<\/a> next to the widget.<\/p>\n<h2>Before you start<\/h2>\n<ul>\n<li>A Fast2SMS account with some wallet balance. The widget is free; each OTP is charged.<\/li>\n<li>An approved Smart OTP template (OTP ID) on SMS or WhatsApp. If you do not have one yet, follow <a href=\"https:\/\/www.fast2sms.com\/help\/smart-otp-setup-guide-fast2sms\/\">the Smart OTP setup guide<\/a>.<\/li>\n<li>Access to <strong>Online Store<\/strong> and the theme editor in your Shopify admin.<\/li>\n<\/ul>\n<h2>Set up Shopify OTP verification step by step<\/h2>\n<ol class=\"f2s-steps\">\n<li>\n<h3>Create a new widget<\/h3>\n<p>In the Fast2SMS panel, open <strong>Smart OTP<\/strong> and click <strong>New Widget<\/strong> under <strong>OTP WIDGET<\/strong>. Give it a name you will recognise, such as &#8220;Shopify COD confirm&#8221;.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Empty New widget page with Widget name, OTP ID, Websites and Template variables fields\"><figcaption>The New widget page has three tabs: Setup, Design and Settings.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Pick your OTP ID<\/h3>\n<p>Click <strong>Select OTP ID<\/strong>. A pop-up shows your approved OTP templates with phone previews. Filter by <strong>SMS<\/strong> or <strong>WhatsApp<\/strong> and pick one.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-otp-picker-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Select OTP Template pop-up showing WhatsApp and SMS OTP templates with phone previews\"><figcaption>Each card shows the OTP ID and how the message will look.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Add your store domains<\/h3>\n<p>In <strong>Websites<\/strong>, add every address your store opens on, one per line:<\/p>\n<pre><code>yourstore.myshopify.com\nyourstore.in\nwww.yourstore.in<\/code><\/pre>\n<p>The widget shows only on these sites. On any other site it shows &#8220;Mobile verification is not available on this page right now.&#8221; Do not add <code>*.myshopify.com<\/code>, because that would allow every Shopify store. Then click <strong>Create widget<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-filled-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"New widget form filled with a WhatsApp OTP ID and two websites, demotraders.in and www.demotraders.in\"><figcaption>Add your domain with and without www (test account).<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Set limits to protect your wallet<\/h3>\n<p>Open the <strong>Settings<\/strong> tab. Under <strong>Limits<\/strong> you can cap daily and monthly spend and the number of codes per day, per number and per visitor. A limit that is off still uses a safe default. Set limits that fit your daily orders.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-settings-on-full-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Settings tab with Max spend per day, Max spend per month, Max codes per day, per number per hour and per visitor per hour switched on\"><figcaption>Spend and code limits stop bots from draining your wallet.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Turn on the webhook for verified numbers<\/h3>\n<p>Shopify cannot check the widget&#8217;s token on its own, so the webhook is your proof. Turn on <strong>Send verified numbers to my webhook<\/strong> and enter an https URL that you control. Fast2SMS sends a POST to it for each verified number. Click <strong>Show webhook secret<\/strong> and keep the secret for checking the signature. You can also turn on <strong>After verify, open a page<\/strong> to send the customer to a thank-you page.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-settings-on-redirect-hd-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"After verify page URL, webhook URL with Show webhook secret link, and Widget secret with New secret button\"><figcaption>Webhook URL and the after-verify page, from a test account.<\/figcaption><\/figure>\n<\/li>\n<li>\n<h3>Copy the Popup code<\/h3>\n<p>Click <strong>Save changes<\/strong>, then open <strong>Install<\/strong> and the <strong>Popup<\/strong> sub-tab. Your own button opens the widget in a popup, which suits a &#8220;Verify mobile&#8221; button on a store page. Choose a <strong>Popup position<\/strong> and click <strong>Copy<\/strong>.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-install-popup-hd-1-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Install tab, Popup sub-tab with Popup position Center and the script and button code with a Copy button\"><figcaption>Two lines: the script and your button.<\/figcaption><\/figure>\n<pre><code>&lt;script src=&quot;https:\/\/www.fast2sms.com\/widget\/otp-js?v=1.0.5&quot; defer&gt;&lt;\/script&gt;\n&lt;button type=&quot;button&quot; data-f2s-otp-popup=&quot;YOUR_WIDGET_KEY&quot;&gt;Verify mobile&lt;\/button&gt;<\/code><\/pre>\n<p>You can change the button text, for example to &#8220;Verify mobile to confirm COD&#8221;. If you want the box shown on the page instead of a popup, copy the code from the <strong>Widget<\/strong> sub-tab.<\/p>\n<\/li>\n<li>\n<h3>Paste it into your Shopify theme<\/h3>\n<p>In Shopify admin, add a page under <strong>Online Store<\/strong> &gt; <strong>Pages<\/strong> (for example &#8220;Confirm your COD order&#8221;). Then open the theme editor with <strong>Customize<\/strong>, go to that page or its page template, add a <strong>Custom Liquid<\/strong> section and paste the 2 lines. For a product page, add a Custom Liquid block or section to the product template instead. Save. Most current themes have Custom Liquid; if yours does not, ask your theme developer.<\/p>\n<\/li>\n<li>\n<h3>Test in the panel and on the live page<\/h3>\n<p>The <strong>Test<\/strong> tab runs the real widget in the panel: &#8220;Try it with your own number. A real OTP is sent and charged.&#8221; Then open your store page in a normal browser tab, on your domain and on the myshopify address, and verify once. The theme editor preview can behave differently, so always check the live page.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-sms-test-number-hd-2-scaled.webp\" width=\"1440\" height=\"900\" loading=\"lazy\" decoding=\"async\" alt=\"Test tab with the widget, a mobile number typed and the Send OTP button\"><figcaption>Test with your own number first.<\/figcaption><\/figure>\n<\/li>\n<\/ol>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Add mobile verification to your store<\/strong><p>Sign up free, create your widget and paste 2 lines into a Custom Liquid section.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>What your customer sees<\/h2>\n<p>The customer clicks your button, types the number, clicks <strong>Send OTP<\/strong>, passes an &#8220;I am human&#8221; check and types the 6-digit code.<\/p>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-popup-hd.webp\" width=\"768\" height=\"326\" loading=\"lazy\" decoding=\"async\" alt=\"Sample Cash on delivery page with a dark Verify mobile and place order button\"><figcaption>A sample COD page with the store&#8217;s own button (test site).<\/figcaption><\/figure>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-popup-open-hd.webp\" width=\"768\" height=\"580\" loading=\"lazy\" decoding=\"async\" alt=\"Popup titled Verify your mobile number with a +91 Mobile number field and Send OTP button\"><figcaption>The button opens the widget in a popup.<\/figcaption><\/figure>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-popup-code-hd.webp\" width=\"768\" height=\"609\" loading=\"lazy\" decoding=\"async\" alt=\"Popup asking for the 6-digit code sent to 90xxxxxx01 with six code boxes, Verify button and Resend code timer\"><figcaption>Your page only sees the masked number.<\/figcaption><\/figure>\n<figure class=\"f2s-shot\"><img src=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-site-popup-verified-hd.webp\" width=\"768\" height=\"546\" loading=\"lazy\" decoding=\"async\" alt=\"Popup showing Mobile number verified with a Use a different number link\"><figcaption>Verified. Your webhook gets the full number.<\/figcaption><\/figure>\n<h2>Shopify COD OTP: confirm the number before you ship<\/h2>\n<p>Checkout cannot show the widget, so COD verification on Shopify happens after the order:<\/p>\n<ol>\n<li>The customer places a COD order through normal Shopify checkout.<\/li>\n<li>The free <a href=\"https:\/\/www.fast2sms.com\/help\/fast2sms-shopify-app\/\">Fast2SMS Shopify app<\/a> sends the <strong>COD order placed<\/strong> message on SMS or WhatsApp. If your approved template has a link to your &#8220;Confirm your COD order&#8221; page, the customer can open it from the message.<\/li>\n<li>On that page the customer verifies the mobile number with the widget.<\/li>\n<li>Your webhook receives the verified number. Match it with the phone number on the COD order and mark the order as confirmed before you ship.<\/li>\n<\/ol>\n<p>For other COD options, such as a WhatsApp YES or NO reply, read <a href=\"https:\/\/www.fast2sms.com\/help\/shopify-cod-verification\/\">Shopify COD verification options<\/a>. The app itself is free; see <a href=\"https:\/\/www.fast2sms.com\/help\/free-sms-whatsapp-app-for-shopify-faq\/\">the Shopify app FAQ<\/a>. For shoppers who leave without ordering, see <a href=\"https:\/\/www.fast2sms.com\/help\/shopify-abandoned-cart-whatsapp\/\">abandoned cart messages on WhatsApp<\/a>.<\/p>\n<h2>OTP on the Shopify contact form or wholesale signup<\/h2>\n<p>The simplest way is a Popup button above the form, with the webhook as your record. If you can edit theme code, use <strong>Mobile field<\/strong> mode instead: add <code>data-f2s-otp-attach=&quot;YOUR_WIDGET_KEY&quot;<\/code> to the form&#8217;s phone input (the one with <code>type=&quot;tel&quot;<\/code>) and load the script on that page. A <strong>Verify<\/strong> button appears next to the field and the form submits only after that number is verified. Duplicate your theme before you edit code. Both modes are explained in <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-popup-button-mobile-field\/\">OTP widget popup button and mobile field<\/a>.<\/p>\n<div class=\"f2s-note\">The check in the browser stops normal visitors from sending the form without verifying. Shopify cannot check the token, so treat the webhook as the real proof that a number was verified.<\/div>\n<h2>Receive verified numbers with the webhook<\/h2>\n<p>For each verified number, Fast2SMS sends a POST with JSON like this to your webhook URL:<\/p>\n<pre><code>{&quot;event&quot;:&quot;otp.verified&quot;,&quot;widget_key&quot;:&quot;YOUR_WIDGET_KEY&quot;,&quot;mobile&quot;:&quot;9876543210&quot;,\n &quot;origin&quot;:&quot;https:\/\/www.yourstore.in&quot;,&quot;verified_at&quot;:1763540000,&quot;fields&quot;:{}}<\/code><\/pre>\n<p>The request has an <code>X-F2S-Signature<\/code> header made with your webhook secret. Check it, and refuse requests older than 5 minutes. The URL must be https and should answer within 4 seconds, without redirects. Shopify has no server for this, so use your own server or an automation tool with an https webhook URL. The signature check and the server-side token check are in <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-verify-token-webhook\/\">verify the OTP widget token and webhook<\/a>.<\/p>\n<h2>What it costs<\/h2>\n<p>The widget has no widget fee, setup fee or monthly fee. You pay only for each OTP sent, at your normal Smart OTP rate, from your Fast2SMS wallet. Codes sent from the <strong>Test<\/strong> tab are real and charged too.<\/p>\n<div class=\"f2s-note f2s-volume\"><p><strong>Sending in bulk?<\/strong> For high OTP volumes our team offers discounted rates. <a href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Talk to our team<\/a> or see <a href=\"https:\/\/www.fast2sms.com\/bulk-sms-pricing\">OTP pricing<\/a>.<\/p><\/div>\n<h2>Common problems and fixes<\/h2>\n<div class=\"f2s-facts\">\n<table>\n<thead>\n<tr>\n<th>What you see<\/th>\n<th>Why<\/th>\n<th>Fix<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>&#8220;Mobile verification is not available on this page right now.&#8221;<\/td>\n<td>The address in the browser is not in <strong>Websites<\/strong>, or the widget is off.<\/td>\n<td>Add the myshopify address and your domain with and without www. Check the <strong>Widget on<\/strong> switch.<\/td>\n<\/tr>\n<tr>\n<td>Nothing shows, or the button does nothing<\/td>\n<td>The script line is missing, or the page uses a different template.<\/td>\n<td>Paste both lines, and check the live page uses the template you edited.<\/td>\n<\/tr>\n<tr>\n<td>The widget stopped sending<\/td>\n<td>A daily or monthly cap was reached.<\/td>\n<td>The list shows &#8220;Stopped today&#8221;. Sending starts again after midnight IST, or you can raise the limit.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<section class=\"f2s-faq\">\n<h2>Frequently asked questions<\/h2>\n<h3>Can I add OTP verification to Shopify checkout?<\/h3>\n<p>No. Shopify does not let outside scripts run inside checkout. Put the widget on a page before or after checkout, such as a COD confirmation page.<\/p>\n<h3>Does the widget replace the Shopify customer login?<\/h3>\n<p>No. Customer sign-in stays with Shopify. The widget verifies a mobile number on your own store pages.<\/p>\n<h3>Do I need an app for Shopify mobile number verification?<\/h3>\n<p>No. The widget needs no app install, only the 2 lines in a Custom Liquid section.<\/p>\n<h3>Can I use OTP for COD orders on Shopify?<\/h3>\n<p>Yes, after the order. Send the customer to a confirmation page with the widget, then match the verified number from your webhook with the COD order.<\/p>\n<h3>Can the OTP go on WhatsApp?<\/h3>\n<p>Yes. Pick a WhatsApp OTP ID when you create the widget. If the template has a fallback set, the other channel is used when the first one fails.<\/p>\n<h3>Can I host the OTP code myself instead?<\/h3>\n<p>Yes. If you prefer to host the code yourself, see the <a href=\"https:\/\/www.fast2sms.com\/help\/otp-verification-widget-fast2sms\/\">OTP widget kits<\/a> and the older <a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-shopify-fast2sms\/\">Shopify theme section kit<\/a>. They need your own server for the API key.<\/p>\n<\/section>\n<aside class=\"f2s-cta\" aria-label=\"Get started with Fast2SMS\"><div class=\"f2s-cta__copy\"><strong class=\"f2s-cta__title\">Start verifying Shopify customers<\/strong><p>Create a free Fast2SMS account and add your first OTP widget.<\/p><\/div><div class=\"f2s-cta__actions\"><a class=\"f2s-cta__btn f2s-cta__btn--primary\" href=\"https:\/\/www.fast2sms.com\/\"><span>Sign up free<\/span> <span class=\"f2sh-btn__arrow\" aria-hidden=\"true\">&rarr;<\/span><\/a><a class=\"f2s-cta__btn f2s-cta__btn--ghost\" href=\"https:\/\/www.fast2sms.com\/meet\/\" target=\"_blank\" rel=\"noopener\">Book a free meeting<\/a><\/div><\/aside>\n<h2>Related guides<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/free-otp-widget-for-website\/\">Free OTP widget for your website<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-popup-button-mobile-field\/\">OTP widget popup button and mobile field<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/otp-widget-verify-token-webhook\/\">Verify the OTP widget token and webhook<\/a><\/li>\n<li><a href=\"https:\/\/www.fast2sms.com\/help\/fast2sms-shopify-app\/\">Fast2SMS Shopify app for order notifications<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>You can add Shopify OTP verification to your store pages with the free Fast2SMS OTP widget. Create a widget in the Fast2SMS panel, add your store domains, and paste 2 lines of code into a Custom Liquid section of a theme page. Customers verify their mobile number with a 6-digit code on SMS or WhatsApp, [&hellip;]<\/p>\n","protected":false},"featured_media":20951,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,32],"tags":[],"class_list":["post-20959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-otp","category-shopify"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Shopify OTP Verification with a Free Widget | Fast2SMS<\/title>\n<meta name=\"description\" content=\"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.\" \/>\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.fast2sms.com\/help\/shopify-otp-verification-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shopify OTP Verification with a Free Widget | Fast2SMS\" \/>\n<meta property=\"og:description\" content=\"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/\" \/>\n<meta property=\"og:site_name\" content=\"Fast2SMS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Fast2SMS\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-20T17:59:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@fast2sms\" \/>\n<meta name=\"twitter:site\" content=\"@fast2sms\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/\"},\"author\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"headline\":\"Shopify OTP verification: add a mobile OTP widget to your store pages\",\"datePublished\":\"2026-11-20T17:59:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/\"},\"wordCount\":1696,\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-new-hd-1-scaled.webp\",\"articleSection\":[\"OTP\",\"Shopify\"],\"inLanguage\":\"en-IN\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/\",\"name\":\"Shopify OTP Verification with a Free Widget | Fast2SMS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-new-hd-1-scaled.webp\",\"datePublished\":\"2026-11-20T17:59:14+00:00\",\"description\":\"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#breadcrumb\"},\"inLanguage\":\"en-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-IN\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-new-hd-1-scaled.webp\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/otpw-new-hd-1-scaled.webp\",\"width\":2560,\"height\":1600,\"caption\":\"Empty New widget page with Widget name, OTP ID, Websites and Template variables fields\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/shopify-otp-verification-widget\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"OTP\",\"item\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/otp\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Shopify OTP verification: add a mobile OTP widget to your store pages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/help\\\/\",\"name\":\"Fast2SMS\",\"description\":\"Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\"},\"inLanguage\":\"en-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#organization\",\"name\":\"Fast2SMS\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\",\"url\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"contentUrl\":\"https:\\\/\\\/www.fast2sms.com\\\/Fast2SMS.png\",\"caption\":\"Fast2SMS\"},\"image\":{\"@id\":\"https:\\\/\\\/www.fast2sms.com\\\/#logo\"},\"email\":\"support@fast2sms.com\",\"telephone\":\"+91-6262778822\",\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/Fast2SMS\",\"https:\\\/\\\/www.instagram.com\\\/fast2sms\",\"https:\\\/\\\/x.com\\\/fast2sms\",\"https:\\\/\\\/www.youtube.com\\\/Fast2SMSofficial\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/fast2sms\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shopify OTP Verification with a Free Widget | Fast2SMS","description":"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.","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.fast2sms.com\/help\/shopify-otp-verification-widget\/","og_locale":"en_US","og_type":"article","og_title":"Shopify OTP Verification with a Free Widget | Fast2SMS","og_description":"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.","og_url":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/","og_site_name":"Fast2SMS","article_publisher":"https:\/\/www.facebook.com\/Fast2SMS\/","article_published_time":"2026-11-20T17:59:14+00:00","og_image":[{"width":2560,"height":1600,"url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_creator":"@fast2sms","twitter_site":"@fast2sms","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#article","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/"},"author":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"headline":"Shopify OTP verification: add a mobile OTP widget to your store pages","datePublished":"2026-11-20T17:59:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/"},"wordCount":1696,"publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp","articleSection":["OTP","Shopify"],"inLanguage":"en-IN"},{"@type":"WebPage","@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/","url":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/","name":"Shopify OTP Verification with a Free Widget | Fast2SMS","isPartOf":{"@id":"https:\/\/www.fast2sms.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#primaryimage"},"image":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#primaryimage"},"thumbnailUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp","datePublished":"2026-11-20T17:59:14+00:00","description":"Add Shopify OTP verification to COD, contact and signup pages with the free Fast2SMS OTP widget: 2 lines in a Custom Liquid section, SMS or WhatsApp OTP.","breadcrumb":{"@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#breadcrumb"},"inLanguage":"en-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/"]}]},{"@type":"ImageObject","inLanguage":"en-IN","@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#primaryimage","url":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp","contentUrl":"https:\/\/www.fast2sms.com\/help\/wp-content\/uploads\/2026\/11\/otpw-new-hd-1-scaled.webp","width":2560,"height":1600,"caption":"Empty New widget page with Widget name, OTP ID, Websites and Template variables fields"},{"@type":"BreadcrumbList","@id":"https:\/\/www.fast2sms.com\/help\/shopify-otp-verification-widget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fast2sms.com\/help\/"},{"@type":"ListItem","position":2,"name":"OTP","item":"https:\/\/www.fast2sms.com\/help\/otp\/"},{"@type":"ListItem","position":3,"name":"Shopify OTP verification: add a mobile OTP widget to your store pages"}]},{"@type":"WebSite","@id":"https:\/\/www.fast2sms.com\/help\/#website","url":"https:\/\/www.fast2sms.com\/help\/","name":"Fast2SMS","description":"Help","publisher":{"@id":"https:\/\/www.fast2sms.com\/#organization"},"inLanguage":"en-IN"},{"@type":"Organization","@id":"https:\/\/www.fast2sms.com\/#organization","name":"Fast2SMS","url":"https:\/\/www.fast2sms.com\/","logo":{"@type":"ImageObject","@id":"https:\/\/www.fast2sms.com\/#logo","url":"https:\/\/www.fast2sms.com\/Fast2SMS.png","contentUrl":"https:\/\/www.fast2sms.com\/Fast2SMS.png","caption":"Fast2SMS"},"image":{"@id":"https:\/\/www.fast2sms.com\/#logo"},"email":"support@fast2sms.com","telephone":"+91-6262778822","sameAs":["https:\/\/www.facebook.com\/Fast2SMS","https:\/\/www.instagram.com\/fast2sms","https:\/\/x.com\/fast2sms","https:\/\/www.youtube.com\/Fast2SMSofficial","https:\/\/www.linkedin.com\/company\/fast2sms"]}]}},"_links":{"self":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/20959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/comments?post=20959"}],"version-history":[{"count":0,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/posts\/20959\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media\/20951"}],"wp:attachment":[{"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/media?parent=20959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/categories?post=20959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fast2sms.com\/help\/wp-json\/wp\/v2\/tags?post=20959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}