Phone Verification
Protect your store from fake orders with SMS verification. Customers must verify their phone number before completing an order.
Overview
The phone verification feature adds an extra layer of security to your checkout process by requiring customers to verify their phone number via SMS. This significantly reduces fraudulent orders and ensures genuine customer information.
Benefits
- β Reduce fake and fraudulent orders by up to 90%
- β Verify customer contact information
- β Improve order quality and reduce chargebacks
- β Build customer trust with professional verification
- β Collect verified phone numbers for marketing
Setup Instructions
Enable Phone Verification
Navigate to: itycod Settings β Phone Verification
Toggle the "Enable Phone Verification" switch to ON.
Choose SMS Provider
Select your preferred SMS provider:
- Twilio - Global coverage, reliable
- Nexmo/Vonage - Competitive pricing
- Custom API - Use your own provider
Configure API Credentials
Enter your SMS provider API credentials:
Account SID: your_account_sid
Auth Token: your_auth_token
From Number: +1234567890
Customize Settings
Configure verification settings:
- Verification code length (4-8 digits)
- Code expiry time (1-10 minutes)
- Maximum retry attempts
- SMS message template
Configuration Options
Verification Trigger
Choose when to trigger phone verification:
| Option | Description | Use Case |
|---|---|---|
| Before Checkout | Verify before showing checkout form | Maximum security |
| After Form Submit | Verify after customer fills form | Better user experience |
| Conditional | Based on order value/products | Flexible security |
SMS Template Customization
Customize your verification SMS message:
Your verification code is: {CODE}
Valid for {EXPIRY} minutes.
{STORE_NAME}
Available placeholders:
{CODE}- Verification code{EXPIRY}- Expiry time in minutes{STORE_NAME}- Your store name{STORE_URL}- Your store URL
Testing Phone Verification
To test phone verification:
- Enable "Test Mode" in settings
- Set a test verification code (e.g., 1234)
- Place a test order
- Use the test code to verify
- Check order is completed successfully
Troubleshooting
Common Issues
Issue: SMS Not Received
Solutions:
- Verify API credentials are correct
- Check SMS provider balance
- Ensure phone number format is correct
- Check spam/blocked messages on phone
- Verify provider supports destination country
Issue: Verification Code Invalid
Solutions:
- Check code hasn't expired
- Ensure correct code is entered
- Try resending verification code
- Clear browser cache and cookies
Issue: High SMS Costs
Solutions:
- Enable conditional verification (high-value orders only)
- Set order value threshold
- Use cheaper SMS provider
- Consider IP-based verification first
Best Practices
Code Expiry
Set expiry to 5 minutes for balance between security and UX.
Retry Limits
Limit to 3 retry attempts to prevent abuse while allowing legitimate errors.
Cost Control
Use conditional verification for orders above a certain value to save costs.
Clear Instructions
Display clear instructions and estimated wait time for SMS delivery.
Advanced Configuration
Conditional Verification Rules
Set up rules for when to require verification:
// Example: Verify orders above $100
if (order_total > 100) {
require_verification = true;
}
// Example: Always verify new customers
if (customer_orders_count === 0) {
require_verification = true;
}
// Example: Verify specific products
if (cart_contains_product('product-id')) {
require_verification = true;
}
Privacy & Compliance
Key privacy considerations:
- Obtain explicit consent for SMS communication
- Clearly explain why phone verification is required
- Provide option to opt-out of marketing messages
- Store phone numbers securely (encrypted)
- Allow customers to update/delete their phone number
- Include phone data collection in privacy policy
SMS Provider Comparison
| Provider | Pricing | Coverage | Reliability |
|---|---|---|---|
| Twilio | $0.0075/SMS | 200+ countries | βββββ |
| Nexmo/Vonage | $0.0050/SMS | 190+ countries | ββββ |
| AWS SNS | $0.0065/SMS | 180+ countries | βββββ |
Related Topics
- π‘οΈ IP Blocking - Additional security layer
- π Order Limits - Limit orders per customer
- β FAQ - Common questions
- π Support - Get help