| 开发者 | topsmscz |
|---|---|
| 更新时间 | 2026年11月20日 07:00 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{order_number}, {first_name}, {last_name}, {total}, {status}, {payment_method}, {shipping_method}, {order_date}, {shop_name}, {site_url}.608 123 456 or 0905 123 456 are handled.https://www.topsms.cz/api. For every message the plugin transmits the recipient phone number, the message text (which may contain the customer name and order details depending on your templates), the Sender ID and your shop URL (in the User-Agent header). The connection check transmits only your API key. No data is sent unless you enter an API key.
topsms_wc_recipient_phone (filter): change the recipient number, receives $phone, $order, $status.topsms_wc_message_text (filter): change the final text, receives $text, $order, $status.topsms_wc_should_send (filter): return false to skip a notification, receives true, $order, $status.topsms_wc_sms_sent (action): fires after every attempt with $order, $phone, $text, $result.TopSMS delivers to all Czech and Slovak mobile networks and to international destinations. Prices per destination are listed at https://www.topsms.cz/cenik.
Each SMS part is charged to your TopSMS credit. Plain ASCII messages carry 160 characters per part; messages with characters outside the GSM alphabet (Czech diacritics, emoji) carry 70 characters per part. The settings screen explains this next to the templates.
Yes. Request a Sender ID in your TopSMS dashboard. Mobile operators approve new sender names in batches, usually a few times per month, so allow one to two weeks. Until it is approved, leave the field empty and the default TopSMS sender is used.
No. Each status is announced once per order, even if the order goes back and forth between statuses.
Open the order: the plugin leaves an order note for every attempt, including the gateway error message. WooCommerce > SMS log lists the last 100 messages. WooCommerce > Status > Logs (source "topsms") contains failures as well.
Yes, both are supported.