Auctions for WooCommerceAuctions for WooCommerce
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools (Import / Export)
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Notifications
  • Wallet & Payments

    • Wallet System
    • Auto-Charge
    • Stripe Connect
    • Monetization Fees
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase Push
    • Two-Factor Auth
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JS Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog
Support
Buy Now
View Demo
  • Getting Started

    • Introduction
    • Quick Start
    • Features
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools (Import / Export)
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Notifications
  • Wallet & Payments

    • Wallet System
    • Auto-Charge
    • Stripe Connect
    • Monetization Fees
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase Push
    • Two-Factor Auth
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JS Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog
Support
  • Getting Started

    • Introduction
    • Quick Start
    • Feature Catalog
    • Installation
    • First-Time Setup
    • Onboarding Tour
  • Admin Guide

    • Admin Overview
    • Dashboard
    • All Auctions
    • Add / Edit Auction
    • Bids
    • Reports
    • Events
    • Wallet (Admin)
    • Disputes
    • Blocked Users
    • Fraud Detection
    • Tools
    • Settings
    • Design Studio
    • Pending Review
    • Audit Log
  • Auction Mechanics

    • Auction Types
    • Bidding Engine
    • Anti-Sniping (Soft Close)
    • Bid Increments
    • Reserve & Buy Now
    • Auto-Relist
    • Watchlist
  • Customer Experience

    • Customer Experience Overview
    • My Auctions
    • My Wallet
    • Withdrawal
    • Single Auction Page
    • Customer Notifications
  • Wallet & Payments

    • Wallet System
    • Wallet Auto-Charge
    • Stripe Connect
    • Monetization
  • Multi-Vendor & Integrations

    • Multi-Vendor Compatibility
    • Twilio SMS
    • Firebase (Push Notifications)
    • Two-Factor Authentication
    • Captcha
    • Social Login
    • Subscription Gate
    • Elementor & Gutenberg
  • Premium Features

    • Smart Features
    • Psychology Triggers
    • Gamification
    • Fraud Detection
    • Compliance
    • Social Sharing
    • Email Notifications
  • Developer

    • REST API
    • Hooks & Filters
    • JavaScript Events
    • Database Schema
    • Shortcodes
    • Options Reference
    • WP-CLI
  • Help

    • Troubleshooting
    • FAQ
    • Glossary
    • Changelog

Twilio SMS

Send time-sensitive notifications to bidders via SMS.

What gets sent

EventChannel
Outbid (final hour)SMS
Auction ending soon (5 min)SMS
Auction wonSMS
Payment reminderSMS
Wallet OTP (transfer / withdrawal)SMS (always)
2FA login codeSMS

Customers opt in by adding a verified phone number in My Account → Account details.

Configure

Auctions → Settings → Integrations → Twilio

FieldOption keyWhere to find
Twilio Account SIDwkafw_twilio_sidTwilio Console → Account Info
Twilio Auth Tokenwkafw_twilio_tokenTwilio Console → Account Info
From phone numberwkafw_twilio_fromYour Twilio phone number, E.164 format

Test numbers

Twilio's free trial gives you a single sandbox phone number. SMS to verified test numbers only. For production, upgrade Twilio account.

Phone verification flow

When a customer adds a phone number:

  1. Plugin sends OTP via Twilio
  2. Customer enters OTP within 5 minutes
  3. Phone marked verified on the customer's account
  4. Phone is now usable for SMS / OTP

Unverified phones don't receive non-OTP messages (cost protection).

SMS templates

Default templates ship with the plugin and can be overridden:

TriggerTemplate
OutbidYou've been outbid on {title}. Bid again: {url}
Ending soonAuction ending in 5 min: {title}. Place final bid: {url}
Won🎉 You won {title} for {amount}. Pay now: {url}
OTPYour verification code is {code}. Valid 5 min.
2FAYour login code is {code}.

Templates are short — SMS has a 160-char single-segment limit. Longer messages cost more (multi-segment).

Cost considerations

Twilio bills per message. Approximate costs:

ChannelUSUKIndia
SMS$0.008$0.04$0.005

For a high-traffic auction site, SMS costs add up — be selective about which triggers send SMS. Push (Firebase) is free and works for most cases; reserve SMS for time-sensitive / high-value events.

Opt-in / Opt-out

SettingDefault
Opt-in requiredyes (phone must be verified)
Per-trigger togglesyes (in Customer notification preferences)
STOP keywordyes (replying STOP unsubscribes the user)
HELP keywordyes (replies with support info)

The plugin handles inbound STOP / HELP via the Twilio inbound webhook described below.

Inbound webhook

Configure your Twilio number's webhook to: https://yoursite.com/wp-json/wkafw/v1/twilio/webhook

Events handled:

  • Inbound SMS (STOP, HELP, custom commands)
  • Delivery status callbacks (sent / delivered / failed)
  • Failed delivery (cost protection — disables the user's phone after N consecutive failures)

Testing

Use Twilio's test credentials (free) for development:

Test numberBehavior
+15005550006Always succeeds
+15005550001Always fails

Configure wkafw_twilio_sid to your test SID, wkafw_twilio_token to test token, and use these numbers as recipients.

Common questions

"How do I disable SMS for development?"

Set wkafw_twilio_sid to empty. The plugin skips SMS sending entirely (logged in WP error log).

"Can I send to international numbers?"

Yes — Twilio supports E.164 globally. Verify your Twilio account has international SMS enabled (default in most plans).

"What about A2P 10DLC compliance?"

In the US, A2P (application-to-person) SMS over 10DLC numbers requires brand + campaign registration. Configure in Twilio Console; the plugin's wkafw_twilio_from should be a registered 10DLC number.

"Why aren't OTP messages arriving?"

Most common: phone number isn't in E.164 format (no + prefix). Plugin tries to normalize but for non-US numbers, ensure the user enters with country code.

Prev
Multi-Vendor Compatibility
Next
Firebase (Push Notifications)