
外掛標籤
開發者團隊
② 後台搜尋「TopSMS.cz Order SMS for WooCommerce」→ 直接安裝(推薦)
原文外掛簡介
TopSMS.cz Order SMS for WooCommerce connects your shop to the TopSMS SMS gateway, a B2B SMS service operated from the Czech Republic with delivery to all Czech and Slovak mobile networks, Germany, Austria and the rest of the EU, and international destinations.
It works with accounts from both TopSMS websites: TopSMS.cz for Czechia and Slovakia (prices in CZK) and TopSMS.eu for Germany, Austria and the EU (prices in EUR). Use the API key from whichever site you registered on.
What it does
Sends an SMS to the customer’s billing phone number when the order changes to a status you enable (processing, completed, on hold, cancelled, refunded, failed, pending, or any custom status).
Optionally sends an SMS to the shop owner about every new order placed at checkout.
Message templates per status with placeholders: {order_number}, {first_name}, {last_name}, {total}, {status}, {payment_method}, {shipping_method}, {order_date}, {shop_name}, {site_url}.
Custom Sender ID (the name the customer sees as the sender), once approved for your TopSMS account.
Phone numbers are normalised to international format using the billing country, so numbers such as 608 123 456 or 0905 123 456 are handled.
Sending runs in the background through Action Scheduler, so the checkout never waits for the gateway.
Every attempt is written to the order notes and to a log screen (WooCommerce > SMS log). The log is pruned after a configurable number of days.
Connection check and test SMS button in the settings.
Compatible with High-Performance Order Storage (HPOS) and both the classic and the block checkout.
Requirements
WooCommerce 8.0 or newer.
A TopSMS account from topsms.cz or topsms.eu and an API key (created in the TopSMS dashboard, section API). Registration is free; messages are charged to the prepaid credit of your account according to the price list (topsms.cz in CZK, topsms.eu in EUR).
Third-party service
This plugin relies on the TopSMS.cz SMS gateway, a paid third-party service operated by TopSMS.cz (Vojtech Safar, Prague, Czech Republic). Messages are sent through the TopSMS REST API at 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.
Terms of service: https://www.topsms.cz/obchodni-podminky
Privacy policy: https://www.topsms.cz/zasady-ochrany-osobnich-udaju
Data processing agreement (GDPR): https://www.topsms.cz/zpracovatelska-smlouva
API documentation: https://www.topsms.cz/api-integrace/rest-api
Developer hooks
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.
