> ## 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 plcaement:

### 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*** the Cash on Delivery (COD) order 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 and click on Features

<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>

Select the OTP Verification and Click on Manage

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>

3. Enable Theme Integration in order to proceed further, now click Open Theme Editor
   <Frame>
     <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/Theme-editor.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=2aaaecd951fff450a7561fce4c7bc0c0" alt="Theme Editor" width="1306" height="902" data-path="images/Theme-editor.png" />
   </Frame>
   * A new page will appear make sure to enable the extension and hit 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" />
</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 giving the customer will be directed to Check out page with 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 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 given and click Send Code button an OTP will be sent to the respective Phone number provided

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/adva-login.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=7deec30ad67270e0d3c4e88ec2aefd33" alt="Adva Login" width="746" height="357" data-path="images/adva-login.png" />
</Frame>

* Only after entering OTP the checkout page will be redirected

<Frame>
  <img src="https://mintcdn.com/codking/vRMqErC0dH5S6dqT/images/adv-log-2.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=204e392d2689329f539adb8e9db26c42" alt="Adv Log 2" width="727" height="356" data-path="images/adv-log-2.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.

### Step 1: Enable One Pass Verification

Go to your dashboard and navigate to **Verification Settings**. Select **One Pass Verification** as your preferred method.

### Step 2: Choose Verification Channel

Select the channel for sending verification (SMS or WhatsApp) based on your customer preference and reach.

### Step 3: Configure Trigger Conditions

Set when One Pass Verification should be applied—such as for all orders, COD orders, or specific risk-based scenarios.

### Step 4: Customize the Verification Message

Create a clear and concise message that includes your brand name and verification intent to build trust.

### Step 5: Activate Auto-Verification Logic

Enable automatic verification so that once the customer completes the action (e.g., clicking the link or confirming), the order is instantly marked as verified.

### Step 6: Save & Enable

Save your settings and turn on One Pass Verification.

### Step 7: Test the Flow

Place a test order to ensure the verification process works smoothly and completes in a single step.

<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.

<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 and 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/vRMqErC0dH5S6dqT/images/thank-you.png?fit=max&auto=format&n=vRMqErC0dH5S6dqT&q=85&s=3390f5d7f86d7b7b8c9ebd467ea84eca" alt="Thank You" width="1920" height="1032" data-path="images/thank-you.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 order is auto cancelled
* We can also delete the order from Shopify store itself without any trace left
* 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>

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.

## Shopify Plus Extension for OTP Verification

For Shopify Plus merchants, COD King offers a native checkout extension in order 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.

***

## WhatsApp Verification for COD Orders

COD King also supports OTP verification via WhatsApp:

* 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:

### Step 1: Access Your Dashboard

Log in to your admin panel and navigate to the OTP Verification or Order Verification settings.

### Step 2: Select Verification Mode

Choose **WhatsApp OTP** as your preferred verification method for COD orders.

<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" />
</Frame>

### Step 3: Configure Trigger Settings

Decide when the OTP should be sent—immediately after order placement or based on specific conditions (e.g., high-value orders, new customers).

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

### Step 4: Customize Message Template

Edit your WhatsApp message template to include a clear OTP message along with your brand name for better recognition and trust.

### Step 5: Enable COD-Specific Rules

Apply verification specifically to COD orders to reduce fake bookings and improve delivery success rates.

### Step 6: Activate the Feature

Save your settings and turn on WhatsApp OTP verification.

### Step 7: Test the Flow

Place a test COD order to ensure the OTP is sent and verified smoothly.

<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>

***

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