> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codking.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# OTP Verification

OTP (One-Time Password) Verification is a security and validation layer that confirms the authenticity of a customer’s order by verifying their mobile number using a one-time code sent via SMS or WhatsApp.

## What is OTP Verification?

OTP Verification is a process where customers receive a unique, time-sensitive code on their mobile number, which they must enter to confirm their identity and order.

This ensures that:

* The phone number is valid and reachable
* The customer genuinely intends to place the order
* Fake or spam orders are reduced

***

## Why OTP Verification is Needed?

For COD businesses, unverified orders can directly impact profitability and operations. OTP verification helps solve these key challenges:

<CardGroup cols={2}>
  <Card title="High Return to Origin (RTO)" icon="truck-return">
    Up to **20%–40%** of COD orders can fail due to fake or unverified customers. OTP verification ensures only genuine buyers place orders, significantly reducing RTO losses.
  </Card>

  <Card title="Fake & Spam Orders" icon="shield-x">
    Invalid phone numbers, bots, and prank orders increase operational risk. OTP verification filters out non-serious users before the order is confirmed.
  </Card>

  <Card title="Low Customer Intent" icon="user-x">
    Without verification, customers may place orders casually without commitment. OTP confirmation ensures higher intent and improves order reliability.
  </Card>

  <Card title="Delivery Failures" icon="map-pin-off">
    Incorrect or unreachable contact details lead to failed deliveries. OTP verification validates the customer’s phone number before processing the order.
  </Card>
</CardGroup>

***

## Countries Where OTP Verification Works Best

OTP verification is highly effective in regions where COD is widely used, and order fraud rates are higher:

🇵🇭 Philippines (PH)

🇵🇰 Pakistan (PK)

🇮🇳 India (IN)

🇸🇦 Saudi Arabia (SA)

🇦🇪 United Arab Emirates (UAE)

🇺🇦 Ukraine (UA)

🇪🇬 Egypt (EG)

***

## OTP Verification Placements

COD King allows flexible placement of OTP verification based on your business needs. Let us understand them step by step for each placement:

### 1. Pre-Order Verification Step-by-Step Guide :

Pre-order OTP in the COD King app is a security feature that verifies a customer’s mobile number via a One-Time Password (OTP) ***before*** any order like Cash on Delivery (COD), is placed.

**DEMO VIDEO FOR REFERENCE**

<iframe src="https://www.youtube.com/embed/yCPBjrO2tFA" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

The purpose of Pre-Order OTP in the COD King app is to **ensure order authenticity** and **reduce return-to-origin (RTO) losses** for Cash on Delivery (COD) orders. Now let's understand this step by step :

1. Open your COD King Dashboard → Features, then click Manage under OTP Verification.

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/COD-King-Feature.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=d433a881746251b82c7884949ca21c7e" alt="COD King Feature" width="1305" height="902" data-path="images/COD-King-Feature.png" />
</Frame>

2. Select the OTP in Product /Pre Order OTP

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Pre-Order-Otp.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=334a3d2c89d5211018a3f28aeb385e33" alt="Pre Order Otp" width="1292" height="897" data-path="images/Pre-Order-Otp.png" />
</Frame>

* Enable Theme Integration to proceed further; now click Open Theme Editor

<Frame>
  <img src="https://mintcdn.com/codking/4LWYK9sfokz51mrT/images/Theme-editor-2.png?fit=max&auto=format&n=4LWYK9sfokz51mrT&q=85&s=4d9808097d33874d9fe123682798aabc" alt="Theme Editor 2" width="1306" height="902" data-path="images/Theme-editor-2.png" />
</Frame>

* A new page will appear. Make sure to enable the extension and hit the Save button

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Save.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=366e66c326a8ed00e8d9c40f66fac212" alt="Save" width="1887" height="912" data-path="images/Save.png" />
</Frame>

