76 linhas
3,4 KiB
Text
76 linhas
3,4 KiB
Text
=== Interweb Angola SMS Center ===
|
|
Tags: sms, woocommerce, order notifications, sms notifications, text messages
|
|
Requires at least: 6.0
|
|
Tested up to: 7.1
|
|
Requires PHP: 7.4
|
|
Stable tag: 1.0.1
|
|
License: MIT
|
|
License URI: https://opensource.org/licenses/MIT
|
|
|
|
SMS for WordPress and WooCommerce: order alerts for your customers and for you, SMS to customers from the dashboard and test sends.
|
|
|
|
== Description ==
|
|
|
|
The plugin sends SMS through the Interweb Angola SMS Center, with your API key. You do not need anything else on the server.
|
|
|
|
* WooCommerce alerts: order received, paid, shipped, completed, cancelled and refunded, plus a new order alert to your mobile.
|
|
* Texts you can edit in Portuguese and English, with placeholders such as {first_name}, {order_number} and {order_total}.
|
|
* Send one SMS to many people from the dashboard: numbers you type, your customers, or both. You see the count and the cost before it goes out.
|
|
* A box on the order page to send an SMS to that customer. The message is noted in the order.
|
|
* A "Shipped" order status, or any status you already use.
|
|
* Test send, connection test with the SMS balance, and an activity log.
|
|
|
|
Each alert goes out once per order and event, in the background. A sandbox_ key simulates every send and spends nothing.
|
|
|
|
You need an Interweb Angola account and an API key. Each SMS spends SMS credits from that account.
|
|
|
|
== External services ==
|
|
|
|
This plugin connects to the Interweb Angola API (https://api.interweb.ao), run by Interweb Angola. It sends nothing before you save an API key. After that, it sends:
|
|
|
|
* The API key, in every request, and a key check (GET /v1/token) when you save it or click "Test the connection".
|
|
* Each SMS: the phone number and the text. Order alerts can include the customer's name, the order number and the total, as set in your texts.
|
|
* Balance and senders: read to show your SMS balance and approved senders in the settings.
|
|
|
|
Terms and conditions: https://www.interweb.ao/en/terms-conditions
|
|
Privacy policy: https://www.interweb.ao/en/privacy-policy
|
|
|
|
== Installation ==
|
|
|
|
1. Upload the plugin folder to wp-content/plugins, or the zip in Plugins > Add New > Upload.
|
|
2. Activate it and open Settings > Interweb Angola SMS Center.
|
|
3. Paste your API key (permissions sms:read and sms:write) and click "Test the connection".
|
|
4. In the WooCommerce tab, turn on the alerts you want.
|
|
|
|
== Frequently Asked Questions ==
|
|
|
|
= Where do I get the API key? =
|
|
|
|
In Meu Interweb, on the API page. Use a sandbox_ key first: it simulates every send.
|
|
|
|
= Does it work with the Interweb Angola Connect plugin? =
|
|
|
|
Yes. Both can be active at the same time. If both send order SMS, turn the alerts on in only one of them.
|
|
|
|
= Can I keep the key out of the database? =
|
|
|
|
Yes. Define INTERWEB_AO_SMS_CENTER_API_KEY in wp-config.php.
|
|
|
|
= How many SMS does a long message use? =
|
|
|
|
An SMS has 160 characters, or 70 when it has characters outside the GSM alphabet, such as some accented letters. A longer text uses more than one credit. The settings show the count before you send.
|
|
|
|
== Screenshots ==
|
|
|
|
1. Connection tab: API key, sender and language.
|
|
2. Send one SMS to the numbers you type or to your customers.
|
|
3. WooCommerce alerts, with the "Shipped" status and texts you can edit.
|
|
|
|
== Changelog ==
|
|
|
|
= 1.0.1 =
|
|
* Help link at the top of the settings page, to the step-by-step guide.
|
|
* MIT licence and author links in the plugin header, an External services section in this readme, and output escaping fixes.
|
|
|
|
= 1.0.0 =
|
|
* First version.
|