Skip to main content
Pre-order OTP asks the shopper to verify their mobile number in the COD King popup before the order is created. Only verified shoppers continue to checkout, so unverified orders never reach your store.

Open the page

1

Open COD King → Settings

In your Shopify admin, open the COD King app and click Settings.
2

Click OTP verification

It is under Checkout widget in the left menu. The Pre-Order OTP Setup page opens, headed “Set up OTP verification for pre-orders in 2 simple steps”.
Pre-Order OTP Setup page with the Inactive status, the Customize button and the Activate OTP Verification checkbox
At the top, a card shows the feature status (Inactive or Active) and a Customize button. Customize opens the editor for the popup’s logo and wording. See Customize the OTP popup.
If you see a Finish setup banner, the COD King app embed is not switched on in your theme. Open the theme editor, turn on the COD King embed and click Save.

Activate OTP verification

Tick Activate OTP Verification to start verifying customers at checkout. Your other settings on this page are saved whether the box is ticked or not, so you can set everything up first and switch it on last. The status at the top changes from Inactive to Active.

OnePass verification

Enable OnePass Verification lets a shopper who has already verified on any partner store skip the code. It reduces repeated SMS and gets returning shoppers through faster.
OnePass checkbox and the Select Payment Method drop-down
Once a shopper verifies, COD King remembers it in their browser, so opening the same store in another tab does not ask again. With OnePass on, the same applies on other stores that also use COD King OTP with OnePass.

Payment method and order tagging

Verification tag field and the Hide COD Shipping Method checkbox
Use the tag to filter verified and unverified COD orders in Shopify.

Shipping method

These settings stop an unverified shopper from picking the cash on delivery rate.
Shipping Rate Keyword field and the Hide payment and shipping until OTP verified checkbox
The keyword must match your COD shipping rate name. If it does not, the COD rate stays visible to unverified shoppers.

Where verification applies

Where verification applies with the country selector and the Blacklisted Phone Numbers box
  • Select Countries. OTP is shown only in the countries you pick, based on the shopper’s IP address. If no country is selected, it shows everywhere (the label reads All Countries).
  • Blacklisted Phone Numbers. Enter numbers you never want to send a code to, one per line. Blocked numbers cannot verify.

Test it as a shopper

1

Tick Activate OTP Verification and save

Use the save bar that appears at the top of the page.
2

Open your store and click Buy it now

The popup asks for a mobile number before checkout continues.
3

Enter your number and click Send Code

Type the code you receive. Only after the code is accepted does the shopper move on.
You can see exactly what shoppers see, and click through every screen without sending an SMS, in the Live preview inside Customize the OTP popup. The preview accepts the test code 1234.