Version Notes
- Add subscription to Campaign Monitor via the account creation checkbox.
Download this release
Release Info
Developer | Digital Pianism |
Extension | DigitalPianism_CampaignMonitor |
Version | 0.8.0 |
Comparing to | |
See all releases |
Code changes from version 0.7.11 to 0.8.0
app/code/community/DigitalPianism/CampaignMonitor/Model/Customer/Observer.php
CHANGED
@@ -10,32 +10,32 @@ class DigitalPianism_CampaignMonitor_Model_Customer_Observer
|
|
10 |
* @param $observer
|
11 |
*/
|
12 |
public function check_subscription_status($observer)
|
13 |
-
{
|
14 |
-
|
15 |
-
$event = $observer->getEvent();
|
16 |
$customer = $event->getCustomer();
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
$name = $customer->getFirstname() . " " . $customer->getLastname();
|
36 |
$newEmail = $customer->getEmail();
|
37 |
-
$subscribed = $customer->getIsSubscribed();
|
38 |
-
|
39 |
$oldEmail = Mage::getModel('customer/customer')->load($customer->getId())->getEmail();
|
40 |
|
41 |
if (empty($oldEmail)) return;
|
@@ -43,20 +43,20 @@ class DigitalPianism_CampaignMonitor_Model_Customer_Observer
|
|
43 |
// or the other), get the existing value from the database
|
44 |
if($subscribed === NULL)
|
45 |
{
|
46 |
-
|
47 |
}
|
48 |
-
|
49 |
//print "Name: $name, New email: $newEmail, Subscribed: $subscribed, Old email: $oldEmail<br />\n";
|
50 |
-
|
51 |
{
|
52 |
$customFields = Mage::helper('campaignmonitor')->generateCustomFields($customer);
|
53 |
-
|
54 |
-
try
|
55 |
-
|
56 |
-
|
57 |
-
}
|
58 |
-
|
59 |
-
|
60 |
Mage::helper('campaignmonitor')->log("Error connecting to CampaignMonitor server: ".$e->getMessage());
|
61 |
return;
|
62 |
}
|
@@ -72,55 +72,55 @@ class DigitalPianism_CampaignMonitor_Model_Customer_Observer
|
|
72 |
if ($oldEmail && $newEmail != $oldEmail)
|
73 |
{
|
74 |
Mage::helper('campaignmonitor')->log("Unsubscribing old email address: $oldEmail");
|
75 |
-
try
|
76 |
-
|
77 |
$result = $client->unsubscribe($oldEmail);
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
}
|
89 |
-
|
90 |
-
|
91 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
92 |
return;
|
93 |
}
|
94 |
}
|
95 |
-
|
96 |
// Using 'add and resubscribe' rather than just 'add', otherwise
|
97 |
// somebody who unsubscribes and resubscribes won't be put back
|
98 |
// on the active list
|
99 |
Mage::helper('campaignmonitor')->log("Subscribing new email address: $newEmail");
|
100 |
-
try
|
101 |
-
|
102 |
$result = $client->add(array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
"EmailAddress" => $newEmail,
|
104 |
"Name" => $name,
|
105 |
"CustomFields" => $customFields,
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
// Refresh the token
|
112 |
-
Mage::helper('campaignmonitor')->refreshToken();
|
113 |
-
}
|
114 |
-
// Make the call again
|
115 |
-
$client->add(array(
|
116 |
-
"EmailAddress" => $newEmail,
|
117 |
-
"Name" => $name,
|
118 |
-
"CustomFields" => $customFields,
|
119 |
-
"Resubscribe" => true));
|
120 |
-
}
|
121 |
-
}
|
122 |
-
catch(Exception $e)
|
123 |
-
{
|
124 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
125 |
return;
|
126 |
}
|
@@ -128,23 +128,23 @@ class DigitalPianism_CampaignMonitor_Model_Customer_Observer
|
|
128 |
else
|
129 |
{
|
130 |
Mage::helper('campaignmonitor')->log("Unsubscribing: $oldEmail");
|
131 |
-
|
132 |
-
try
|
133 |
-
|
134 |
$result = $client->unsubscribe($oldEmail);
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
}
|
146 |
-
|
147 |
-
|
148 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
149 |
return;
|
150 |
}
|
@@ -161,43 +161,114 @@ class DigitalPianism_CampaignMonitor_Model_Customer_Observer
|
|
161 |
$customer = $event->getCustomer();
|
162 |
|
163 |
if (Mage::helper('campaignmonitor')->isOAuth())
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
$email = $customer->getEmail();
|
181 |
|
182 |
if($auth && $listID)
|
183 |
{
|
184 |
Mage::helper('campaignmonitor')->log("Customer deleted, unsubscribing: $email");
|
185 |
-
try
|
186 |
-
|
187 |
$client = new CS_REST_Subscribers($listID,$auth);
|
188 |
$result = $client->unsubscribe($email);
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
}
|
199 |
-
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
202 |
return;
|
203 |
}
|
10 |
* @param $observer
|
11 |
*/
|
12 |
public function check_subscription_status($observer)
|
13 |
+
{
|
14 |
+
|
15 |
+
$event = $observer->getEvent();
|
16 |
$customer = $event->getCustomer();
|
17 |
+
|
18 |
+
if (Mage::helper('campaignmonitor')->isOAuth())
|
19 |
+
{
|
20 |
+
$accessToken = Mage::getModel('campaignmonitor/auth')->getAccessToken();
|
21 |
+
$refreshToken = Mage::getModel('campaignmonitor/auth')->getRefreshToken();
|
22 |
+
|
23 |
+
$auth = array(
|
24 |
+
'access_token' => $accessToken,
|
25 |
+
'refresh_token' => $refreshToken
|
26 |
+
);
|
27 |
+
}
|
28 |
+
else
|
29 |
+
{
|
30 |
+
$auth = Mage::helper('campaignmonitor')->getApiKey();
|
31 |
+
}
|
32 |
+
|
33 |
+
$listID = Mage::helper('campaignmonitor')->getListId();
|
34 |
+
|
35 |
$name = $customer->getFirstname() . " " . $customer->getLastname();
|
36 |
$newEmail = $customer->getEmail();
|
37 |
+
$subscribed = $customer->getIsSubscribed();
|
38 |
+
|
39 |
$oldEmail = Mage::getModel('customer/customer')->load($customer->getId())->getEmail();
|
40 |
|
41 |
if (empty($oldEmail)) return;
|
43 |
// or the other), get the existing value from the database
|
44 |
if($subscribed === NULL)
|
45 |
{
|
46 |
+
$subscribed = Mage::getModel('newsletter/subscriber')->loadByCustomer($customer)->isSubscribed();
|
47 |
}
|
48 |
+
|
49 |
//print "Name: $name, New email: $newEmail, Subscribed: $subscribed, Old email: $oldEmail<br />\n";
|
50 |
+
if($auth && $listID)
|
51 |
{
|
52 |
$customFields = Mage::helper('campaignmonitor')->generateCustomFields($customer);
|
53 |
+
|
54 |
+
try
|
55 |
+
{
|
56 |
+
$client = new CS_REST_Subscribers($listID,$auth);
|
57 |
+
}
|
58 |
+
catch(Exception $e)
|
59 |
+
{
|
60 |
Mage::helper('campaignmonitor')->log("Error connecting to CampaignMonitor server: ".$e->getMessage());
|
61 |
return;
|
62 |
}
|
72 |
if ($oldEmail && $newEmail != $oldEmail)
|
73 |
{
|
74 |
Mage::helper('campaignmonitor')->log("Unsubscribing old email address: $oldEmail");
|
75 |
+
try
|
76 |
+
{
|
77 |
$result = $client->unsubscribe($oldEmail);
|
78 |
+
|
79 |
+
if (!$result->was_successful()) {
|
80 |
+
// If you receive '121: Expired OAuth Token', refresh the access token
|
81 |
+
if ($result->response->Code == 121) {
|
82 |
+
// Refresh the token
|
83 |
+
Mage::helper('campaignmonitor')->refreshToken();
|
84 |
+
}
|
85 |
+
// Make the call again
|
86 |
+
$client->unsubscribe($oldEmail);
|
87 |
+
}
|
88 |
+
}
|
89 |
+
catch(Exception $e)
|
90 |
+
{
|
91 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
92 |
return;
|
93 |
}
|
94 |
}
|
95 |
+
|
96 |
// Using 'add and resubscribe' rather than just 'add', otherwise
|
97 |
// somebody who unsubscribes and resubscribes won't be put back
|
98 |
// on the active list
|
99 |
Mage::helper('campaignmonitor')->log("Subscribing new email address: $newEmail");
|
100 |
+
try
|
101 |
+
{
|
102 |
$result = $client->add(array(
|
103 |
+
"EmailAddress" => $newEmail,
|
104 |
+
"Name" => $name,
|
105 |
+
"CustomFields" => $customFields,
|
106 |
+
"Resubscribe" => true));
|
107 |
+
|
108 |
+
if (!$result->was_successful()) {
|
109 |
+
// If you receive '121: Expired OAuth Token', refresh the access token
|
110 |
+
if ($result->response->Code == 121) {
|
111 |
+
// Refresh the token
|
112 |
+
Mage::helper('campaignmonitor')->refreshToken();
|
113 |
+
}
|
114 |
+
// Make the call again
|
115 |
+
$client->add(array(
|
116 |
"EmailAddress" => $newEmail,
|
117 |
"Name" => $name,
|
118 |
"CustomFields" => $customFields,
|
119 |
+
"Resubscribe" => true));
|
120 |
+
}
|
121 |
+
}
|
122 |
+
catch(Exception $e)
|
123 |
+
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
125 |
return;
|
126 |
}
|
128 |
else
|
129 |
{
|
130 |
Mage::helper('campaignmonitor')->log("Unsubscribing: $oldEmail");
|
131 |
+
|
132 |
+
try
|
133 |
+
{
|
134 |
$result = $client->unsubscribe($oldEmail);
|
135 |
+
|
136 |
+
if (!$result->was_successful()) {
|
137 |
+
// If you receive '121: Expired OAuth Token', refresh the access token
|
138 |
+
if ($result->response->Code == 121) {
|
139 |
+
// Refresh the token
|
140 |
+
Mage::helper('campaignmonitor')->refreshToken();
|
141 |
+
}
|
142 |
+
// Make the call again
|
143 |
+
$client->unsubscribe($oldEmail);
|
144 |
+
}
|
145 |
+
}
|
146 |
+
catch(Exception $e)
|
147 |
+
{
|
148 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
149 |
return;
|
150 |
}
|
161 |
$customer = $event->getCustomer();
|
162 |
|
163 |
if (Mage::helper('campaignmonitor')->isOAuth())
|
164 |
+
{
|
165 |
+
$accessToken = Mage::getModel('campaignmonitor/auth')->getAccessToken();
|
166 |
+
$refreshToken = Mage::getModel('campaignmonitor/auth')->getRefreshToken();
|
167 |
+
|
168 |
+
$auth = array(
|
169 |
+
'access_token' => $accessToken,
|
170 |
+
'refresh_token' => $refreshToken
|
171 |
+
);
|
172 |
+
}
|
173 |
+
else
|
174 |
+
{
|
175 |
+
$auth = Mage::helper('campaignmonitor')->getApiKey();
|
176 |
+
}
|
177 |
+
|
178 |
+
$listID = Mage::helper('campaignmonitor')->getListId();
|
179 |
+
|
180 |
$email = $customer->getEmail();
|
181 |
|
182 |
if($auth && $listID)
|
183 |
{
|
184 |
Mage::helper('campaignmonitor')->log("Customer deleted, unsubscribing: $email");
|
185 |
+
try
|
186 |
+
{
|
187 |
$client = new CS_REST_Subscribers($listID,$auth);
|
188 |
$result = $client->unsubscribe($email);
|
189 |
+
if (!$result->was_successful()) {
|
190 |
+
// If you receive '121: Expired OAuth Token', refresh the access token
|
191 |
+
if ($result->response->Code == 121) {
|
192 |
+
// Refresh the token
|
193 |
+
Mage::helper('campaignmonitor')->refreshToken();
|
194 |
+
}
|
195 |
+
// Make the call again
|
196 |
+
$client->unsubscribe($email);
|
197 |
+
}
|
198 |
+
}
|
199 |
+
catch(Exception $e)
|
200 |
+
{
|
201 |
+
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
202 |
+
return;
|
203 |
+
}
|
204 |
+
}
|
205 |
+
}
|
206 |
+
|
207 |
+
/**
|
208 |
+
* Subscribe a customer who subscribed to Mage after a successfull registration
|
209 |
+
* @param $observer
|
210 |
+
*/
|
211 |
+
public function subscribeCustomer(Varien_Event_Observer $observer)
|
212 |
+
{
|
213 |
+
// Get the customer
|
214 |
+
$customer = $observer->getEvent()->getCustomer();
|
215 |
+
// Get its email
|
216 |
+
$email = $customer->getEmail();
|
217 |
+
$name = $customer->getFirstname() . " " . $customer->getLastname();
|
218 |
+
// Check if subscribed
|
219 |
+
$hasSubscribed = $customer->getIsSubscribed();
|
220 |
+
|
221 |
+
if (Mage::helper('campaignmonitor')->isOAuth())
|
222 |
+
{
|
223 |
+
$accessToken = Mage::getModel('campaignmonitor/auth')->getAccessToken();
|
224 |
+
$refreshToken = Mage::getModel('campaignmonitor/auth')->getRefreshToken();
|
225 |
+
|
226 |
+
$auth = array(
|
227 |
+
'access_token' => $accessToken,
|
228 |
+
'refresh_token' => $refreshToken
|
229 |
+
);
|
230 |
+
}
|
231 |
+
else
|
232 |
+
{
|
233 |
+
$auth = Mage::helper('campaignmonitor')->getApiKey();
|
234 |
+
}
|
235 |
+
|
236 |
+
$listID = Mage::helper('campaignmonitor')->getListId();
|
237 |
+
|
238 |
+
// Check if the customer has subscribed via OG magento checkbox
|
239 |
+
if ($hasSubscribed)
|
240 |
+
{
|
241 |
+
$customFields = Mage::helper('campaignmonitor')->generateCustomFields($customer);
|
242 |
+
|
243 |
+
// Using 'add and resubscribe' rather than just 'add', otherwise
|
244 |
+
// somebody who unsubscribes and resubscribes won't be put back
|
245 |
+
// on the active list
|
246 |
+
Mage::helper('campaignmonitor')->log("Subscribing new email address: $newEmail");
|
247 |
+
try
|
248 |
+
{
|
249 |
+
$client = new CS_REST_Subscribers($listID,$auth);
|
250 |
+
$result = $client->add(array(
|
251 |
+
"EmailAddress" => $email,
|
252 |
+
"Name" => $name,
|
253 |
+
"CustomFields" => $customFields,
|
254 |
+
"Resubscribe" => true));
|
255 |
+
|
256 |
+
if (!$result->was_successful()) {
|
257 |
+
// If you receive '121: Expired OAuth Token', refresh the access token
|
258 |
+
if ($result->response->Code == 121) {
|
259 |
+
// Refresh the token
|
260 |
+
Mage::helper('campaignmonitor')->refreshToken();
|
261 |
+
}
|
262 |
+
// Make the call again
|
263 |
+
$client->add(array(
|
264 |
+
"EmailAddress" => $email,
|
265 |
+
"Name" => $name,
|
266 |
+
"CustomFields" => $customFields,
|
267 |
+
"Resubscribe" => true));
|
268 |
+
}
|
269 |
+
}
|
270 |
+
catch(Exception $e)
|
271 |
+
{
|
272 |
Mage::helper('campaignmonitor')->log("Error in SOAP call: ".$e->getMessage());
|
273 |
return;
|
274 |
}
|
app/code/community/DigitalPianism/CampaignMonitor/etc/config.xml
CHANGED
@@ -1,23 +1,23 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
-
|
4 |
<modules>
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
<frontend>
|
11 |
<routers>
|
12 |
<!-- Declare frontend name -->
|
13 |
<campaignmonitor>
|
14 |
<use>standard</use>
|
15 |
<args>
|
16 |
-
|
17 |
-
|
18 |
</args>
|
19 |
-
|
20 |
-
|
21 |
<!-- Frontend layout file -->
|
22 |
<!--
|
23 |
<layout>
|
@@ -28,20 +28,20 @@
|
|
28 |
</updates>
|
29 |
</layout>
|
30 |
-->
|
31 |
-
|
32 |
-
|
33 |
<admin>
|
34 |
<routers>
|
35 |
<adminhtml>
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
</routers>
|
43 |
-
|
44 |
-
|
45 |
<global>
|
46 |
|
47 |
<blocks>
|
@@ -50,7 +50,7 @@
|
|
50 |
<class>DigitalPianism_CampaignMonitor_Block</class>
|
51 |
</campaignmonitor>
|
52 |
</blocks>
|
53 |
-
|
54 |
<!-- Rewrite the save action of the frontend newsletter management page -->
|
55 |
<rewrite>
|
56 |
<digitalpianism_campaignmonitor_new>
|
@@ -58,14 +58,14 @@
|
|
58 |
<to>/campaignmonitor/hook</to>
|
59 |
</digitalpianism_campaignmonitor_new>
|
60 |
</rewrite>
|
61 |
-
|
62 |
<helpers>
|
63 |
<!-- Declare module helpers -->
|
64 |
<campaignmonitor>
|
65 |
<class>DigitalPianism_CampaignMonitor_Helper</class>
|
66 |
</campaignmonitor>
|
67 |
</helpers>
|
68 |
-
|
69 |
<models>
|
70 |
<!-- Declare module models -->
|
71 |
<campaignmonitor>
|
@@ -73,13 +73,13 @@
|
|
73 |
</campaignmonitor>
|
74 |
<!-- Override original checkout onepage model -->
|
75 |
<checkout>
|
76 |
-
|
77 |
<!-- Mage_Checkout_Model_Type_Onepage -->
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
</models>
|
82 |
-
|
83 |
<!-- Observer events -->
|
84 |
<events>
|
85 |
<customer_save_before>
|
@@ -90,7 +90,7 @@
|
|
90 |
<method>check_subscription_status</method>
|
91 |
</digitalpianism_campaignmonitor_observer>
|
92 |
</observers>
|
93 |
-
</customer_save_before>
|
94 |
<customer_delete_before>
|
95 |
<observers>
|
96 |
<digitalpianism_campaignmonitor_observer_2>
|
@@ -100,6 +100,16 @@
|
|
100 |
</digitalpianism_campaignmonitor_observer_2>
|
101 |
</observers>
|
102 |
</customer_delete_before>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
<!-- TODO
|
104 |
<checkout_type_onepage_save_order_after>
|
105 |
<observers>
|
@@ -112,7 +122,7 @@
|
|
112 |
</checkout_type_onepage_save_order_after>
|
113 |
-->
|
114 |
</events>
|
115 |
-
|
116 |
</global>
|
117 |
-
|
118 |
</config>
|
1 |
<?xml version="1.0"?>
|
2 |
<config>
|
3 |
+
|
4 |
<modules>
|
5 |
+
<DigitalPianism_CampaignMonitor>
|
6 |
+
<version>0.8.0</version>
|
7 |
+
</DigitalPianism_CampaignMonitor>
|
8 |
+
</modules>
|
9 |
+
|
10 |
<frontend>
|
11 |
<routers>
|
12 |
<!-- Declare frontend name -->
|
13 |
<campaignmonitor>
|
14 |
<use>standard</use>
|
15 |
<args>
|
16 |
+
<module>DigitalPianism_CampaignMonitor</module>
|
17 |
+
<frontName>campaignmonitor</frontName>
|
18 |
</args>
|
19 |
+
</campaignmonitor>
|
20 |
+
</routers>
|
21 |
<!-- Frontend layout file -->
|
22 |
<!--
|
23 |
<layout>
|
28 |
</updates>
|
29 |
</layout>
|
30 |
-->
|
31 |
+
</frontend>
|
32 |
+
|
33 |
<admin>
|
34 |
<routers>
|
35 |
<adminhtml>
|
36 |
+
<args>
|
37 |
+
<modules>
|
38 |
+
<DigitalPianism_CampaignMonitor before="Mage_Adminhtml">DigitalPianism_CampaignMonitor_Adminhtml</DigitalPianism_CampaignMonitor>
|
39 |
+
</modules>
|
40 |
+
</args>
|
41 |
+
</adminhtml>
|
42 |
</routers>
|
43 |
+
</admin>
|
44 |
+
|
45 |
<global>
|
46 |
|
47 |
<blocks>
|
50 |
<class>DigitalPianism_CampaignMonitor_Block</class>
|
51 |
</campaignmonitor>
|
52 |
</blocks>
|
53 |
+
|
54 |
<!-- Rewrite the save action of the frontend newsletter management page -->
|
55 |
<rewrite>
|
56 |
<digitalpianism_campaignmonitor_new>
|
58 |
<to>/campaignmonitor/hook</to>
|
59 |
</digitalpianism_campaignmonitor_new>
|
60 |
</rewrite>
|
61 |
+
|
62 |
<helpers>
|
63 |
<!-- Declare module helpers -->
|
64 |
<campaignmonitor>
|
65 |
<class>DigitalPianism_CampaignMonitor_Helper</class>
|
66 |
</campaignmonitor>
|
67 |
</helpers>
|
68 |
+
|
69 |
<models>
|
70 |
<!-- Declare module models -->
|
71 |
<campaignmonitor>
|
73 |
</campaignmonitor>
|
74 |
<!-- Override original checkout onepage model -->
|
75 |
<checkout>
|
76 |
+
<rewrite>
|
77 |
<!-- Mage_Checkout_Model_Type_Onepage -->
|
78 |
+
<!--<type_onepage>DigitalPianism_CampaignMonitor_Model_Checkout_Type_Onepage</type_onepage>-->
|
79 |
+
</rewrite>
|
80 |
+
</checkout>
|
81 |
</models>
|
82 |
+
|
83 |
<!-- Observer events -->
|
84 |
<events>
|
85 |
<customer_save_before>
|
90 |
<method>check_subscription_status</method>
|
91 |
</digitalpianism_campaignmonitor_observer>
|
92 |
</observers>
|
93 |
+
</customer_save_before>
|
94 |
<customer_delete_before>
|
95 |
<observers>
|
96 |
<digitalpianism_campaignmonitor_observer_2>
|
100 |
</digitalpianism_campaignmonitor_observer_2>
|
101 |
</observers>
|
102 |
</customer_delete_before>
|
103 |
+
<!-- After a customer has successfully registered -->
|
104 |
+
<customer_register_success>
|
105 |
+
<observers>
|
106 |
+
<digitalpianism_campaignmonitor_observer_customer_register_success>
|
107 |
+
<type>singleton</type>
|
108 |
+
<class>campaignmonitor/customer_observer</class>
|
109 |
+
<method>subscribeCustomer</method>
|
110 |
+
</digitalpianism_campaignmonitor_observer_customer_register_success>
|
111 |
+
</observers>
|
112 |
+
</customer_register_success>
|
113 |
<!-- TODO
|
114 |
<checkout_type_onepage_save_order_after>
|
115 |
<observers>
|
122 |
</checkout_type_onepage_save_order_after>
|
123 |
-->
|
124 |
</events>
|
125 |
+
|
126 |
</global>
|
127 |
+
|
128 |
</config>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DigitalPianism_CampaignMonitor</name>
|
4 |
-
<version>0.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -12,11 +12,11 @@
|
|
12 |
<p>Campaign Monitor is built for designers who can create great looking emails for themselves and their clients, but need software to send each campaign, track the results and manage their subscribers." www.campaignmonitor.com</p>
|
13 |

|
14 |
<p>This extension integrates Magento with the Campaign Monitor mailing list manager. Users are added to a specified Campaign Monitor email list when they subscribe to the newsletter in Magento, and removed when they unsubscribe. Users are also marked as unsubscribed in Magento when they click an unsubscribe link in a Campaign Monitor email.</p></description>
|
15 |
-
<notes>- Add
|
16 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
17 |
-
<date>
|
18 |
-
<time>
|
19 |
-
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CampaignMonitor"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Auth.php" hash="03f5ad4c1afcc1949a77c82e4754d7eb"/><file name="Refreshtoken.php" hash="c3f7c8e3f26fa6342b5c2e4b8f6f4af2"/></dir></dir><dir name="Source"><file name="Authtype.php" hash="b8b4ba474b60f65d782b0103824366d8"/></dir></dir></dir></dir><file name="Linkedattributes.php" hash="d340c35fb2706d231dd5ffc5b7029f4c"/></dir><dir name="Helper"><file name="Data.php" hash="470de2a5ba28f6ae77436fe5f460b9b2"/></dir><dir name="Model"><file name="Auth.php" hash="dcd007ea3d972044fee5996735f1d046"/><dir name="Checkout"><file name="Observer.php" hash="861ede2ace71e1dbaea2becdf8cca605"/><dir name="Type"><file name="Onepage.php" hash="a41a043ff4e754394a5397c6e7fdcf31"/></dir></dir><dir name="Customer"><file name="Observer.php" hash="09ae364c8fc3f1f60cae2b55eb13a8ee"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Authtype.php" hash="81eb0bb400f23662bbf7f9ad8f4e44db"/></dir></dir></dir></dir><dir name="controllers"><file name="AdminhookController.php" hash="8d25dd0cfceaf877d8c4c704b011f768"/><dir name="Adminhtml"><file name="CampaignmonitorController.php" hash="7af7e2e02a2534e32ec6066232bb896e"/></dir><file name="AuthController.php" hash="e8ffda67b7ca1af83e059df4b0befb11"/><file name="HookController.php" hash="6e36cab256c0362029b581f98a457895"/><dir name="Newsletter"><file name="SubscriberController.php" hash="4f3e3bc385c871c9eb5546d845e186cf"/></dir><file name="UnsubscribeController.php" hash="1fee87e2057b8e1c09f87a2244833cdb"/></dir><dir name="etc"><file name="config.xml" hash="fa09b72a4e0ef6a7e59141d082f0e85a"/><file name="system.xml" hash="8689c38702e0321a0c071f7bce10ab6f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_CampaignMonitor.xml" hash="6044d29d2b2e7d0689315376e3c27acd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="campaignmonitor"><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="array_dropdown.phtml" hash="ac84db9b1e8b342337a478ecba62e0b1"/><file name="auth.phtml" hash="01fba29630cecfaf620e47600855d4d3"/><file name="refreshtoken.phtml" hash="43ca4172f513e00c217ec1e4f750054a"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="digitalpianism"><file name="campaignmonitor.xml" hash="d01714d890051c5d01c82ad9624fcba6"/></dir></dir><dir name="template"><dir name="digitalpianism"><dir name="campaignmonitor"><dir name="persistent"><dir name="checkout"><file name="billing.phtml" hash="64b8515cd7eab3136d64ec5a0f2328d2"/><dir name="onepage"><file name="checkoutnewsletter.phtml" hash="ae24dcbc1ee1bcc353533f5ea7c7d572"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="createsend"><file name="CONTRIBUTING.md" hash="cb78f59d308ff4bc2aefbfa778928b9e"/><file name="HISTORY.md" hash="91a2a0f7df7bbdc87c5b49bc05eaca98"/><file name="LICENSE" hash="e4306d4b6c77f2db816ec4aed73a13c7"/><file name="README.md" hash="90a7855700d85e14211baf5399810a3d"/><file name="RELEASE.md" hash="5efce8234607beab27bf466b23fc4535"/><dir name="class"><file name="base_classes.php" hash="292dc3e1568f96eb29e86cb3a7c8e951"/><file name="cacert.pem" hash="c29d362201b1bd232898d2b658811db2"/><file name="log.php" hash="11ff6a9006a6386c1cd8880cd3c0f41b"/><file name="serialisation.php" hash="88434ef3d6a03cca7688e643dcf4fd6e"/><file name="services_json.php" hash="c9e9ef0d35d7d34f9d216344da27915d"/><file name="transport.php" hash="2b07cb4bbfe38474cec925edf45960e0"/></dir><file name="composer.json" hash="eccad7521596b5fe0d81af51ab2f16a1"/><file name="composer.lock" hash="e64bca0a5accd8086e4e49bf41aa8629"/><file name="csrest_administrators.php" hash="72480342a46e8d82fd44096b4818f090"/><file name="csrest_campaigns.php" hash="38e2c429abaaa4609d30f28622e5fc3f"/><file name="csrest_clients.php" hash="df11ce1c1fd5fd43980db42cb83a6fa3"/><file name="csrest_general.php" hash="b41685f38618cc1440e564516c475654"/><file name="csrest_lists.php" hash="42904680a424977d7c6f3211cf0d7a9c"/><file name="csrest_people.php" hash="ff2a14af7e171a11d73bef3d4995f512"/><file name="csrest_segments.php" hash="98a8230fb95a105dd4e8716703b64223"/><file name="csrest_subscribers.php" hash="b5ad794e2cc2f65a278a8aa9de4af7d7"/><file name="csrest_templates.php" hash="4c94511a505a868eef2f8109ca3c35d6"/><dir name="samples"><dir name="authentication"><file name="auth_with_api_key.php" hash="5ec2a621094c4ff7c63d06b00014d583"/><file name="auth_with_oauth.php" hash="1881f307872d1fae22997a4693ced780"/><file name="exchange_token.php" hash="b29bce7a2cbf4d0538291c742abd352c"/><file name="get_authorize_url.php" hash="dc9ad491d320f0bf25e74d59f6d78879"/><file name="refresh_token.php" hash="9eaa613ebdf734a0da3bcb6afaa8a114"/></dir><dir name="campaign"><file name="create.php" hash="7cace5fb8fa64bf9843ff4138e65a488"/><file name="create_from_template.php" hash="2d59abd0476c5a4d4afa4594a913fb5e"/><file name="delete.php" hash="b9c0ce00735296c81dc2b376351e59b5"/><file name="get_bounces.php" hash="e63004b9535c74168d046bed13c10ee3"/><file name="get_clicks.php" hash="d4a75e82cc91c74a4605cb5719c801ba"/><file name="get_email_client_usage.php" hash="968801d380b057b4a253c6d55b20bf0f"/><file name="get_lists_and_segments.php" hash="8283e6d7e5ee12105a50ddceff1cefb2"/><file name="get_opens.php" hash="b6da2a4cd3af5278493168781fc80b28"/><file name="get_recipients.php" hash="560f808c2bb5b433ba523a067a751c39"/><file name="get_spam.php" hash="55cc045f93fb475bb12e10e24bed37a7"/><file name="get_summary.php" hash="db9f98a6cf207fc1b8a322d6f15d13fd"/><file name="get_unsubscribes.php" hash="897b7b407415346d6482076cd89a1bfa"/><file name="send.php" hash="85bb1f021d464b5dae1019da173a9c2d"/><file name="send_preview.php" hash="425ecb43ca6c974afdcadc1c0140fecb"/><file name="unschedule.php" hash="f4b51b9d91319fc0dcf640069bc8b81f"/></dir><dir name="client"><file name="create.php" hash="d4e34488e72a454d10ae3bc79e8a1852"/><file name="delete.php" hash="4dfa7fbc0641f4c97c9571c323e01e42"/><file name="get.php" hash="e30ff3ec917a1f019cf9319fd80203c7"/><file name="get_campaigns.php" hash="5139c4f763462390ab3648491bc3ce97"/><file name="get_drafts.php" hash="cd154a7dc5a3cbda99e14e4979de18f7"/><file name="get_lists.php" hash="f8b61e9a7e7244d8d94e283c785c81f1"/><file name="get_lists_for_email.php" hash="91679cf9ccb9815d19cee585e580cf90"/><file name="get_scheduled.php" hash="bd1fc7c7030264815f262a374ae4dfbc"/><file name="get_segments.php" hash="9ad7613198b151342d83e8bef874e2d0"/><file name="get_suppressionlist.php" hash="314962a3e85372f6bfa2ea4ae35074d8"/><file name="get_templates.php" hash="3146ea361fc5be0ae0f8a9821a5feb34"/><file name="set_basics.php" hash="98039b7af3faf84b626ee366ad0edeb0"/><file name="set_monthly_billing.php" hash="b67954e6085b6cda0c059a49b18e20a4"/><file name="set_payg_billing.php" hash="77755bd6960a5bc9f0276496a4cb791c"/><file name="suppress.php" hash="a17c0f81479e6fa64d49976078b9c9ac"/><file name="transfer_credits.php" hash="a9cfdca1becd95c6ebd975058c6055e4"/><file name="unsuppress.php" hash="b4f1494c81c9869c4961fdfa4733bf70"/></dir><file name="external_session_url.php" hash="5bf6e297a0f7e89c778e950d2531d3bf"/><file name="get_apikey.php" hash="cc283a022ac18ac67ef9ad280f9a23fb"/><file name="get_billing_details.php" hash="6073b23fa1e84b9779b2aa2e9d8fc2fe"/><file name="get_clients.php" hash="b20c2e5198a38b5e50fe91a1a3716339"/><file name="get_countries.php" hash="23af5ecd7d9b14743a99347593e987b0"/><file name="get_systemdate.php" hash="eb3485e8b83d1d38976cbd8570b95522"/><file name="get_timezones.php" hash="2855d1b98db96fe522e27c352a105935"/><dir name="list"><file name="activate_webhook.php" hash="17ec7bb74b2e2da3d638b9e483b6ae28"/><file name="create.php" hash="738e2a658dd5941d3bdfdab07c078a5f"/><file name="create_custom_field.php" hash="b1e7f089a9b00d21e73ec4fe758af6c0"/><file name="create_webhook.php" hash="e821de62b441ace11b46161a3ae5209a"/><file name="deactivate_webhook.php" hash="d153c136a4ee945261bad3ce66e9374c"/><file name="delete.php" hash="92572bf0078d55f8456c0c7e7aa2cb4e"/><file name="delete_custom_field.php" hash="086650a0ef740d29e208fd7e8182a10c"/><file name="delete_webhook.php" hash="7067aeac2c4b6880d69454795cbcfbad"/><file name="get.php" hash="4b8396705575c96fdeaf08ad2b5a1aef"/><file name="get_active_subscribers.php" hash="456f5381e8811d7171dd74fb9d9f67dd"/><file name="get_bounced_subscribers.php" hash="9d9aeb4456a6e59561ae6e89dc3ba83c"/><file name="get_custom_fields.php" hash="2c088f883c3d93305dc76d0f8ae13cf9"/><file name="get_deleted_subscribers.php" hash="ce2fc9006eaa6527c76bba3ede040213"/><file name="get_segments.php" hash="ecadf038ad1edd7327f47c00d99f511a"/><file name="get_stats.php" hash="56c9468e409969b86f89d3b34520602d"/><file name="get_unconfirmed_subscribers.php" hash="7395a08ef11b6cdf396471421e4ce40e"/><file name="get_unsubscribed_subscribers.php" hash="66bc8f6b6f3191034d56337cbfbc4648"/><file name="get_webhooks.php" hash="a3adc3e61c664eae88480a1e42c4ec8f"/><file name="list_webhook_receiver.php" hash="12ca45146c050f341423f80acbe688aa"/><file name="test_webhook.php" hash="ee5569efaa7ec24498560dcb842a50cb"/><file name="update.php" hash="1fd75af0a7975b3a38a73ea095d267fd"/><file name="update_custom_field.php" hash="8d05d379ea6bd3db8d4eec414177484b"/><file name="update_field_options.php" hash="97fb9d35b78e33a68cdc88be9d6b180f"/></dir><dir name="segment"><file name="add_rule.php" hash="4b87e194823680eeda392a2a12445f36"/><file name="clear_rules.php" hash="ad8c883b280dc7c73df638107ab9319f"/><file name="create.php" hash="332e6ee2e110069eb55984ca73fb1c26"/><file name="delete.php" hash="dcf277ebd4665264f37807bb69618e0c"/><file name="get.php" hash="22d1aebff3e321eca1243addf1563c55"/><file name="get_subscribers.php" hash="6b47b867dbabfc90a44e139b65208b59"/><file name="update.php" hash="201e2cff97af8521d50e001d0d9022a8"/></dir><dir name="subscriber"><file name="add.php" hash="6de8788edde8991bf097f9a1fbb8ec7d"/><file name="delete.php" hash="a0ff8d2d8096215237a45ab64931e201"/><file name="get.php" hash="12f56877fab870f5d1661b9f0afc4493"/><file name="get_history.php" hash="51f1fd6a57f3a4f903b8a240e2abb90f"/><file name="import.php" hash="9544edc3198ab802d9c7a4bb5471a3d7"/><file name="unsubscribe.php" hash="6b090b33817947869bae9d7ea74219a4"/><file name="update.php" hash="184bb3b1135ba651a32fc5b1f803fbe3"/></dir><dir name="template"><file name="create.php" hash="ecf7ffc21aa8250302247aea9ce2141b"/><file name="delete.php" hash="8a5826132b22df8f10d98247a652b12b"/><file name="get.php" hash="918041b6be0700135e7888bbe52b9ae6"/><file name="update.php" hash="7f8bfe822a19e41d2650820fef85a4b4"/></dir></dir><dir name="tests"><file name="all_tests.php" hash="3fafbd947aa885d9056ed62e832ca61b"/><dir name="class_tests"><file name="response_tests.php" hash="ae5b4f541ac5bcba7a9417544d2156a9"/><file name="transport_test.php" hash="3033343417f283136c43d0bab77ac355"/></dir><file name="csrest_administrators_test.php" hash="77830067da14a226bfdc86b445f68f30"/><file name="csrest_campaigns_test.php" hash="ce68576c81c314dbdeba2b229903d865"/><file name="csrest_clients_test.php" hash="d3023b37bc3ebf222171606a100532d5"/><file name="csrest_lists_test.php" hash="533753c96477cad7598382c94e9a8937"/><file name="csrest_people_test.php" hash="72269f3d21caaf5648684da44b0ad319"/><file name="csrest_segments_test.php" hash="8079d88822231e0dae44e8c4ea6774eb"/><file name="csrest_subscribers_test.php" hash="8b6ec2dade2d5b59d8f27f7e32df049f"/><file name="csrest_template_test.php" hash="3645fc50d5e43da11fa1a2b496b692c4"/><file name="csrest_test.php" hash="5aa568368876a311d02f6d6168b2787d"/><dir name="responses"><file name="active_subscribers.json" hash="414033ce6952d88c0edd3c7b04d4f14e"/><file name="add_subscriber.json" hash="236507977b97832343c87955243068ad"/><file name="apikey.json" hash="4ca4132cc99f80bfc3d4a029a77a7a6e"/><file name="bounced_subscribers.json" hash="78c52687485c30c0fb031eb82e472fb3"/><file name="campaign_bounces.json" hash="55471525555dacee6ca1eb9ed5826cea"/><file name="campaign_clicks.json" hash="57d3357f4a0d8b55042a80e6d984e1ea"/><file name="campaign_listsandsegments.json" hash="a0d21dda2042a25b1266036b5d945f0c"/><file name="campaign_opens.json" hash="50c3052eebc922dfd0293498b5374ef0"/><file name="campaign_recipients.json" hash="be59c57f1f497669260f5124c13d109e"/><file name="campaign_spam.json" hash="48fa85397d6d8da1a685a94c404d14a9"/><file name="campaign_summary.json" hash="248d074230990e424dedb26afac895eb"/><file name="campaign_unsubscribes.json" hash="87d6b967ec28f8b3cd7845acc3ba0a16"/><file name="campaigns.json" hash="3b160d6e1a5de3e6163f2fffa502e4cb"/><file name="client_details.json" hash="964787a45923035cdd7330d4af13dfd9"/><file name="clients.json" hash="b243ae5d2f1b0686a6f45bbc262b1ad5"/><file name="countries.json" hash="7baa975380541216a7829128d4d7fb5b"/><file name="create_campaign.json" hash="61079127bd26d95434347f30803a85b2"/><file name="create_client.json" hash="0b5ea68aeecf1f61c8a00fb5d2b89104"/><file name="create_custom_field.json" hash="49b9878fd944fa8ea2f283a3d0b6576b"/><file name="create_list.json" hash="33b7d284c287fa44edb649234bc2ac6b"/><file name="create_list_webhook.json" hash="8a1c9ea0268a3a58d8f8fdaa4f159519"/><file name="create_segment.json" hash="6183146c3898ae281ea640e40fb5b3b0"/><file name="create_template.json" hash="9b1fcc1ae0925bd552cb23e364d48cca"/><file name="custom_api_error.json" hash="6be6c0df48a411fc54a5abf1d8502690"/><file name="custom_fields.json" hash="fe40aa43df15068516cdc6b7d9e2148c"/><file name="deleted_subscribers.json" hash="176235e9b24405ed329cc40a9ac5d1cd"/><file name="drafts.json" hash="8b36d3bf66ebb683b6926fcef95ae106"/><file name="import_subscribers.json" hash="3c7c7d85d510224197dc597d3a6cf585"/><file name="import_subscribers_partial_success.json" hash="4e1ff5c7b33a77d709530a31f544a22d"/><file name="list_details.json" hash="09d06afb7cd013e74fe615ddfd5a6799"/><file name="list_stats.json" hash="b8cd04e30e5e30862f005208997655de"/><file name="list_webhooks.json" hash="93194d66734e07372cac1b5c9c04f2b5"/><file name="lists.json" hash="0b7f8013e3e93a105a7a7d8c156daf4d"/><file name="listsforemail.json" hash="c7eb2e23b02883e0a0f9a9b2ca9bc94a"/><file name="oauth_exchange_token.json" hash="066a7e8a3b3bc58f7b54803f5a16faaa"/><file name="scheduled.json" hash="d7c9df96fbfa5bafb1e1cfc0643123b7"/><file name="segment_details.json" hash="c5e9d05870477f429728463af092ebe5"/><file name="segment_subscribers.json" hash="cf5cec4bc4e7970315ea929a0bd29ecd"/><file name="segments.json" hash="d2d9265fd87ed661cd65c9c96b31a2f0"/><file name="subscriber_details.json" hash="1c5733a762560ed1dc27449edea3c27f"/><file name="subscriber_history.json" hash="93d3efaa0f0373156146e9f3060ca855"/><file name="suppressionlist.json" hash="13fff3aeddf64804cf8d9232b79ab45b"/><file name="systemdate.json" hash="5f2f368919effd4c7d36bc11d42d8198"/><file name="template_details.json" hash="81fa02e23c0a9c00c55730956a2868b0"/><file name="templates.json" hash="64aca93871da82620071a26c818da4ce"/><file name="timezones.json" hash="ff9bbd7171fe05f5bace2fc8087953d0"/><file name="unsubscribed_subscribers.json" hash="0f7cec268e4241426a5c7dcc33ba99eb"/></dir></dir><file name=".gitignore" hash="1416491a3a84679680a343e7adf1f20d"/><file name=".travis.yml" hash="3f3c6ec40583a10d8ec8dfa89a2010e8"/></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>DigitalPianism_CampaignMonitor</name>
|
4 |
+
<version>0.8.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
|
7 |
<channel>community</channel>
|
12 |
<p>Campaign Monitor is built for designers who can create great looking emails for themselves and their clients, but need software to send each campaign, track the results and manage their subscribers." www.campaignmonitor.com</p>
|
13 |

|
14 |
<p>This extension integrates Magento with the Campaign Monitor mailing list manager. Users are added to a specified Campaign Monitor email list when they subscribe to the newsletter in Magento, and removed when they unsubscribe. Users are also marked as unsubscribed in Magento when they click an unsubscribe link in a Campaign Monitor email.</p></description>
|
15 |
+
<notes>- Add subscription to Campaign Monitor via the account creation checkbox.</notes>
|
16 |
<authors><author><name>Digital Pianism</name><user>digitalpianism</user><email>contact@digital-pianism.com</email></author></authors>
|
17 |
+
<date>2016-02-05</date>
|
18 |
+
<time>08:50:38</time>
|
19 |
+
<contents><target name="magecommunity"><dir name="DigitalPianism"><dir name="CampaignMonitor"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Auth.php" hash="03f5ad4c1afcc1949a77c82e4754d7eb"/><file name="Refreshtoken.php" hash="c3f7c8e3f26fa6342b5c2e4b8f6f4af2"/></dir></dir><dir name="Source"><file name="Authtype.php" hash="b8b4ba474b60f65d782b0103824366d8"/></dir></dir></dir></dir><file name="Linkedattributes.php" hash="d340c35fb2706d231dd5ffc5b7029f4c"/></dir><dir name="Helper"><file name="Data.php" hash="470de2a5ba28f6ae77436fe5f460b9b2"/></dir><dir name="Model"><file name="Auth.php" hash="dcd007ea3d972044fee5996735f1d046"/><dir name="Checkout"><file name="Observer.php" hash="861ede2ace71e1dbaea2becdf8cca605"/><dir name="Type"><file name="Onepage.php" hash="a41a043ff4e754394a5397c6e7fdcf31"/></dir></dir><dir name="Customer"><file name="Observer.php" hash="d519984fb86c5d78114be8a4960446b9"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Authtype.php" hash="81eb0bb400f23662bbf7f9ad8f4e44db"/></dir></dir></dir></dir><dir name="controllers"><file name="AdminhookController.php" hash="8d25dd0cfceaf877d8c4c704b011f768"/><dir name="Adminhtml"><file name="CampaignmonitorController.php" hash="7af7e2e02a2534e32ec6066232bb896e"/></dir><file name="AuthController.php" hash="e8ffda67b7ca1af83e059df4b0befb11"/><file name="HookController.php" hash="6e36cab256c0362029b581f98a457895"/><dir name="Newsletter"><file name="SubscriberController.php" hash="4f3e3bc385c871c9eb5546d845e186cf"/></dir><file name="UnsubscribeController.php" hash="1fee87e2057b8e1c09f87a2244833cdb"/></dir><dir name="etc"><file name="config.xml" hash="bb9c05d6218be100d0157dc7ddf366dd"/><file name="system.xml" hash="8689c38702e0321a0c071f7bce10ab6f"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="DigitalPianism_CampaignMonitor.xml" hash="6044d29d2b2e7d0689315376e3c27acd"/></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="digitalpianism"><dir name="campaignmonitor"><dir name="system"><dir name="config"><dir name="form"><dir name="field"><file name="array_dropdown.phtml" hash="ac84db9b1e8b342337a478ecba62e0b1"/><file name="auth.phtml" hash="01fba29630cecfaf620e47600855d4d3"/><file name="refreshtoken.phtml" hash="43ca4172f513e00c217ec1e4f750054a"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><dir name="digitalpianism"><file name="campaignmonitor.xml" hash="d01714d890051c5d01c82ad9624fcba6"/></dir></dir><dir name="template"><dir name="digitalpianism"><dir name="campaignmonitor"><dir name="persistent"><dir name="checkout"><file name="billing.phtml" hash="64b8515cd7eab3136d64ec5a0f2328d2"/><dir name="onepage"><file name="checkoutnewsletter.phtml" hash="ae24dcbc1ee1bcc353533f5ea7c7d572"/></dir></dir></dir></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="lib"><dir name="createsend"><file name="CONTRIBUTING.md" hash="cb78f59d308ff4bc2aefbfa778928b9e"/><file name="HISTORY.md" hash="91a2a0f7df7bbdc87c5b49bc05eaca98"/><file name="LICENSE" hash="e4306d4b6c77f2db816ec4aed73a13c7"/><file name="README.md" hash="90a7855700d85e14211baf5399810a3d"/><file name="RELEASE.md" hash="5efce8234607beab27bf466b23fc4535"/><dir name="class"><file name="base_classes.php" hash="292dc3e1568f96eb29e86cb3a7c8e951"/><file name="cacert.pem" hash="c29d362201b1bd232898d2b658811db2"/><file name="log.php" hash="11ff6a9006a6386c1cd8880cd3c0f41b"/><file name="serialisation.php" hash="88434ef3d6a03cca7688e643dcf4fd6e"/><file name="services_json.php" hash="c9e9ef0d35d7d34f9d216344da27915d"/><file name="transport.php" hash="2b07cb4bbfe38474cec925edf45960e0"/></dir><file name="composer.json" hash="eccad7521596b5fe0d81af51ab2f16a1"/><file name="composer.lock" hash="e64bca0a5accd8086e4e49bf41aa8629"/><file name="csrest_administrators.php" hash="72480342a46e8d82fd44096b4818f090"/><file name="csrest_campaigns.php" hash="38e2c429abaaa4609d30f28622e5fc3f"/><file name="csrest_clients.php" hash="df11ce1c1fd5fd43980db42cb83a6fa3"/><file name="csrest_general.php" hash="b41685f38618cc1440e564516c475654"/><file name="csrest_lists.php" hash="42904680a424977d7c6f3211cf0d7a9c"/><file name="csrest_people.php" hash="ff2a14af7e171a11d73bef3d4995f512"/><file name="csrest_segments.php" hash="98a8230fb95a105dd4e8716703b64223"/><file name="csrest_subscribers.php" hash="b5ad794e2cc2f65a278a8aa9de4af7d7"/><file name="csrest_templates.php" hash="4c94511a505a868eef2f8109ca3c35d6"/><dir name="samples"><dir name="authentication"><file name="auth_with_api_key.php" hash="5ec2a621094c4ff7c63d06b00014d583"/><file name="auth_with_oauth.php" hash="1881f307872d1fae22997a4693ced780"/><file name="exchange_token.php" hash="b29bce7a2cbf4d0538291c742abd352c"/><file name="get_authorize_url.php" hash="dc9ad491d320f0bf25e74d59f6d78879"/><file name="refresh_token.php" hash="9eaa613ebdf734a0da3bcb6afaa8a114"/></dir><dir name="campaign"><file name="create.php" hash="7cace5fb8fa64bf9843ff4138e65a488"/><file name="create_from_template.php" hash="2d59abd0476c5a4d4afa4594a913fb5e"/><file name="delete.php" hash="b9c0ce00735296c81dc2b376351e59b5"/><file name="get_bounces.php" hash="e63004b9535c74168d046bed13c10ee3"/><file name="get_clicks.php" hash="d4a75e82cc91c74a4605cb5719c801ba"/><file name="get_email_client_usage.php" hash="968801d380b057b4a253c6d55b20bf0f"/><file name="get_lists_and_segments.php" hash="8283e6d7e5ee12105a50ddceff1cefb2"/><file name="get_opens.php" hash="b6da2a4cd3af5278493168781fc80b28"/><file name="get_recipients.php" hash="560f808c2bb5b433ba523a067a751c39"/><file name="get_spam.php" hash="55cc045f93fb475bb12e10e24bed37a7"/><file name="get_summary.php" hash="db9f98a6cf207fc1b8a322d6f15d13fd"/><file name="get_unsubscribes.php" hash="897b7b407415346d6482076cd89a1bfa"/><file name="send.php" hash="85bb1f021d464b5dae1019da173a9c2d"/><file name="send_preview.php" hash="425ecb43ca6c974afdcadc1c0140fecb"/><file name="unschedule.php" hash="f4b51b9d91319fc0dcf640069bc8b81f"/></dir><dir name="client"><file name="create.php" hash="d4e34488e72a454d10ae3bc79e8a1852"/><file name="delete.php" hash="4dfa7fbc0641f4c97c9571c323e01e42"/><file name="get.php" hash="e30ff3ec917a1f019cf9319fd80203c7"/><file name="get_campaigns.php" hash="5139c4f763462390ab3648491bc3ce97"/><file name="get_drafts.php" hash="cd154a7dc5a3cbda99e14e4979de18f7"/><file name="get_lists.php" hash="f8b61e9a7e7244d8d94e283c785c81f1"/><file name="get_lists_for_email.php" hash="91679cf9ccb9815d19cee585e580cf90"/><file name="get_scheduled.php" hash="bd1fc7c7030264815f262a374ae4dfbc"/><file name="get_segments.php" hash="9ad7613198b151342d83e8bef874e2d0"/><file name="get_suppressionlist.php" hash="314962a3e85372f6bfa2ea4ae35074d8"/><file name="get_templates.php" hash="3146ea361fc5be0ae0f8a9821a5feb34"/><file name="set_basics.php" hash="98039b7af3faf84b626ee366ad0edeb0"/><file name="set_monthly_billing.php" hash="b67954e6085b6cda0c059a49b18e20a4"/><file name="set_payg_billing.php" hash="77755bd6960a5bc9f0276496a4cb791c"/><file name="suppress.php" hash="a17c0f81479e6fa64d49976078b9c9ac"/><file name="transfer_credits.php" hash="a9cfdca1becd95c6ebd975058c6055e4"/><file name="unsuppress.php" hash="b4f1494c81c9869c4961fdfa4733bf70"/></dir><file name="external_session_url.php" hash="5bf6e297a0f7e89c778e950d2531d3bf"/><file name="get_apikey.php" hash="cc283a022ac18ac67ef9ad280f9a23fb"/><file name="get_billing_details.php" hash="6073b23fa1e84b9779b2aa2e9d8fc2fe"/><file name="get_clients.php" hash="b20c2e5198a38b5e50fe91a1a3716339"/><file name="get_countries.php" hash="23af5ecd7d9b14743a99347593e987b0"/><file name="get_systemdate.php" hash="eb3485e8b83d1d38976cbd8570b95522"/><file name="get_timezones.php" hash="2855d1b98db96fe522e27c352a105935"/><dir name="list"><file name="activate_webhook.php" hash="17ec7bb74b2e2da3d638b9e483b6ae28"/><file name="create.php" hash="738e2a658dd5941d3bdfdab07c078a5f"/><file name="create_custom_field.php" hash="b1e7f089a9b00d21e73ec4fe758af6c0"/><file name="create_webhook.php" hash="e821de62b441ace11b46161a3ae5209a"/><file name="deactivate_webhook.php" hash="d153c136a4ee945261bad3ce66e9374c"/><file name="delete.php" hash="92572bf0078d55f8456c0c7e7aa2cb4e"/><file name="delete_custom_field.php" hash="086650a0ef740d29e208fd7e8182a10c"/><file name="delete_webhook.php" hash="7067aeac2c4b6880d69454795cbcfbad"/><file name="get.php" hash="4b8396705575c96fdeaf08ad2b5a1aef"/><file name="get_active_subscribers.php" hash="456f5381e8811d7171dd74fb9d9f67dd"/><file name="get_bounced_subscribers.php" hash="9d9aeb4456a6e59561ae6e89dc3ba83c"/><file name="get_custom_fields.php" hash="2c088f883c3d93305dc76d0f8ae13cf9"/><file name="get_deleted_subscribers.php" hash="ce2fc9006eaa6527c76bba3ede040213"/><file name="get_segments.php" hash="ecadf038ad1edd7327f47c00d99f511a"/><file name="get_stats.php" hash="56c9468e409969b86f89d3b34520602d"/><file name="get_unconfirmed_subscribers.php" hash="7395a08ef11b6cdf396471421e4ce40e"/><file name="get_unsubscribed_subscribers.php" hash="66bc8f6b6f3191034d56337cbfbc4648"/><file name="get_webhooks.php" hash="a3adc3e61c664eae88480a1e42c4ec8f"/><file name="list_webhook_receiver.php" hash="12ca45146c050f341423f80acbe688aa"/><file name="test_webhook.php" hash="ee5569efaa7ec24498560dcb842a50cb"/><file name="update.php" hash="1fd75af0a7975b3a38a73ea095d267fd"/><file name="update_custom_field.php" hash="8d05d379ea6bd3db8d4eec414177484b"/><file name="update_field_options.php" hash="97fb9d35b78e33a68cdc88be9d6b180f"/></dir><dir name="segment"><file name="add_rule.php" hash="4b87e194823680eeda392a2a12445f36"/><file name="clear_rules.php" hash="ad8c883b280dc7c73df638107ab9319f"/><file name="create.php" hash="332e6ee2e110069eb55984ca73fb1c26"/><file name="delete.php" hash="dcf277ebd4665264f37807bb69618e0c"/><file name="get.php" hash="22d1aebff3e321eca1243addf1563c55"/><file name="get_subscribers.php" hash="6b47b867dbabfc90a44e139b65208b59"/><file name="update.php" hash="201e2cff97af8521d50e001d0d9022a8"/></dir><dir name="subscriber"><file name="add.php" hash="6de8788edde8991bf097f9a1fbb8ec7d"/><file name="delete.php" hash="a0ff8d2d8096215237a45ab64931e201"/><file name="get.php" hash="12f56877fab870f5d1661b9f0afc4493"/><file name="get_history.php" hash="51f1fd6a57f3a4f903b8a240e2abb90f"/><file name="import.php" hash="9544edc3198ab802d9c7a4bb5471a3d7"/><file name="unsubscribe.php" hash="6b090b33817947869bae9d7ea74219a4"/><file name="update.php" hash="184bb3b1135ba651a32fc5b1f803fbe3"/></dir><dir name="template"><file name="create.php" hash="ecf7ffc21aa8250302247aea9ce2141b"/><file name="delete.php" hash="8a5826132b22df8f10d98247a652b12b"/><file name="get.php" hash="918041b6be0700135e7888bbe52b9ae6"/><file name="update.php" hash="7f8bfe822a19e41d2650820fef85a4b4"/></dir></dir><dir name="tests"><file name="all_tests.php" hash="3fafbd947aa885d9056ed62e832ca61b"/><dir name="class_tests"><file name="response_tests.php" hash="ae5b4f541ac5bcba7a9417544d2156a9"/><file name="transport_test.php" hash="3033343417f283136c43d0bab77ac355"/></dir><file name="csrest_administrators_test.php" hash="77830067da14a226bfdc86b445f68f30"/><file name="csrest_campaigns_test.php" hash="ce68576c81c314dbdeba2b229903d865"/><file name="csrest_clients_test.php" hash="d3023b37bc3ebf222171606a100532d5"/><file name="csrest_lists_test.php" hash="533753c96477cad7598382c94e9a8937"/><file name="csrest_people_test.php" hash="72269f3d21caaf5648684da44b0ad319"/><file name="csrest_segments_test.php" hash="8079d88822231e0dae44e8c4ea6774eb"/><file name="csrest_subscribers_test.php" hash="8b6ec2dade2d5b59d8f27f7e32df049f"/><file name="csrest_template_test.php" hash="3645fc50d5e43da11fa1a2b496b692c4"/><file name="csrest_test.php" hash="5aa568368876a311d02f6d6168b2787d"/><dir name="responses"><file name="active_subscribers.json" hash="414033ce6952d88c0edd3c7b04d4f14e"/><file name="add_subscriber.json" hash="236507977b97832343c87955243068ad"/><file name="apikey.json" hash="4ca4132cc99f80bfc3d4a029a77a7a6e"/><file name="bounced_subscribers.json" hash="78c52687485c30c0fb031eb82e472fb3"/><file name="campaign_bounces.json" hash="55471525555dacee6ca1eb9ed5826cea"/><file name="campaign_clicks.json" hash="57d3357f4a0d8b55042a80e6d984e1ea"/><file name="campaign_listsandsegments.json" hash="a0d21dda2042a25b1266036b5d945f0c"/><file name="campaign_opens.json" hash="50c3052eebc922dfd0293498b5374ef0"/><file name="campaign_recipients.json" hash="be59c57f1f497669260f5124c13d109e"/><file name="campaign_spam.json" hash="48fa85397d6d8da1a685a94c404d14a9"/><file name="campaign_summary.json" hash="248d074230990e424dedb26afac895eb"/><file name="campaign_unsubscribes.json" hash="87d6b967ec28f8b3cd7845acc3ba0a16"/><file name="campaigns.json" hash="3b160d6e1a5de3e6163f2fffa502e4cb"/><file name="client_details.json" hash="964787a45923035cdd7330d4af13dfd9"/><file name="clients.json" hash="b243ae5d2f1b0686a6f45bbc262b1ad5"/><file name="countries.json" hash="7baa975380541216a7829128d4d7fb5b"/><file name="create_campaign.json" hash="61079127bd26d95434347f30803a85b2"/><file name="create_client.json" hash="0b5ea68aeecf1f61c8a00fb5d2b89104"/><file name="create_custom_field.json" hash="49b9878fd944fa8ea2f283a3d0b6576b"/><file name="create_list.json" hash="33b7d284c287fa44edb649234bc2ac6b"/><file name="create_list_webhook.json" hash="8a1c9ea0268a3a58d8f8fdaa4f159519"/><file name="create_segment.json" hash="6183146c3898ae281ea640e40fb5b3b0"/><file name="create_template.json" hash="9b1fcc1ae0925bd552cb23e364d48cca"/><file name="custom_api_error.json" hash="6be6c0df48a411fc54a5abf1d8502690"/><file name="custom_fields.json" hash="fe40aa43df15068516cdc6b7d9e2148c"/><file name="deleted_subscribers.json" hash="176235e9b24405ed329cc40a9ac5d1cd"/><file name="drafts.json" hash="8b36d3bf66ebb683b6926fcef95ae106"/><file name="import_subscribers.json" hash="3c7c7d85d510224197dc597d3a6cf585"/><file name="import_subscribers_partial_success.json" hash="4e1ff5c7b33a77d709530a31f544a22d"/><file name="list_details.json" hash="09d06afb7cd013e74fe615ddfd5a6799"/><file name="list_stats.json" hash="b8cd04e30e5e30862f005208997655de"/><file name="list_webhooks.json" hash="93194d66734e07372cac1b5c9c04f2b5"/><file name="lists.json" hash="0b7f8013e3e93a105a7a7d8c156daf4d"/><file name="listsforemail.json" hash="c7eb2e23b02883e0a0f9a9b2ca9bc94a"/><file name="oauth_exchange_token.json" hash="066a7e8a3b3bc58f7b54803f5a16faaa"/><file name="scheduled.json" hash="d7c9df96fbfa5bafb1e1cfc0643123b7"/><file name="segment_details.json" hash="c5e9d05870477f429728463af092ebe5"/><file name="segment_subscribers.json" hash="cf5cec4bc4e7970315ea929a0bd29ecd"/><file name="segments.json" hash="d2d9265fd87ed661cd65c9c96b31a2f0"/><file name="subscriber_details.json" hash="1c5733a762560ed1dc27449edea3c27f"/><file name="subscriber_history.json" hash="93d3efaa0f0373156146e9f3060ca855"/><file name="suppressionlist.json" hash="13fff3aeddf64804cf8d9232b79ab45b"/><file name="systemdate.json" hash="5f2f368919effd4c7d36bc11d42d8198"/><file name="template_details.json" hash="81fa02e23c0a9c00c55730956a2868b0"/><file name="templates.json" hash="64aca93871da82620071a26c818da4ce"/><file name="timezones.json" hash="ff9bbd7171fe05f5bace2fc8087953d0"/><file name="unsubscribed_subscribers.json" hash="0f7cec268e4241426a5c7dcc33ba99eb"/></dir></dir><file name=".gitignore" hash="1416491a3a84679680a343e7adf1f20d"/><file name=".travis.yml" hash="3f3c6ec40583a10d8ec8dfa89a2010e8"/></dir></dir></target></contents>
|
20 |
<compatible/>
|
21 |
<dependencies><required><php><min>4.1.0</min><max>6.0.0</max></php></required></dependencies>
|
22 |
</package>
|