Plugins
Loyvo for WooCommerce
Text your customers when their order is processing, completed and more, and get an SMS for every new order. Free plugin; SMS are paid from your Loyvo credits.
1. Before you start
Loyvo for WooCommerce is free in the WordPress.org plugin directory. Current version: 0.1.4.
| You need | Version | Notes |
|---|---|---|
| WordPress | 6.3 or later | Self-hosted WordPress (not WordPress.com free plans, which cannot add plugins). |
| WooCommerce | 8.0 or later | Works with the classic and the block checkout. |
| PHP | 7.4 or later | Your host's PHP version is in Tools → Site Health → Info. |
| Loyvo account | An approved sender ID and SMS credits. Start free at app.loyvo.lk. |
2. Install it in WordPress
- Sign in to your WordPress admin (yourshop.lk/wp-admin) as an administrator.
- Go to Plugins → Add New Plugin and search for Loyvo.
- On Loyvo for WooCommerce, click Install Now, then Activate.
- A new Loyvo tab appears under WooCommerce → Settings.
Can't install from the directory (some hosts block it)? Download the zip, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. If the upload is refused too, unzip it and upload the loyvo-for-woocommerce folder to wp-content/plugins/ with your host's file manager, then activate it under Plugins.
3. Create an API key in Loyvo
- Open app.loyvo.lk and choose your organisation.
- Go to Settings → API keys → + Create key.
- Name it e.g. "WooCommerce", choose Live, and tick Send SMS and Read messages, campaigns and balance.
- Click Create key and copy it (
lvo_live_…). It is shown only once.
Want to try first? Choose Test instead: everything works the same, but nothing is delivered and no credits are used. Order notes then say "test key, not delivered".
4. Connect your shop
- In WordPress, go to WooCommerce → Settings → Loyvo.
- Paste the key into API key and click Save changes. You should see ✓ Connected to (your business) and your SMS credits.
- Choose your Sender ID (only approved ones are listed) and save again.
The key is never shown again after saving, only its last characters. To change it, paste a new one; leave the field empty to keep the current key.

5. Choose your messages
Tick the order statuses that should send an SMS (Processing and Completed are on by default) and edit each message. You can use these placeholders:
{first_name} {last_name} {order_id} {total} {status} {shop_name} {items} {order_date}
The counter under each message shows its length and SMS count. A standard SMS holds 160 characters; Sinhala, Tamil or emoji make it Unicode, which holds 70, so the same text can cost 2 or 3 SMS. Every default message fits in one.
Under New order alert to you, add your own numbers to get a text for every new order. Then use Send test SMS to check everything.

6. See it on your orders
When an order changes status, the SMS goes to the billing phone in the background, so checkout is never slowed down. Every SMS sent or failed is written in the order's Order notes, e.g. "Loyvo: Completed SMS sent to 94771234567 · 1 SMS".
If Loyvo can't be reached, the plugin tries again after 5, 10 and 15 minutes. A customer never gets the same message twice for the same order and status.

Update to a new version
Updates arrive in your WordPress dashboard like any other plugin: go to Dashboard → Updates or Plugins and click Update now, or turn on Enable auto-updates for Loyvo for WooCommerce. Your settings stay.
Installed it earlier from the zip? Nothing to do: WordPress links it to the directory automatically, so the next update shows up there too.
Troubleshooting
| You see | Why | What to do |
|---|---|---|
| Invalid or revoked API key | The key was mistyped, revoked or belongs to another account. | Create a new key (step 3) and paste it again. |
| This key cannot send SMS | The key lacks the Send SMS permission. | Create a key with Send SMS and Read messages ticked. |
| "…" is not a Sri Lankan mobile number | The billing phone isn't a 07X mobile number. | Nothing to fix: SMS only go to Sri Lankan mobiles. |
| This sender ID is not approved yet | The chosen sender ID isn't approved. | Pick an approved one, or check its status in app.loyvo.lk. |
| Not enough credits / plan has ended | Your Loyvo balance or plan ran out. | Top up or choose a plan in app.loyvo.lk. |
| No order note at all | WordPress background tasks aren't running. | Check WooCommerce → Status → Scheduled Actions for pending loyvo jobs; ask your host to enable WP-Cron. |
Removing the plugin (Plugins → Deactivate → Delete) also deletes its settings and API key. Order notes stay. Need help? Email support@loyvo.lk.