Skip to content

SMS Notifications

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

ProviderAPI
SMSAPI.plREST API with a Bearer token
SerwerSMS.plREST 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.

SettingDescription
ProviderSMSAPI.pl or SerwerSMS.pl
API tokenAuthorization key
Sender nameFROM field (max 11 characters)
StatusesWhich statuses trigger an SMS
Message templateSMS content with tokens
TokenDescription
{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).