Plug Software
Back to Plug : Order Confirmation
Documentation menu

Using the app

SMS codes & order page block

Not every customer is on WhatsApp. For Indian mobile numbers, the app can send a 6-digit code by SMS instead, which the customer enters on their order page to confirm.

How it works

  1. A COD order comes in and the WhatsApp message goes out as usual.
  2. If WhatsApp can't deliver it — the number isn't on WhatsApp, say — the customer gets a code by SMS instead.
  3. The customer types the code into the app's block on the Thank-you page, or later on the Order status page (linked from Shopify's order confirmation email). The order is confirmed, exactly as if they'd tapped Confirm order on WhatsApp.

Customers who are on WhatsApp can also tap Get a code by SMS instead in the block, if they prefer. And anyone can cancel from the block with I didn't mean to place this order.

Add the block to your order pages

Codes are only sent once the block is on your store — without it, customers would have nowhere to type them.

  1. In the app, open Settings → SMS codes for customers not on WhatsApp and click Open checkout editor. (Or in Shopify: Settings → Checkout → Customize.)
  2. Choose the Thank you page, click Add app block, choose Order confirmation from Plug : Order Confirmation, and save.
  3. Do the same on the Order status page.

In the editor the block shows a sample, as a COD customer first sees it. After your next COD order, Settings shows The confirmation block is live on your store's order pages.

Note: The block only appears for COD orders the app is confirming. Orders paid by card or UPI, or left out by your rules, show nothing.

What customers see in the block

WhenWhat they see
While WhatsApp is waiting“Please confirm your order”, the masked number the message went to, Get a code by SMS instead, and the cancel link.
After a code is sentA box for the 6-digit code, Confirm order, and Send a new code.
After they answerOrder confirmed, or Order cancelled. If you only tag cancelled orders, it says Cancellation requested until you cancel the order in Shopify.

The SMS

Codes are sent through StartMessaging, an Indian SMS provider, on its TRAI-registered sender ID. The SMS reads like: “Your [store name] OTP is 123456, valid for 10 minutes. Do not share this code with anyone.” It carries only the code and your store's name — never the order's details.

Details
Who gets codesIndian mobile numbers only (+91). Other numbers stay on WhatsApp.
How long a code works10 minutes.
Codes per orderUp to 3, at least 30 seconds apart.
Wrong tries5 per code; then the customer asks for a new one.
CostIncluded in every plan. One order is still one confirmation.

Turning SMS codes off

Untick Send a code by SMS when WhatsApp can't reach the customer in Settings. Orders WhatsApp can't reach then show as Not delivered on the Orders page, and the block no longer offers codes.