4. Once done, go back to the previous tab and select step 2 to Activate OTP Verification

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Activate-Otp-Verification.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=700993e6db39837c573f35a92fc645f9" alt="Activate Otp Verification" width="1307" height="897" data-path="images/Activate-Otp-Verification.png" />

  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Select-Country.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=45205c4ee5caad4b1fd2428d5d324c55" alt="Select Country" width="1317" height="896" data-path="images/Select-Country.png" />
</Frame>

* Select the checkbox for Enable Prefilled Shipping Address (Only for India)

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Select-Country.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=45205c4ee5caad4b1fd2428d5d324c55" alt="Select Country" width="1317" height="896" data-path="images/Select-Country.png" />
</Frame>

* Go to UI customization and update the URL link of the image logo to appear in the OTP verification dialog box 

5. Open your Store and add a product to the cart to check for the OTP Verification

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/buy-now.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=5159d7643454d66e23c70c9a698e57c4" alt="Buy Now" width="1856" height="831" data-path="images/buy-now.png" />
</Frame>

6. You can see the checkout page open and see a pop-up to enter your number for OTP Verification

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Done.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=cced1700aa2094797cb104f4128fd092" alt="Done" width="1051" height="892" data-path="images/Done.png" />
</Frame>

* Under Advanced settings, if Hide the COD Shipping Method is enabled, the customer will be directed to the checkout page with the COD option
* OTP pop-up will be shown only in selected countries based on customer IP. Shows everywhere if no countries are selected.
* We can also Blacklist the phone number; once done save the changes

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/advanced-settings.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=337a73bd8375cfbf66d23f5ee6708647" alt="Advanced Settings" width="1536" height="849" data-path="images/advanced-settings.png" />
</Frame>

* Go back to the previous tab and check the OTP verification option under COD King Features; it will be enabled as below

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/otp.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=ec3286dbbe1c47f3d10bb064f84cad17" alt="Otp" width="850" height="391" data-path="images/otp.png" />
</Frame>

* Now, if you go to the online store and buy a product, a dialog box will appear to enter the phone number to verify with the OTP to proceed further
* Once the phone number is entered, click Send Code. An OTP will be sent to the provided phone number.

<Frame>
  <img src="https://mintcdn.com/codking/4LWYK9sfokz51mrT/images/pre-otp-1.png?fit=max&auto=format&n=4LWYK9sfokz51mrT&q=85&s=72646f711ca5f8d89d66ec9e370ea4ea" alt="Pre Otp 1" width="927" height="902" data-path="images/pre-otp-1.png" />
</Frame>

* Only after entering the OTP will the checkout page be redirected

<Frame>
  <img src="https://mintcdn.com/codking/4LWYK9sfokz51mrT/images/Screenshot-2026-08-12-122500.png?fit=max&auto=format&n=4LWYK9sfokz51mrT&q=85&s=4b1d267d8fccbf570000d1970591f1d3" alt="Screenshot 2026 08 12 122500" width="1006" height="905" data-path="images/Screenshot-2026-08-12-122500.png" />
</Frame>

* **Test the Flow**
  * Place a test COD order.
  * Confirm that the OTP is triggered before checkout and must be verified to proceed
* **Monitor Performance**
  * Use the dashboard to track:
  * OTP success rates
  * RTO reduction
  * Verified customer data

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/save66.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=7b773e2c1ea77fc0e599f52bd2400505" alt="Save66" width="1907" height="472" data-path="images/save66.png" />
</Frame>

## One Pass Verification

One Pass Verification streamlines the order confirmation process by verifying customers in a single, seamless step—reducing friction while maintaining strong security.

* **One-Pass Verification:** Once a customer verifies the OTP, the verification data is stored in the browser cookies.
* **No repeated verification in the same store:** If the customer opens the same website in a new tab, they won't need to verify the OTP again.
* **Verification across multiple stores:** If the customer visits another store where both **COD King OTP Verification** and **One-Pass Verification** are enabled, they won't need to verify the OTP again.
* **Country selection for Pre-Order OTP Verification:** Select the country you want to display in the country dropdown for OTP verification.

