Skip to content

SMS Notifications

The module sends automatic text messages to customers when an order status changes.

Provider API
SMSAPI.pl REST API with a Bearer token
SerwerSMS.pl REST API with a Bearer token

The module has no admin screen. Its settings live in the polski_pro_sms option and are written through PUT /wp-json/polski-pro/v1/settings under the sms key, which requires the manage_woocommerce capability. Setting enabled to true there is what turns the module on.

Setting Description
Provider SMSAPI.pl or SerwerSMS.pl
API token Authorization key
Sender name FROM field (max 11 characters)
Statuses Which statuses trigger an SMS
Message template SMS content with tokens
Token Description
{order_id} Order ID
{order_number} Order number
{first_name} Customer first name
{last_name} Customer last name
{status} Name of the new status
{tracking_number} Tracking number (if available)
{tracking_url} Tracking URL
{total} Order amount
{site_name} Store name

Optionally, you can enable SMS notifications to the administrator about new orders, with a separate template.

The system automatically normalizes Polish phone numbers to the international format (48XXXXXXXXX).

Phone numbers are masked in order notes (e.g. 501***789).