Version Notes
- Text updates
Download this release
Release Info
Developer | MessageBird |
Extension | messagebird-magento |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- README.md +0 -29
- app/code/community/MessageBird/SmsConnector/etc/config.xml +1 -1
- app/design/adminhtml/default/default/template/messagebird_smsconnector/system/config/form/field/orderstatuses.phtml +0 -10
- lib/MessageBird/._Client.php +0 -0
- lib/MessageBird/._Common +0 -0
- lib/MessageBird/._Exceptions +0 -0
- lib/MessageBird/._Objects +0 -0
- lib/MessageBird/._Resources +0 -0
- lib/MessageBird/._ca-bundle.crt +0 -0
- lib/MessageBird/Client.php +17 -0
- lib/MessageBird/Common/._Authentication.php +0 -0
- lib/MessageBird/Common/._HttpClient.php +0 -0
- lib/MessageBird/Common/._ResponseError.php +0 -0
- lib/MessageBird/Exceptions/._AuthenticateException.php +0 -0
- lib/MessageBird/Exceptions/._BalanceException.php +0 -0
- lib/MessageBird/Exceptions/._HttpException.php +0 -0
- lib/MessageBird/Exceptions/._MessageBirdException.php +0 -0
- lib/MessageBird/Exceptions/._RequestException.php +0 -0
- lib/MessageBird/Exceptions/._ServerException.php +0 -0
- lib/MessageBird/Objects/._Balance.php +0 -0
- lib/MessageBird/Objects/._Base.php +0 -0
- lib/MessageBird/Objects/._BaseList.php +0 -0
- lib/MessageBird/Objects/._Hlr.php +0 -0
- lib/MessageBird/Objects/._Lookup.php +0 -0
- lib/MessageBird/Objects/._Message.php +0 -0
- lib/MessageBird/Objects/._Recipient.php +0 -0
- lib/MessageBird/Objects/._Verify.php +0 -0
- lib/MessageBird/Objects/._VoiceMessage.php +0 -0
- lib/MessageBird/Resources/._Balance.php +0 -0
- lib/MessageBird/Resources/._Base.php +0 -0
- lib/MessageBird/Resources/._Hlr.php +0 -0
- lib/MessageBird/Resources/._Lookup.php +0 -0
- lib/MessageBird/Resources/._LookupHlr.php +0 -0
- lib/MessageBird/Resources/._Messages.php +0 -0
- lib/MessageBird/Resources/._Verify.php +0 -0
- lib/MessageBird/Resources/._VoiceMessage.php +0 -0
- lib/MessageBird/autoload.php +0 -0
- package.xml +9 -9
README.md
DELETED
@@ -1,29 +0,0 @@
|
|
1 |
-
# MessageBird Magento Plugin
|
2 |
-
|
3 |
-
The purpose of this extension is to allow Magento Shop owners to keep their users informed about their orders using the power of MessageBird's SMS platform.
|
4 |
-
|
5 |
-
Currently this extension is **under development** and only two events are supported.
|
6 |
-
|
7 |
-
1. Send an SMS message when a new order is placed to either Customer, Seller or to both
|
8 |
-
2. Send an SMS to the customer when the status of the order has changed.
|
9 |
-
|
10 |
-
These events can be enabled/disabled and configured in the configuration section of the Magento Shop. General information such as Access Key to the API, Originator and Seller’s numbers can be configured in this section.
|
11 |
-
|
12 |
-
|
13 |
-
## How to install ##
|
14 |
-
|
15 |
-
####Make sure that you have a backup of your Magento files and database before doing anything.####
|
16 |
-
|
17 |
-
1. Using any FTP client (for a remote server) to move the files to the appropriate destination within your Magento project.
|
18 |
-
2. Go to Magento's Admin page and make sure you refresh the Configuration cache where modules configuration are stored ( **System >> Cache Management** ).
|
19 |
-
3. Go to **System >> Configuration >> Advanced** and make sure that the MessagedBird_SmsConnector module is visible and enabled.
|
20 |
-
4. Log out and log in again (if you skip this step, the Module’s configuration may not work correctly).
|
21 |
-
|
22 |
-
|
23 |
-
## Configure ##
|
24 |
-
|
25 |
-
1. Go to **System >> Configuration >> MessageBird SMS Configuration**
|
26 |
-
2. Click on 'MessageBird Account Configuration' to expand the view and fill in the required information. If you do not have an API Access Key, go to your MessageBird account and [create one](https://www.messagebird.com/app/en/settings/developers/access). Make sure to add your country code in your Seller's phone number (e.g +31694...).
|
27 |
-
3. There is a section for each event. To enable them click on the name to expand and set the 'Enabled' field to 'Yes'.
|
28 |
-
4. We provide some default messages that will be sent out to your customers. You can customize them to your liking. At the moment there 4 variables that can be used (:firstname:, :lastname:, :orderid: and :orderstatus:). The real values will be placed into the messages upon creation.
|
29 |
-
5. Click on Save Config
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/code/community/MessageBird/SmsConnector/etc/config.xml
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<MessageBird_SmsConnector>
|
5 |
-
<version>1.0.
|
6 |
</MessageBird_SmsConnector>
|
7 |
</modules>
|
8 |
|
2 |
<config>
|
3 |
<modules>
|
4 |
<MessageBird_SmsConnector>
|
5 |
+
<version>1.0.1</version>
|
6 |
</MessageBird_SmsConnector>
|
7 |
</modules>
|
8 |
|
app/design/adminhtml/default/default/template/messagebird_smsconnector/system/config/form/field/orderstatuses.phtml
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
<input type="hidden" name="<?php echo $this->getNamePrefix() ?>" value="" />
|
2 |
-
<ul class="checkboxes">
|
3 |
-
<?php foreach ($this->getValues() as $name => $label): ?>
|
4 |
-
<li>
|
5 |
-
<input type="checkbox" value="<?php echo $name?>" name="<?php echo $this->getNamePrefix() ?>[]" id="<?php echo $this->getHtmlId() . '_' . $name ?>"<?php echo ($this->getIsChecked($name) ? ' checked="checked"' : '') ?>/><label for="<?php echo $this->getHtmlId() . '_' . $name ?>">
|
6 |
-
<?php echo $label ?>
|
7 |
-
</label>
|
8 |
-
</li>
|
9 |
-
<?php endforeach;?>
|
10 |
-
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
lib/MessageBird/._Client.php
DELETED
Binary file
|
lib/MessageBird/._Common
DELETED
Binary file
|
lib/MessageBird/._Exceptions
DELETED
Binary file
|
lib/MessageBird/._Objects
DELETED
Binary file
|
lib/MessageBird/._Resources
DELETED
Binary file
|
lib/MessageBird/._ca-bundle.crt
DELETED
Binary file
|
lib/MessageBird/Client.php
CHANGED
@@ -2,6 +2,23 @@
|
|
2 |
|
3 |
namespace MessageBird;
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
/**
|
6 |
* Class Client
|
7 |
*
|
2 |
|
3 |
namespace MessageBird;
|
4 |
|
5 |
+
/**
|
6 |
+
* Thomas Kerkhof @ Notive, 25-Feb-2015:
|
7 |
+
* Autoloader for unregistered functions within this namespace.
|
8 |
+
* Include once is executed twice for windows and unix system compatibility
|
9 |
+
*/
|
10 |
+
spl_autoload_register(
|
11 |
+
function ($class_name)
|
12 |
+
{
|
13 |
+
// error_log('loading in '.__NAMESPACE__.': '.$class_name);
|
14 |
+
$file = $class_name . '.php';
|
15 |
+
$file = preg_replace('/'.__NAMESPACE__.'\\\\/', '', $file);
|
16 |
+
include_once $file;
|
17 |
+
$file = preg_replace('/\\\\/', '/', $file);
|
18 |
+
include_once $file;
|
19 |
+
}
|
20 |
+
);
|
21 |
+
|
22 |
/**
|
23 |
* Class Client
|
24 |
*
|
lib/MessageBird/Common/._Authentication.php
DELETED
Binary file
|
lib/MessageBird/Common/._HttpClient.php
DELETED
Binary file
|
lib/MessageBird/Common/._ResponseError.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._AuthenticateException.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._BalanceException.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._HttpException.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._MessageBirdException.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._RequestException.php
DELETED
Binary file
|
lib/MessageBird/Exceptions/._ServerException.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Balance.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Base.php
DELETED
Binary file
|
lib/MessageBird/Objects/._BaseList.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Hlr.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Lookup.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Message.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Recipient.php
DELETED
Binary file
|
lib/MessageBird/Objects/._Verify.php
DELETED
Binary file
|
lib/MessageBird/Objects/._VoiceMessage.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Balance.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Base.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Hlr.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Lookup.php
DELETED
Binary file
|
lib/MessageBird/Resources/._LookupHlr.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Messages.php
DELETED
Binary file
|
lib/MessageBird/Resources/._Verify.php
DELETED
Binary file
|
lib/MessageBird/Resources/._VoiceMessage.php
DELETED
Binary file
|
lib/MessageBird/autoload.php
CHANGED
File without changes
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
-
<name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>BSD-2</license>
|
7 |
<channel>community</channel>
|
@@ -16,9 +16,9 @@
|
|
16 |
<ul>
|
17 |
<li>Send custom SMS messages on order placement to customer, seller or both.</li>
|
18 |
<li>Send automatic SMS messages on status changes. For example: letting your customers know when their order is shipped.</li>
|
19 |
-
<li>Use variables to personalise and customize SMS messages. For example:
|
20 |
-
<li>In many countries you can use your own sender ID like
|
21 |
-
<li>You can schedule your SMS messages so customers don
|
22 |
<li>Get live statistics on who received the messages and when, from our MessageBird dashboard.</li>
|
23 |
</ul>
|
24 |

|
@@ -28,15 +28,15 @@
|
|
28 |

|
29 |
<h3>Support</h3>
|
30 |

|
31 |
-
<p>Question or ideas how we can improve? Let us know at <a href="mailto:support@messagebird.com">support@messagebird.com</a>. We
|
32 |

|
33 |
<p>Learn more about MessageBird and our services at <a href="https://www.messagebird.com">www.messagebird.com</a>.
|
34 |
More information on our API can be found at <a href="https://www.messagebird.com/developers">www.messagebird.com/developers</a>.</p></description>
|
35 |
<notes>- Text updates</notes>
|
36 |
<authors><author><name>MessageBird</name><user>messagebird</user><email>support@messagebird.com</email></author></authors>
|
37 |
-
<date>2016-
|
38 |
-
<time>12:
|
39 |
-
<contents><target name="magecommunity"><dir name="MessageBird"><dir
|
40 |
<compatible/>
|
41 |
<dependencies><required><php><min>5.2.0</min><max>7.0.2</max></php></required></dependencies>
|
42 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
+
<name>Messagebird</name>
|
4 |
+
<version>1.0.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>BSD-2</license>
|
7 |
<channel>community</channel>
|
16 |
<ul>
|
17 |
<li>Send custom SMS messages on order placement to customer, seller or both.</li>
|
18 |
<li>Send automatic SMS messages on status changes. For example: letting your customers know when their order is shipped.</li>
|
19 |
+
<li>Use variables to personalise and customize SMS messages. For example: &#x201C;Hi :firstname:! Thank you for your order #:orderid:. We'll start with it right away!&#x201D;</li>
|
20 |
+
<li>In many countries you can use your own sender ID like &#x201C;PizzaPalace&#x201D; or &#x201C;ShirtDirect&#x201D;.</li>
|
21 |
+
<li>You can schedule your SMS messages so customers don&#x2019;t receive messages at unusual times.</li>
|
22 |
<li>Get live statistics on who received the messages and when, from our MessageBird dashboard.</li>
|
23 |
</ul>
|
24 |

|
28 |

|
29 |
<h3>Support</h3>
|
30 |

|
31 |
+
<p>Question or ideas how we can improve? Let us know at <a href="mailto:support@messagebird.com">support@messagebird.com</a>. We&#x2019;re here to help!</p>
|
32 |

|
33 |
<p>Learn more about MessageBird and our services at <a href="https://www.messagebird.com">www.messagebird.com</a>.
|
34 |
More information on our API can be found at <a href="https://www.messagebird.com/developers">www.messagebird.com/developers</a>.</p></description>
|
35 |
<notes>- Text updates</notes>
|
36 |
<authors><author><name>MessageBird</name><user>messagebird</user><email>support@messagebird.com</email></author></authors>
|
37 |
+
<date>2016-03-02</date>
|
38 |
+
<time>12:06:30</time>
|
39 |
+
<contents><target name="magecommunity"><dir name="MessageBird"><dir name="SmsConnector"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Orderstatuses.php" hash="393fa11bbad7cf809fe3519b0e323e17"/></dir></dir></dir></dir></dir></dir><dir name="Helper"><file name="Data.php" hash="394c37b0e0e792e79de6af08e12b6521"/></dir><dir name="Model"><file name="Observer.php" hash="e229b92b03d82703731c1018d7a4ad23"/><file name="Orderstatuses.php" hash="8d1d1c589254131d36feb20fd75ead53"/><file name="Sendmessageto.php" hash="68dd6b2d8d424b9f5f2f1301182f350a"/></dir><dir name="etc"><file name="config.xml" hash="40d287937cacc7d389217de26be1c7c6"/><file name="system.xml" hash="c29831d2e046dcbf5973c8bf169c8c57"/></dir></dir></dir></target><target name="magelib"><dir name="MessageBird"><file name="Client.php" hash="7a2616b283e60b20901bf8177548fcb1"/><dir name="Common"><file name="Authentication.php" hash="17cad0ba9897e4c438997369d101226a"/><file name="HttpClient.php" hash="10127c3a0ba708cede93e59bbd3f6400"/><file name="ResponseError.php" hash="cdc3b13edf3addd8d12f450d3dafb190"/></dir><dir name="Exceptions"><file name="AuthenticateException.php" hash="f4e08e9e26beb378d52e5e2dd88a4f68"/><file name="BalanceException.php" hash="23ca8d61bfc1aa5728ab59196ccf0f4d"/><file name="HttpException.php" hash="be5e9a8de66541a5d5000d6ee6c02e9a"/><file name="MessageBirdException.php" hash="f185609044f0fda6af53934fb2083383"/><file name="RequestException.php" hash="a819061cb1ff7861782a802e32e949af"/><file name="ServerException.php" hash="b7ba55cb2e725e8b3a8088e5c34cd657"/></dir><dir name="Objects"><file name="Balance.php" hash="0c48120095b983191cf47dfaa2543310"/><file name="Base.php" hash="20a6fb98a5d45c617bcd08f19155038e"/><file name="BaseList.php" hash="02ff5961f171c0579237eae2d80dd52e"/><file name="Hlr.php" hash="ed11316c8423d669d0764e23ffe1b018"/><file name="Lookup.php" hash="0f79535429e7b7d601302767821a6bea"/><file name="Message.php" hash="0040709bcab09899e80e0a281eb37ebf"/><file name="Recipient.php" hash="5b44bd001a599d884f0d0c65a758d46e"/><file name="Verify.php" hash="c22c8b364195273cb4c8a0590e15aecf"/><file name="VoiceMessage.php" hash="90ce019d1c51a727237b02a7e9a99380"/></dir><dir name="Resources"><file name="Balance.php" hash="d751876e225ea5bb8e939b3e49858a5c"/><file name="Base.php" hash="98c7529792783ea9c350eb805e109331"/><file name="Hlr.php" hash="a286111658d3559e01944230fdcb7adb"/><file name="Lookup.php" hash="ce937a05729753405e6431c8f8e3236f"/><file name="LookupHlr.php" hash="5f8c8e1d8d15935528d2918360fd7d3f"/><file name="Messages.php" hash="900df9b9f92e8db966e358cf9cc46c67"/><file name="Verify.php" hash="ba8c0ec615c6e448121832db40b44923"/><file name="VoiceMessage.php" hash="774bc57543bb0b8cdd6ee48bf4fcf96e"/></dir><file name="autoload.php" hash="972f263f2ef6637310ef5aca977c8687"/><file name="ca-bundle.crt" hash="3c58c3f2435598a942dc37cdb02a3ec3"/></dir></target><target name="mageetc"><dir name="modules"><file name="MessageBird_SmsConnector.xml" hash="511cb2af6ffb295b83d802563f5828b6"/></dir></target></contents>
|
40 |
<compatible/>
|
41 |
<dependencies><required><php><min>5.2.0</min><max>7.0.2</max></php></required></dependencies>
|
42 |
</package>
|