<Info>
  One Pass Verification acts as a *single-step trust checkpoint*, confirming genuine customers instantly while eliminating the need for multiple OTP verifications—reducing friction and improving conversion rates.
</Info>

### 2. Checkout Page (Shopify Plus) Verification

Checkout page verification (Shopify Plus) acts as a *real-time trust checkpoint*, ensuring only genuine customers proceed with their orders.

## Shopify Plus Extension for OTP Verification

For Shopify Plus merchants, COD King offers a native checkout extension to ensure the following :

* **Real-time verification at checkout:** Add OTP authentication directly within Shopify Plus checkout to validate customers instantly.
* **Smart fraud prevention:** Filters out fake or high-risk orders before they are placed, reducing RTO and losses.
* **Seamless integration:** Built using Shopify Plus checkout extensions, ensuring zero disruption to the native checkout flow.
* **Flexible control:** Trigger OTP verification for all orders or selectively (e.g., Cash on Delivery).
* **Frictionless experience:** Fast, user-friendly verification that maintains a smooth buying journey.
* **Build trust & reliability:** Ensure only genuine customers complete purchases, improving order success rates.

<iframe src="https://www.youtube.com/embed/hebUv0sciBA" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

### Step-by-Step Guide :

**Step 1: Access Shopify Admin**<br />Log in to your Shopify Plus admin panel and navigate to **Settings → Checkout**.

**Step 2: Open Checkout Customization**<br />Click on **Customize Checkout** to access the checkout editor powered by Shopify Plus extensions.

**Step 3: Add OTP Verification Extension**<br />From the extensions panel, add your OTP verification app (e.g., COD verification app) to the checkout flow.

**Step 4: Configure Placement**<br />Place the OTP verification block at the desired step (typically before payment or order confirmation).

**Step 5: Set Verification Rules**<br />Define when OTP should trigger—such as for all users, COD orders, or high-risk transactions.

**Step 6: Customize Verification Flow**<br />Edit messaging, branding, and user prompts to ensure a smooth and consistent checkout experience.

**Step 7: Save & Publish**<br />Save your changes and publish the checkout to make OTP verification live.

**Step 8: Test the Checkout Flow**<br />Run a test order to ensure OTP is sent, verified, and the checkout completes without issues.

<Info>
  Available for Shopify Plus plan only. With Shopify Plus checkout extensions, OTP verification becomes a seamless part of your checkout—helping you reduce fake orders, improve trust, and optimize conversions.
</Info>

### 3. Post-Order Verification Step-by-Step Guide :

Post-order OTP verification acts as a ***final security checkpoint***, ensuring the right customer receives the order.

**DEMO VIDEO FOR REFERENCE**

<iframe src="https://www.youtube.com/embed/kmPI6KACLRc" title="YouTube video player" frameborder="0" className="w-full aspect-video rounded-xl" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen />

By requiring a one-time password at delivery, it **confirms buyer intent**, **prevents fake COD orders**, and **safeguards transactions** from unauthorized handovers, Now let's understand this step by step :

1. **Install COD King App**
2. Go to the Shopify App Store and install the *COD King – Verify COD Orders* app.
3. **Enable Post Order OTP**
4. Navigate to Features –>OTP Verification–>Manage

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/COD-King-Feature-1.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=d182ce35762243bc873672e2c74cba78" alt="COD King Feature 1" width="1305" height="902" data-path="images/COD-King-Feature-1.png" />
</Frame>

* Now select the **“Post Order OTP”** section and click Set Post Order OTP

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Post-Order.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=bdf9d95f45658b0cb8e470e492860746" alt="Post Order" width="1291" height="907" data-path="images/Post-Order.png" />
</Frame>

* Toggle the switch to activate this feature

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Enable.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=18455c8d20de4a931bad42e6d2ccd4b1" alt="Enable" width="1301" height="895" data-path="images/Enable.png" />
</Frame>

