| 开发者 | tomlwbioda |
|---|---|
| 更新时间 | 2026年7月30日 03:34 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
{shop_name}, {order_number}, {order_total}, {currency}, {customer_first_name}, {customer_last_name}, {order_status}, optional {tracking_number?}.from accepts a numeric virtual number only. The alphanumeric sender ID is configured on the Sendly side and bound to that number. The plugin provides a sender-ID field and a forward-compatible hook (sendly_request_body) so it can be sent in the API payload once Sendly exposes that option.
sendly folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload.Yes. You need a Sendly SMS account, a virtual number and an API token. The plugin makes this easy: go to WooCommerce → Settings → SMS → Sign up for Sendly, fill in your details and click "Create account" — you finish on sendly.link (password + bot check) and get 100 free SMS to start. Alternatively register directly at https://sendly.link/pl/rejestracja/ .
The alphanumeric sender ID ("nadpis") is registered and bound to your number on Sendly's side. The plugin's API call sends only the numeric from; the provider substitutes the approved sender ID.
The opt-out consent checkbox uses the classic checkout hooks. Order-status SMS sending works regardless of the checkout type.
No. Sending happens in the background through Action Scheduler.
The DLR endpoint is guarded by a random shared secret. The settings page shows a ready-to-use URL with the secret in the query string for convenience; you can instead send the secret in an X-Sendly-Secret HTTP header to keep it out of access logs. The secret can be regenerated from the settings page at any time (the old URL then stops working).
Phone numbers are normalised using the order's billing country. Actual delivery depends on what the Sendly gateway supports; numbers outside the gateway's accepted length are skipped and logged.