SMS Notifications
The module sends automatic text messages to customers when an order status changes.
Supported providers
Section titled “Supported providers”| Provider | API |
|---|---|
| SMSAPI.pl | REST API with a Bearer token |
| SerwerSMS.pl | REST API with a Bearer token |
Configuration
Section titled “Configuration”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 |
Tokens in the message
Section titled “Tokens in the message”| 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 |
Admin notifications
Section titled “Admin notifications”Optionally, you can enable SMS notifications to the administrator about new orders, with a separate template.
Number normalization
Section titled “Number normalization”The system automatically normalizes Polish phone numbers to the international format (48XXXXXXXXX).
Phone numbers are masked in order notes (e.g. 501***789).