5. **Activate in Theme**

* Open  Thank You Page settings,
* Click on Add block, select the otp-cod-king-thankyou and save
* **Thank You page OTP preview**

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Thnak-you.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=07e3e840f80be01ec18c74691c2cc2e3" alt="Thnak You" width="1891" height="876" data-path="images/Thnak-you.png" />
</Frame>

* Click on Add block and select the otp-cod-king-order status and save     
* Go back to previous settings and Open Order Status Page Settings

Order Status Page OTP Preview

<Frame>
  <img src="https://mintcdn.com/codking/4LWYK9sfokz51mrT/images/Screenshot-2026-08-12-123112.png?fit=max&auto=format&n=4LWYK9sfokz51mrT&q=85&s=245e33de6893913be0a1946b0f622426" alt="Screenshot 2026 08 12 123112" width="1537" height="881" data-path="images/Screenshot-2026-08-12-123112.png" />
</Frame>

* **Customize OTP Settings**
  * Choose the **OTP method**: SMS, WhatsApp, or both.
  * Set the **OTP auto-cancel time** (e.g., 5 minutes). If the order is not verified, it automatically cancels the order after the time expires
* We can also notify the customer when the order is auto-cancelled
* We can also delete the order from the Shopify store itself without leaving any trace
* Save the changes without fail

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/new.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=8c589c3f9d38bb4d11e0264aea94697f" alt="New" width="1287" height="1536" data-path="images/new.png" />
</Frame>

* **Test the Flow**
  * Place a test COD order on your store.
  * After order placement, the customer receives an OTP.
  * The customer enters the OTP to confirm the order.
  * Verified orders are marked as “OTP verified” in Shopify.
* **Monitor Verified Orders**
  * Use the COD King dashboard to track:
  * Verified vs. unverified orders
  * OTP delivery success rate
  * RTO reduction metrics

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/save66.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=7b773e2c1ea77fc0e599f52bd2400505" alt="Save66" width="1907" height="472" data-path="images/save66.png" />
</Frame>

***

## WhatsApp Verification for COD Orders

WhatsApp Verification for COD Orders is a secure order confirmation process that verifies a customer's Cash on Delivery (COD) purchase through WhatsApp before the order is processed.

* Higher open and response rates compared to SMS
* Faster delivery of OTP codes
* Better customer engagement
* Ideal for regions with strong WhatsApp usage

## Step by Step Guide :

Follow these simple steps to enable WhatsApp OTP verification for your Cash on Delivery (COD) orders:

* Open the **COD King** app from your Shopify admin panel
* Navigate to the **Features** section
* Scroll down to the **Customer Engagement** section
* Click **Manage**
* Locate the **COD Verification Whatsapp** option

<Frame>
  <img src="https://mintcdn.com/codking/xMM8iDrSoMAqdbjh/images/what-2-1.png?fit=max&auto=format&n=xMM8iDrSoMAqdbjh&q=85&s=c4d025e3acddf48b454a2cc419283440" alt="What 2 1" width="1737" height="911" data-path="images/what-2-1.png" />
</Frame>

* Check the box to enable the feature
* Click **Save** to apply the changes.

**Whatsapp Preview Message**

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Screenshot-2026-08-10-152754-1.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=7d30aa6c8caaae04879b055a8ee4abb3" alt="Screenshot 2026 08 10 152754 1" width="1568" height="898" data-path="images/Screenshot-2026-08-10-152754-1.png" />
</Frame>

<Info>
  With WhatsApp verification in place, you can confidently confirm genuine orders, reduce RTO losses, and deliver a seamless customer experience.
</Info>

***

For any inquiries or support, please email us at [support@notifiktech.com](mailto:support@notifiktech.com). We’ll make sure to get back to you as soon as possible.

<Note>
  Exact settings, navigation paths, and UI elements may vary based on your COD King dashboard configuration and Shopify plan.
</Note>
