Skip to main content
Post-order OTP lets the order be placed first and then asks the shopper to verify on the Thank You page and the Order Status page. Orders that are not verified in time can be cancelled automatically. It is a final checkpoint that confirms the buyer really wants the parcel.

Open the page and activate

1

Open COD King → Settings

Under COD workflow, click Post-order OTP verification. The After Order OTP verification page opens, headed “Set up OTP verification for completed orders in 3 simple steps”.
2

Tick Activate OTP verification

The status changes to Active. Your other settings are saved either way.
After Order OTP verification page showing the Active status and the Activate OTP verification checkbox

Add the blocks in your theme

Under Activate in theme (marked Required), the Setup Guide says Enable OTP Extensions in your theme. There are two required steps.
Activate in theme with the Open Thank You Settings and Open Order Status Settings buttons
1

Thank You page

Click Open Thank You Settings (use Show instructions for a reminder). In the editor choose Add block, select the COD King thank-you OTP block, and click Save.
2

Order Status page

Click Open Order Status Settings. Choose Add block, select the COD King order-status OTP block, and click Save.
A Sample Preview below shows the box shoppers see: a heading Verify OTP for faster delivery, the number the code was sent to with a change link, an Enter OTP field, Resend OTP in, Get code on WhatsApp and a submit button.

Configure form text in the OTP box

Configure form Text in OTP box fields
The words shown to customers on the Thank You and Order Status pages.

Buttons and confirmation

Buttons and confirmation fields

OTP settings

OTP settings fields

More settings (required)

More Settings with Auto cancel orders and Auto Retry Verification
Delete the Order itself is permanent. Use auto cancel without it if you want to keep a record of cancelled orders.

Custom script

Custom Javascript box
Custom Javascript - Executes post Verification runs once when the phone number is verified through OTP. It is mostly used to fire analytics events.

Test it

1

Place a test COD order on your store

Use Cash on Delivery.
2

Look at the Thank You page

The OTP box appears. Enter the code you receive.
3

Check the order in Shopify

A verified order carries your verification tag.