How do I check COD order phone numbers with Twilio Lookup?
Twilio Lookup checks the phone of every new cash-on-delivery order with your own Twilio account: valid or invalid, mobile, landline or VoIP, and the carrier. You decide what happens to fake-looking numbers before you pay for a call or a delivery. It works for numbers in any country. The check runs after the order is placed, so checkout is never slowed down.
Steps
- In your Twilio Console, open the home page and copy the Account SID and Auth Token from the Account Info box. Line type checks are billed by Twilio per number.
- In Dropify, go to Apps → Discover, open Twilio Lookup and click Install.
- On the app page click Connect, paste the Account SID and Auth Token, and confirm. If your Twilio SMS app is already connected, you can tick Use my Twilio SMS app credentials instead.
- Under Risky numbers, choose the Action: Flag (a badge on the order), Hold (the order stays Pending and is not sent to your couriers automatically) or Cancel (the order is cancelled as a fake order).
- Choose which numbers trigger it: Invalid numbers, VoIP numbers, or both.
- To test, place an order on your store with your own phone and open it in Orders: the phone shows a badge such as "Valid mobile", Invalid number or VoIP number.
Only orders that are still Pending are held or cancelled; a confirmed or shipped order is never changed. A number checked in the last 30 days is not paid for again.
Common problems
- "Twilio refused these credentials. Copy the Account SID and Auth Token again from your Twilio Console."copy both again without spaces; the Auth Token is hidden until you click to show it.
- "The Account SID starts with AC (or SK for an API key) followed by 32 letters and digits."you pasted another value (for example a phone number SID); use the Account SID.
- The order shows Phone not checkedyour Twilio balance or account has a problem; the error is shown on the app page. Orders keep going as usual meanwhile.
- NumVerify is also installedonly one phone check app checks your orders; disconnect the one you don't use.