96 lines
5 KiB
Text
96 lines
5 KiB
Text
=== MozOut Mozambique Connect ===
|
|
Tags: email, sms, newsletter, woocommerce, chatbot
|
|
Requires at least: 6.0
|
|
Tested up to: 7.1
|
|
Requires PHP: 7.4
|
|
Stable tag: 1.1.3
|
|
License: MIT
|
|
License URI: https://opensource.org/licenses/MIT
|
|
|
|
Site emails through E-mail Center, sign-up forms, an AI chat assistant and WooCommerce alerts by SMS and email, with your MozOut Mozambique API key.
|
|
|
|
== Description ==
|
|
|
|
MozOut Mozambique Connect joins a WordPress site to a MozOut Mozambique account. It uses only the public MozOut Mozambique API, with your own key.
|
|
|
|
What it does:
|
|
|
|
* Sends the site emails (wp_mail) through E-mail Center. There is a test send, and if the API fails WordPress sends the email the normal way.
|
|
* Sign-up forms for E-mail Center and SMS contacts (shortcode [mozout_mz_subscribe] and a block), with consent and double confirmation.
|
|
* A floating AI assistant. Questions go through your WordPress, so the key never reaches the browser, and you set limits per visitor.
|
|
* WooCommerce alerts by SMS and email for received, paid, shipped, completed and cancelled orders, plus a new order alert for you.
|
|
* Domain search with WHOIS and prices, with a buy button that opens the MozOut Mozambique site, and a domain price table.
|
|
* Help articles and announcements from MozOut Mozambique, kept in cache.
|
|
|
|
A sandbox_ key simulates the sends and spends nothing, so you can try everything first.
|
|
|
|
Languages: English, with Portuguese translations (pt_PT, pt_BR, pt_AO) in .po and .mo files. The plugin language can follow WordPress or be fixed in the settings.
|
|
|
|
You need a MozOut Mozambique account and an API key. Sending emails, SMS and AI answers spends credits from that account.
|
|
|
|
== External services ==
|
|
|
|
This plugin connects to the MozOut Mozambique API (https://api.mozout.co.mz), run by MozOut Mozambique. 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".
|
|
* Site emails, when "Send through E-mail Center" is on: sender, recipients, subject, content and attachments of each email sent with wp_mail.
|
|
* Sign-ups, after the person confirms: name, email or phone number (or both), and the groups you chose. The proof of consent and the IP address stay on your site.
|
|
* AI assistant, when it is on: the visitor's messages in the chat and your instructions for the assistant.
|
|
* WooCommerce alerts, when they are on: the customer's phone number or email and the alert text, which can include the name, order number and total.
|
|
* Domain search: the name the visitor types. Price table, help articles and announcements: only the language and the list asked for.
|
|
|
|
Terms and conditions: https://www.mozout.co.mz/en/terms-conditions
|
|
Privacy policy: https://www.mozout.co.mz/en/privacy-policy
|
|
|
|
== Installation ==
|
|
|
|
1. Upload the zip in Plugins > Add New > Upload Plugin, or the plugin folder to wp-content/plugins.
|
|
2. Activate it and open Settings > MozOut Mozambique Connect.
|
|
3. Create an API key in Meu MozOut, on the API page, paste it and click "Test the connection". Permissions: email_center:read and email_center:write (emails and forms), sms:write (SMS) and ai:write (assistant).
|
|
4. Turn on the parts you want in each tab.
|
|
|
|
== Frequently Asked Questions ==
|
|
|
|
= Where do I get the API key? =
|
|
|
|
In Meu MozOut, on the API page. Start with a sandbox_ key: it simulates everything and spends nothing.
|
|
|
|
= Can I keep the key out of the database? =
|
|
|
|
Yes. Define MOZOUT_MZ_CONNECT_API_KEY in wp-config.php. A key saved in the settings is stored encrypted and is never shown again.
|
|
|
|
= What happens if the API is down? =
|
|
|
|
With the fallback on, WordPress sends the email the normal way, so no email is lost. WooCommerce alerts run in the background and each one goes out once per order and event.
|
|
|
|
= Can I use it with MozOut Mozambique SMS Center, E-mail Center or All in One AI? =
|
|
|
|
Yes, they can be active together. Turn each feature on in only one plugin, or the customer gets the same email or SMS twice.
|
|
|
|
== Screenshots ==
|
|
|
|
1. Connection tab: API key, SMS sender, language and the connection test.
|
|
2. Site emails sent through E-mail Center, with the fallback and a test send.
|
|
3. WooCommerce alerts by SMS and email, with texts you can edit.
|
|
4. Domain search on a page, with the [mozout_mz_domain_search] shortcode.
|
|
|
|
== Changelog ==
|
|
|
|
= 1.1.3 =
|
|
* 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.1.2 =
|
|
* The API key is checked when you save it: a key the API refuses is not saved, and missing permissions are flagged.
|
|
* Brand logo on the settings page and an icon next to the menu entry.
|
|
* The Save and Test buttons work again.
|
|
* WooCommerce: marking an order as "Shipped" works again (shorter status id).
|
|
|
|
= 1.1.1 =
|
|
* Translations moved to gettext files (.pot, .po and .mo) in /languages.
|
|
|
|
= 1.1.0 =
|
|
* Domain search with WHOIS and prices, domain price table, help articles and announcements.
|
|
|
|
= 1.0.0 =
|
|
* First version.
|