How to send free SMS order notifications in WooCommerce

This guide walks through sending order texts from your own Android phone. You need a WooCommerce store, an Android 8 or newer phone with a SIM and internet, and the free app from this site. The first 30 messages each month are free; after that, premium is $2 a month. Your phone plan’s usual SMS rates still apply.

What you need

Step 1: Install the plugin

  1. In WordPress admin go to Plugins → Add New.
  2. Search for Free SMS for WooCommerce (or open it on WordPress.org), click Install Now, then Activate.
  3. A new Free SMS for WooCommerce entry appears in the admin menu. Open it: you see a QR code in the top corner of the page. Activation generates a random pairing token for your site; the QR code encodes it.

Step 2: Install the Android app

  1. On your Android phone open smsforwoocommerce.gitlab.io and tap Download app.
  2. Open the downloaded file. Android will ask you to allow installs from your browser (“Install unknown apps”). Allow it for this install.
  3. Open the app and grant the Camera permission (to scan the QR code) and the SMS permission (to send texts).

Why an APK? The app isn’t on Google Play (see the FAQ). It only asks for Camera, Send SMS and Internet permissions and is fully open source, so you can read or build it yourself. More in the FAQ.

If you see “There was a problem parsing the package”, your Android is older than 8.0.

Step 3: Pair the phone with the QR code

  1. In the app tap Scan new QR code.
  2. Point the camera at the QR code on the plugin settings page in your WordPress admin.
  3. You see a You’re all set! message. You can close the app now: messages are sent in the background.
Plugin settings page in WordPress admin: QR code at the top right, Add new message form on the left
The QR code sits at the top of the plugin settings page.

Step 4: Write your message templates

In the Add new message form choose:

Example templates you can copy:

Processing: Hi :billing_first_name, thanks for your order! We are packing it now.
Completed:  Hi :billing_first_name, your order has shipped. Total: :total :currency. Thank you!
Refunded:   Hi :billing_first_name, your refund of :total :currency has been processed.

Available variables include :status, :currency, :total, :billing_first_name, :billing_last_name, :billing_company, :billing_city, :billing_country, :shipping_first_name, :shipping_city, :payment_method_title, :date_created_date and the other billing/shipping address fields. The settings page shows the complete list for your version.

How templates are matched: when an order changes status, the plugin goes through your templates from top to bottom and sends the first one that matches the status and is valid for the customer’s country. So a customer gets one SMS per status change. Put your home country first so phone numbers entered without a country prefix match it.

Step 5: Send a test message

Scroll to Send test message on the settings page, pick a status, type your own phone number and send. The text should arrive from your phone within seconds. The test fills in sample values for the variables.

Step 6: After it is running

Troubleshooting

Nothing arrives after a status change

Check the phone is online and the app isn’t battery-restricted; check you have a template for that exact status and the customer’s country; check the order has a billing phone number; and check you haven’t used up the 30 free messages.

The test message says the device is not registered

Scan the QR code again (Scan new QR code in the app). Make sure you scan the code on the plugin’s settings page, with the phone connected to the internet.

The phone number is rejected

Numbers are validated against the template’s country. A number without a country prefix is read as belonging to that country. Make sure there is a template for the customer’s country, or have the checkout require international format.

Messages get delayed

Usually a power-saving feature delaying background notifications. Disable battery optimisation for the app and keep the phone connected.

Still stuck? Ask on the support forum or email bjuriewicz (a) gmail.com.

Related