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

# Shopify Plus Checkout OTP

> Add an OTP block inside Shopify's own checkout so customers verify COD on the Payment step. Available for Shopify Plus stores.

On Shopify Plus, COD King adds an OTP block directly in the native checkout. When a customer picks Cash on Delivery, they must tap **Get OTP**, receive a code and verify before they can complete the order.

[Shopify Plus checkout OTP demo](https://www.youtube.com/embed/hebUv0sciBA)

> [!NOTE]
>
> This is for the Shopify Plus native checkout. Sending OTP from checkout also needs an eligible billing plan (Enterprise or Enterprise Plus) or legacy shop access.

## Open the page

In **COD King → Settings**, click **Shopify Plus widget** under **COD workflow**. The page is titled **Checkout extension OTP (Shopify Plus)**.

![Checkout extension OTP page with the I have enabled the checkout extension OTP block checkbox](https://mintcdn.com/codking/RvTbwbfi1Bd20aoj/images/otp-30-plus-top.png?fit=max\&auto=format\&n=RvTbwbfi1Bd20aoj\&q=85\&s=0c3d54d4259b8dde32721fa8bc044d76)

Tick **I have enabled the checkout extension OTP block** once the block is added. It only tracks your setup progress in the admin.

## Add the block in the Checkout Editor

![Add the block in Checkout Editor steps with the Open checkout editor button](https://mintcdn.com/codking/RvTbwbfi1Bd20aoj/images/otp-31-plus-add.png?fit=max\&auto=format\&n=RvTbwbfi1Bd20aoj\&q=85\&s=1660496e9de54efe402a1e788c36d7c6)

**1. Open your checkout profile**

Click **Open checkout editor** to open it in the Shopify admin.

**2. Open the Payment section**

Go to the Checkout step and open the Payment section.

**3. Add the COD King block**

Click **Add block** and choose the COD King checkout OTP extension (`codk-checkout-otp`).

**4. Place it under payment methods**

Put the block under the payment methods, save and publish checkout.

## How it looks in checkout

The page shows a **How it looks in checkout** preview. The buttons work there, and the test code is `1234`. Nothing is sent.

![Checkout preview with the Get OTP and Verify OTP buttons under Cash on Delivery](https://mintcdn.com/codking/RvTbwbfi1Bd20aoj/images/otp-32-plus-preview.png?fit=max\&auto=format\&n=RvTbwbfi1Bd20aoj\&q=85\&s=3d0accbf12c872ada03d3853064a40b1)

When the shopper selects **Cash on Delivery (COD)**, the block shows *To verify your COD order click on Get OTP*, a field with their number and the **Get OTP** and **Verify OTP** buttons. **Verify OTP** stays disabled until a code is requested.

## Test it

**1. Place a test order on your Plus checkout**

Add a product to the cart and go to checkout.

**2. Choose Cash on Delivery**

The OTP block appears under the payment methods.

**3. Click Get OTP and enter the code**

The order can be completed only after verification.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.