Skip to the content
Docs

Verify the phone by SMS code before an order

Ask buyers to confirm their phone with an SMS code before the order is placed: how to switch it on, what buyers see, the limits, and what happens when the SMS cannot be sent.

3 min readLast updated 6 Nov 2026

When this is on, a buyer must prove the phone number by an SMS code before the order is placed. It stops orders with a wrong or someone else's number. It is off by default.

Switch it on#

Go to Settings > Checkout, in the Orders card, and turn on Verify the phone by SMS code before an order. The switch works only while an SMS integration is enabled. Switching it off is always possible and changes nothing else.

What the buyer sees#

  1. The buyer fills the checkout form and presses Confirm order.
  2. A pop-up in the middle of the screen shows the buyer's number (with a Change link that closes the pop-up and puts the cursor on the phone field) and a Send OTP button.
  3. After Send OTP, a box for the 6-digit code appears, with Verify, a timer for sending again and a clear message if the code is wrong.
  4. After the right code the order is placed at once and the buyer goes to the normal thank-you page.

It works the same way on the checkout page, the cart page, Buy now, the quick view pop-up, landing pages and the quick order block. Orders you enter yourself in the dashboard and counter (POS) sales never ask for a code.

The rules#

  • The code has 6 digits, is stored only as a hash, and is valid for 5 minutes.
  • 5 wrong tries lock that code; the buyer asks for a new one.
  • A new code can be sent after 60 seconds. At most 3 codes per phone number per 15 minutes, and there are limits per connection and per website per hour, so nobody can run up your SMS bill.
  • Only Bangladesh mobile numbers can get a code.
  • The check is done by the server. Hiding the pop-up does not skip it.
  • The proof belongs to that phone number, your website and that one order attempt. It is used once. If the buyer presses the button again for the same order, nothing is asked again.

If the SMS cannot be sent#

If your gateway is down or your SMS balance is empty, the buyer gets one retry. After the second failure, one of two things happens, as you choose under If the SMS cannot be sent:

  • Place the order (recommended): the order is placed and marked Phone not verified. You get one notice in your inbox (at most once a day) so you can fix the balance. Call the buyer before you confirm.
  • Block the order: the buyer is asked to try again later. You may lose sales while the SMS does not work.

On your orders#

  • The order page and the Orders list show Phone verified by code or Phone not verified. Orders from before you switched it on, and orders you entered yourself, show nothing.
  • In the Orders list, the Phone check filter shows only the unverified ones, or only the verified ones.
  • Tracking is unchanged: the purchase event is sent once, after the order exists, with the order number.

Was this guide helpful?

Comments (0)

Anyone can comment. Please do not post phone numbers, passwords or customer details.

Never shown. Only used to tell you when someone replies.
0 / 2000

Verify the phone by SMS code before an order | Jukto Docs