Ambassador - Version 1.1.2

Version Notes

This version has been commercially tested and is available to the public.

Download this release

Release Info

Developer Jeffrey Epstein
Extension Ambassador
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/community/Ambassador/Event/Model/Observer.php CHANGED
@@ -44,7 +44,7 @@ class Ambassador_Event_Model_Observer extends Varien_Event_Observer
44
 
45
  $order = $observer->getEvent()->getInvoice()->getOrder();
46
 
47
- $revenue = $order->getSubtotal();
48
  $email = $order->getCustomerEmail();
49
  $first_name = $order->getCustomerFirstname();
50
  $last_name = $order->getCustomerLastname();
@@ -129,63 +129,6 @@ class Ambassador_Event_Model_Observer extends Varien_Event_Observer
129
  return $this;
130
  }
131
 
132
- /**
133
- * SSO
134
- *
135
- * @param Varien_Event_Observer $observer
136
- * @return Ambassador_Event
137
- */
138
- public function sso($observer)
139
- {
140
- if (!Mage::app()->getRequest()->getParam('getambassador_affiliate_program')) {
141
-
142
- $username = Mage::getModel('core/variable')->loadByCode('getambassador_username')->getValue('plain');
143
- $api_key = Mage::getModel('core/variable')->loadByCode('getambassador_api_key')->getValue('plain');
144
- $response_type = 'json';
145
- $mbsy_token = '';
146
- $mbsy_email = Mage::getSingleton('customer/session')->getCustomer()->getEmail(); // Set this to the value of your user's email
147
- $mbsy_signature = sha1($api_key.$mbsy_email);
148
-
149
- // Build and make company/token API call
150
- $url = $this->ambassador_url.'api/v2/'.$username.'/'.$api_key.'/'.$response_type.'/company/token';
151
- $curl_handle = curl_init();
152
- curl_setopt($curl_handle, CURLOPT_URL, $url);
153
- curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 10);
154
- curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, TRUE);
155
- curl_setopt($curl_handle, CURLOPT_FOLLOWLOCATION, TRUE);
156
- curl_setopt($curl_handle, CURLOPT_POST, FALSE);
157
- curl_setopt($curl_handle, CURLOPT_FAILONERROR, FALSE);
158
- curl_setopt($curl_handle, CURLOPT_SSL_VERIFYPEER, FALSE);
159
- curl_setopt($curl_handle, CURLOPT_SSL_VERIFYHOST, FALSE);
160
- $response = curl_exec($curl_handle);
161
- curl_close($curl_handle);
162
-
163
- // Decode json response to array, you'll need to change this if using XML
164
- $response = json_decode($response, TRUE);
165
-
166
- // Grab token from response
167
- $mbsy_token = $response['response']['data']['token'];
168
-
169
- $block = Mage::app()->getLayout()->createBlock(
170
- 'Mage_Core_Block_Template',
171
- 'ambassador_sso',
172
- array('template' => "ambassador/sso/sso.phtml")
173
- );
174
-
175
- $block->assign('mbsy_token', $mbsy_token);
176
- $block->assign('mbsy_first_name', Mage::getSingleton('customer/session')->getCustomer()->getFirstname());
177
- $block->assign('mbsy_last_name', Mage::getSingleton('customer/session')->getCustomer()->getLastname());
178
- $block->assign('mbsy_email', $mbsy_email);
179
- $block->assign('mbsy_signature', $mbsy_signature);
180
- $block->assign('portal_url', Mage::getModel('core/variable')->loadByCode('getambassador_portal_url')->getValue('plain'));
181
-
182
- Mage::app()->getLayout()->getBlock('content')->append($block);
183
-
184
- }
185
-
186
- return $this;
187
- }
188
-
189
  /**
190
  * SSO logout
191
  *
44
 
45
  $order = $observer->getEvent()->getInvoice()->getOrder();
46
 
47
+ $revenue = $order->getSubtotal()+$order->getDiscountAmount();
48
  $email = $order->getCustomerEmail();
49
  $first_name = $order->getCustomerFirstname();
50
  $last_name = $order->getCustomerLastname();
129
  return $this;
130
  }
131
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
132
  /**
133
  * SSO logout
134
  *
app/code/community/Ambassador/Event/controllers/CallbackController.php CHANGED
@@ -234,6 +234,34 @@ class Ambassador_Event_CallbackController extends Mage_Core_Controller_Front_Act
234
  echo json_encode($e->getMessage());
235
  }
236
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
  echo json_encode(true);
238
 
239
  } else {
234
  echo json_encode($e->getMessage());
235
  }
236
 
237
+ // save default auto_create
238
+ $variable->cleanModelCache();
239
+ $variable = Mage::getModel('core/variable')->loadByCode('getambassador_auto_create_ambassador');
240
+ $variableData = $variable->getData();
241
+
242
+ if (empty($variableData)) {
243
+
244
+ $variable->cleanModelCache();
245
+ $variable = Mage::getModel('core/variable');
246
+
247
+ $variable_data = array(
248
+ 'code' => 'getambassador_auto_create_ambassador',
249
+ 'name' => 'getambassador Automatically Create Ambassador',
250
+ 'plain_value' => '0',
251
+ 'html_value' => ''
252
+ );
253
+
254
+ $variable->setData($variable_data);
255
+ }
256
+
257
+ try {
258
+ $variable->save();
259
+
260
+ } catch (Exception $e) {
261
+
262
+ echo json_encode($e->getMessage());
263
+ }
264
+
265
  echo json_encode(true);
266
 
267
  } else {
app/code/community/Ambassador/Event/etc/config.xml CHANGED
@@ -1,80 +1,71 @@
1
  <?xml version="1.0"?>
2
  <config>
3
- <modules>
4
- <Ambassador_Event>
5
- <version>1.1.1</version>
6
- </Ambassador_Event>
7
- </modules>
8
- <frontend>
9
- <routers>
10
- <getambassador>
11
- <use>standard</use>
12
- <args>
13
- <module>Ambassador_Event</module>
14
- <frontName>getambassador</frontName>
15
- </args>
16
- </getambassador>
17
- </routers>
18
- <default>
19
- <router>getambassador</router>
20
- </default>
21
- <events>
22
- <checkout_onepage_controller_success_action>
23
- <observers>
24
- <Ambassador_Event_Model_Observer>
25
- <type>singleton</type>
26
- <class>Ambassador_Event_Model_Observer</class>
27
- <method>addInitialCodeSnippet</method>
28
- </Ambassador_Event_Model_Observer>
29
- </observers>
30
- </checkout_onepage_controller_success_action>
31
- <controller_action_layout_render_before_customer_account_index>
32
- <observers>
33
- <Ambassador_Event_Model_Observer>
34
- <type>singleton</type>
35
- <class>Ambassador_Event_Model_Observer</class>
36
- <method>sso</method>
37
- </Ambassador_Event_Model_Observer>
38
- </observers>
39
- </controller_action_layout_render_before_customer_account_index>
40
- <controller_action_layout_render_before_customer_account_logoutSuccess>
41
- <observers>
42
- <Ambassador_Event_Model_Observer>
43
- <type>singleton</type>
44
- <class>Ambassador_Event_Model_Observer</class>
45
- <method>ssoLogout</method>
46
- </Ambassador_Event_Model_Observer>
47
- </observers>
48
- </controller_action_layout_render_before_customer_account_logoutSuccess>
49
- <controller_action_layout_render_before>
50
- <observers>
51
- <Ambassador_Event_Model_Observer>
52
- <type>singleton</type>
53
- <class>Ambassador_Event_Model_Observer</class>
54
- <method>addLinkToPortal</method>
55
- </Ambassador_Event_Model_Observer>
56
- </observers>
57
- </controller_action_layout_render_before>
58
- </events>
59
- </frontend>
60
- <adminhtml>
61
- <events>
62
- <sales_order_invoice_pay>
63
- <observers>
64
- <Ambassador_Event_Model_Observer>
65
- <type>singleton</type>
66
- <class>Ambassador_Event_Model_Observer</class>
67
- <method>callEventRecord</method>
68
- </Ambassador_Event_Model_Observer>
69
- </observers>
70
- </sales_order_invoice_pay>
71
- </events>
72
- </adminhtml>
73
- <global>
74
- <models>
75
- <ambassador_event>
76
- <class>Ambassador_Event_Model</class>
77
- </ambassador_event>
78
- </models>
79
- </global>
80
  </config>
1
  <?xml version="1.0"?>
2
  <config>
3
+ <modules>
4
+ <Ambassador_Event>
5
+ <version>1.1.1</version>
6
+ </Ambassador_Event>
7
+ </modules>
8
+ <frontend>
9
+ <routers>
10
+ <getambassador>
11
+ <use>standard</use>
12
+ <args>
13
+ <module>Ambassador_Event</module>
14
+ <frontName>getambassador</frontName>
15
+ </args>
16
+ </getambassador>
17
+ </routers>
18
+ <default>
19
+ <router>getambassador</router>
20
+ </default>
21
+ <events>
22
+ <checkout_onepage_controller_success_action>
23
+ <observers>
24
+ <Ambassador_Event_Model_Observer>
25
+ <type>singleton</type>
26
+ <class>Ambassador_Event_Model_Observer</class>
27
+ <method>addInitialCodeSnippet</method>
28
+ </Ambassador_Event_Model_Observer>
29
+ </observers>
30
+ </checkout_onepage_controller_success_action>
31
+ <controller_action_layout_render_before_customer_account_logoutSuccess>
32
+ <observers>
33
+ <Ambassador_Event_Model_Observer>
34
+ <type>singleton</type>
35
+ <class>Ambassador_Event_Model_Observer</class>
36
+ <method>ssoLogout</method>
37
+ </Ambassador_Event_Model_Observer>
38
+ </observers>
39
+ </controller_action_layout_render_before_customer_account_logoutSuccess>
40
+ <controller_action_layout_render_before>
41
+ <observers>
42
+ <Ambassador_Event_Model_Observer>
43
+ <type>singleton</type>
44
+ <class>Ambassador_Event_Model_Observer</class>
45
+ <method>addLinkToPortal</method>
46
+ </Ambassador_Event_Model_Observer>
47
+ </observers>
48
+ </controller_action_layout_render_before>
49
+ </events>
50
+ </frontend>
51
+ <adminhtml>
52
+ <events>
53
+ <sales_order_invoice_pay>
54
+ <observers>
55
+ <Ambassador_Event_Model_Observer>
56
+ <type>singleton</type>
57
+ <class>Ambassador_Event_Model_Observer</class>
58
+ <method>callEventRecord</method>
59
+ </Ambassador_Event_Model_Observer>
60
+ </observers>
61
+ </sales_order_invoice_pay>
62
+ </events>
63
+ </adminhtml>
64
+ <global>
65
+ <models>
66
+ <ambassador_event>
67
+ <class>Ambassador_Event_Model</class>
68
+ </ambassador_event>
69
+ </models>
70
+ </global>
 
 
 
 
 
 
 
 
 
71
  </config>
app/design/frontend/default/default/template/ambassador/checkout/ecommerce.phtml CHANGED
@@ -5,47 +5,47 @@ $campaign = Mage::getModel('core/variable')->loadByCode('getambassador_active_ca
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
6
 
7
  if ($mode === 'dev') {
8
- $mbsy_url = 'http://mbsy.dev/';
9
  } else {
10
- $mbsy_url = 'https://mbsy.co/';
11
  }
12
 
13
  $checkout = Mage::getSingleton('checkout/session');
14
  $lastId = $checkout->getLastOrderId();
15
 
16
  if ($lastId) {
17
- $order = Mage::getModel('sales/order');
18
- $order->load($lastId);
19
  }
20
 
21
  if (!empty($order)) {
22
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
23
- $email = $order->getCustomerEmail();
24
- $first_name = $order->getBillingAddress()->getFirstname();
25
- $last_name = $order->getBillingAddress()->getLastname();
26
  } else {
27
- $email = '';
28
- $first_name = '';
29
- $last_name = '';
30
  }
31
 
32
  ?>
33
 
34
  <script type="text/javascript">
35
- var mbsy_campaign_uid='<?php echo $campaign ?>'; // Required
36
- var mbsy_email='<?php echo $email ?>'; // Required - replace with your new customer's email
37
- // Put additional optional variables here
38
- var mbsy_revenue='0'; // Required
39
- var mbsy_has_trial=1; // Required
40
- var mbsy_first_name='<?php echo $first_name ?>';
41
- var mbsy_last_name='<?php echo $last_name ?>';
42
- var addthis_config = {
43
- data_track_clickback: false
44
- }
45
- var addthis_share = {
46
- templates : {
47
- twitter : "{{title}} {{url}} (via @GetAmbassador)"
48
- }
49
- }
50
  </script>
51
  <script type="text/javascript" src="<?php echo $mbsy_url ?>v3/ecommerce/js/<?php echo $username ?>"></script>
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
6
 
7
  if ($mode === 'dev') {
8
+ $mbsy_url = 'http://mbsy.dev/';
9
  } else {
10
+ $mbsy_url = 'https://mbsy.co/';
11
  }
12
 
13
  $checkout = Mage::getSingleton('checkout/session');
14
  $lastId = $checkout->getLastOrderId();
15
 
16
  if ($lastId) {
17
+ $order = Mage::getModel('sales/order');
18
+ $order->load($lastId);
19
  }
20
 
21
  if (!empty($order)) {
22
+ $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
23
+ $email = $order->getCustomerEmail();
24
+ $first_name = $order->getBillingAddress()->getFirstname();
25
+ $last_name = $order->getBillingAddress()->getLastname();
26
  } else {
27
+ $email = '';
28
+ $first_name = '';
29
+ $last_name = '';
30
  }
31
 
32
  ?>
33
 
34
  <script type="text/javascript">
35
+ var mbsy_campaign_uid='<?php echo $campaign ?>'; // Required
36
+ var mbsy_email='<?php echo $email ?>'; // Required - replace with your new customer's email
37
+ // Put additional optional variables here
38
+ var mbsy_revenue='0'; // Required
39
+ var mbsy_has_trial=1; // Required
40
+ var mbsy_first_name='<?php echo $first_name ?>';
41
+ var mbsy_last_name='<?php echo $last_name ?>';
42
+ var addthis_config = {
43
+ data_track_clickback: false
44
+ }
45
+ var addthis_share = {
46
+ templates : {
47
+ twitter : "{{title}} {{url}} (via @GetAmbassador)"
48
+ }
49
+ }
50
  </script>
51
  <script type="text/javascript" src="<?php echo $mbsy_url ?>v3/ecommerce/js/<?php echo $username ?>"></script>
app/design/frontend/default/default/template/ambassador/checkout/img.phtml CHANGED
@@ -3,32 +3,41 @@
3
  $username = Mage::getModel('core/variable')->loadByCode('getambassador_username')->getValue('plain');
4
  $campaign = Mage::getModel('core/variable')->loadByCode('getambassador_active_campaign')->getValue('plain');
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
 
 
 
 
 
 
 
 
 
6
 
7
  if ($mode === 'dev') {
8
- $mbsy_url = 'http://mbsy.dev/';
9
  } else {
10
- $mbsy_url = 'https://mbsy.co/';
11
  }
12
 
13
  $checkout = Mage::getSingleton('checkout/session');
14
  $lastId = $checkout->getLastOrderId();
15
 
16
  if ($lastId) {
17
- $order = Mage::getModel('sales/order');
18
- $order->load($lastId);
19
  }
20
 
21
  if (!empty($order)) {
22
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
23
- $email = $order->getCustomerEmail();
24
- $first_name = $order->getBillingAddress()->getFirstname();
25
- $last_name = $order->getBillingAddress()->getLastname();
26
  } else {
27
- $email = '';
28
- $first_name = '';
29
- $last_name = '';
30
  }
31
 
32
  ?>
33
 
34
- <img src="<?php echo $mbsy_url ?>embed/v2/img/?mbsy_username=<?php echo $username ?>&mbsy_campaign_uid=<?php echo $campaign ?>&mbsy_email=<?php echo $email ?>&mbsy_first_name=<?php echo $first_name ?>&mbsy_last_name=<?php echo $last_name ?>&mbsy_revenue=0&mbsy_has_trial=1" style="border: none; display: none" alt="" />
3
  $username = Mage::getModel('core/variable')->loadByCode('getambassador_username')->getValue('plain');
4
  $campaign = Mage::getModel('core/variable')->loadByCode('getambassador_active_campaign')->getValue('plain');
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
6
+ $auto_create_amb = Mage::getModel('core/variable')->loadByCode('getambassador_auto_create_ambassador')->getValue('plain');
7
+
8
+ if (intval($auto_create_amb) == 1) {
9
+ $auto_create = '&mbsy_auto_create=1';
10
+ } elseif(intval($auto_create_amb) == 0) {
11
+ $auto_create = '&mbsy_auto_create=0';
12
+ } else {
13
+ $auto_create = '';
14
+ }
15
 
16
  if ($mode === 'dev') {
17
+ $mbsy_url = 'http://mbsy.dev/';
18
  } else {
19
+ $mbsy_url = 'https://mbsy.co/';
20
  }
21
 
22
  $checkout = Mage::getSingleton('checkout/session');
23
  $lastId = $checkout->getLastOrderId();
24
 
25
  if ($lastId) {
26
+ $order = Mage::getModel('sales/order');
27
+ $order->load($lastId);
28
  }
29
 
30
  if (!empty($order)) {
31
+ $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
32
+ $email = urlencode($order->getCustomerEmail());
33
+ $first_name = urlencode($order->getBillingAddress()->getFirstname());
34
+ $last_name = urlencode($order->getBillingAddress()->getLastname());
35
  } else {
36
+ $email = '';
37
+ $first_name = '';
38
+ $last_name = '';
39
  }
40
 
41
  ?>
42
 
43
+ <img src="<?php echo $mbsy_url ?>embed/v2/img/?mbsy_username=<?php echo $username ?>&mbsy_campaign_uid=<?php echo $campaign ?>&mbsy_email=<?php echo $email ?>&mbsy_first_name=<?php echo $first_name ?>&mbsy_last_name=<?php echo $last_name ?>&mbsy_revenue=0&mbsy_has_trial=1<?php echo $auto_create ?>" style="border: none; display: none" alt="" />
app/design/frontend/default/default/template/ambassador/sso/sso.phtml CHANGED
@@ -1 +0,0 @@
1
- <img src="<?php echo $portal_url ?>/sso/login/?token=<?php echo $mbsy_token; ?>&email=<?php echo urlencode($mbsy_email); ?>&signature=<?php echo $mbsy_signature; ?>&first_name=<?php echo urlencode($mbsy_first_name) ?>&last_name=<?php echo urlencode($mbsy_last_name) ?>" style="border: none; display: none" alt="" />
 
app/design/frontend/enterprise/default/template/ambassador/checkout/img.phtml CHANGED
@@ -3,32 +3,41 @@
3
  $username = Mage::getModel('core/variable')->loadByCode('getambassador_username')->getValue('plain');
4
  $campaign = Mage::getModel('core/variable')->loadByCode('getambassador_active_campaign')->getValue('plain');
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
 
 
 
 
 
 
 
 
 
6
 
7
  if ($mode === 'dev') {
8
- $mbsy_url = 'http://mbsy.dev/';
9
  } else {
10
- $mbsy_url = 'https://mbsy.co/';
11
  }
12
 
13
  $checkout = Mage::getSingleton('checkout/session');
14
  $lastId = $checkout->getLastOrderId();
15
 
16
  if ($lastId) {
17
- $order = Mage::getModel('sales/order');
18
- $order->load($lastId);
19
  }
20
 
21
  if (!empty($order)) {
22
- $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
23
- $email = $order->getCustomerEmail();
24
- $first_name = $order->getBillingAddress()->getFirstname();
25
- $last_name = $order->getBillingAddress()->getLastname();
26
  } else {
27
- $email = '';
28
- $first_name = '';
29
- $last_name = '';
30
  }
31
 
32
  ?>
33
 
34
- <img src="<?php echo $mbsy_url ?>embed/v2/img/?mbsy_username=<?php echo $username ?>&mbsy_campaign_uid=<?php echo $campaign ?>&mbsy_email=<?php echo $email ?>&mbsy_first_name=<?php echo $first_name ?>&mbsy_last_name=<?php echo $last_name ?>&mbsy_revenue=0&mbsy_has_trial=1" style="border: none; display: none" alt="" />
3
  $username = Mage::getModel('core/variable')->loadByCode('getambassador_username')->getValue('plain');
4
  $campaign = Mage::getModel('core/variable')->loadByCode('getambassador_active_campaign')->getValue('plain');
5
  $mode = Mage::getModel('core/variable')->loadByCode('getambassador_mode')->getValue('plain');
6
+ $auto_create_amb = Mage::getModel('core/variable')->loadByCode('getambassador_auto_create_ambassador')->getValue('plain');
7
+
8
+ if (intval($auto_create_amb) == 1) {
9
+ $auto_create = '&mbsy_auto_create=1';
10
+ } elseif(intval($auto_create_amb) == 0) {
11
+ $auto_create = '&mbsy_auto_create=0';
12
+ } else {
13
+ $auto_create = '';
14
+ }
15
 
16
  if ($mode === 'dev') {
17
+ $mbsy_url = 'http://mbsy.dev/';
18
  } else {
19
+ $mbsy_url = 'https://mbsy.co/';
20
  }
21
 
22
  $checkout = Mage::getSingleton('checkout/session');
23
  $lastId = $checkout->getLastOrderId();
24
 
25
  if ($lastId) {
26
+ $order = Mage::getModel('sales/order');
27
+ $order->load($lastId);
28
  }
29
 
30
  if (!empty($order)) {
31
+ $customer = Mage::getModel('customer/customer')->load($order->getCustomerId());
32
+ $email = urlencode($order->getCustomerEmail());
33
+ $first_name = urlencode($order->getBillingAddress()->getFirstname());
34
+ $last_name = urlencode($order->getBillingAddress()->getLastname());
35
  } else {
36
+ $email = '';
37
+ $first_name = '';
38
+ $last_name = '';
39
  }
40
 
41
  ?>
42
 
43
+ <img src="<?php echo $mbsy_url ?>embed/v2/img/?mbsy_username=<?php echo $username ?>&mbsy_campaign_uid=<?php echo $campaign ?>&mbsy_email=<?php echo $email ?>&mbsy_first_name=<?php echo $first_name ?>&mbsy_last_name=<?php echo $last_name ?>&mbsy_revenue=0&mbsy_has_trial=1<?php echo $auto_create ?>" style="border: none; display: none" alt="" />
app/design/frontend/enterprise/default/template/ambassador/sso/sso.phtml CHANGED
@@ -1 +0,0 @@
1
- <img src="<?php echo $portal_url ?>/sso/login/?token=<?php echo $mbsy_token; ?>&email=<?php echo urlencode($mbsy_email); ?>&signature=<?php echo $mbsy_signature; ?>&first_name=<?php echo urlencode($mbsy_first_name) ?>&last_name=<?php echo urlencode($mbsy_last_name) ?>" style="border: none; display: none" alt="" />
 
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ambassador</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license uri="https://getambassador.com/terms">Zferral, Inc, magento@getAmbassador.com</license>
7
  <channel>community</channel>
@@ -16,9 +16,9 @@ Integrate Ambassador into the other existing applications you already use, inclu
16
  Get started on Ambassador with a free trial, simply follow the instructions on how to get up and running in just minutes.</description>
17
  <notes>This version has been commercially tested and is available to the public.</notes>
18
  <authors><author><name>Jeffrey Epstein</name><user>getAmbassador</user><email>magento@getambassador.com</email></author><author><name>Greg Szymczak</name><user>gpszymczak</user><email>gpszymczak@gmail.com</email></author></authors>
19
- <date>2013-10-30</date>
20
- <time>12:17:25</time>
21
- <contents><target name="magecommunity"><dir name="Ambassador"><dir name="Affiliate"><dir name="Model"><file name="Observer.php" hash="b8bb353e129bf09f5eeb6cc9d21a107c"/></dir><dir name="controllers"><file name="AffiliateController.php" hash="675abd910b45ea4320cd30455c36a200"/></dir><dir name="etc"><file name="config.xml" hash="98de110422ad3fe68c234eebba9c401a"/></dir></dir><dir name="Event"><dir name="Model"><file name="Observer.php" hash="3f647f345040e4396bbfc17902ac66b8"/></dir><dir name="controllers"><file name="CallbackController.php" hash="476d887d7f68f7ef5c80b2ca63e49be5"/></dir><dir name="etc"><file name="config.xml" hash="a537a9ed902af080aac135e471c19858"/></dir></dir><dir name="Payout"><dir name="controllers"><file name="PayoutController.php" hash="487bb4245152f0f0d584005a3e92d464"/></dir><dir name="etc"><file name="config.xml" hash="23dbf12c8a05edce63499f19087367a1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="d2df6adb0de83dcd23fab6e75630e173"/><file name="img.phtml" hash="1d43bc5960d7d7b391d0b0d159c06bc4"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="4594166a7bd4657dc163b753fe639c21"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="d2df6adb0de83dcd23fab6e75630e173"/><file name="img.phtml" hash="1d43bc5960d7d7b391d0b0d159c06bc4"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="4594166a7bd4657dc163b753fe639c21"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ambassador_Event.xml" hash="531c19fe928c2fd3b008cf00bc865246"/><file name="Ambassador_Affiliate.xml" hash="806b368fde635b60f5dabad5cfa9e1d8"/><file name="Ambassador_Payout.xml" hash="24f665e03b13562e03b871957e959ae2"/></dir></target></contents>
22
  <compatible/>
23
- <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><package><name>Mage_Core_Controller_Front_Action</name><channel>core</channel><min></min><max></max></package><package><name>Varien_Event_Observer</name><channel>core</channel><min></min><max></max></package><extension><name>curl</name><min></min><max></max></extension><extension><name>json</name><min></min><max></max></extension></required></dependencies>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Ambassador</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license uri="https://getambassador.com/terms">Zferral, Inc, magento@getAmbassador.com</license>
7
  <channel>community</channel>
16
  Get started on Ambassador with a free trial, simply follow the instructions on how to get up and running in just minutes.</description>
17
  <notes>This version has been commercially tested and is available to the public.</notes>
18
  <authors><author><name>Jeffrey Epstein</name><user>getAmbassador</user><email>magento@getambassador.com</email></author><author><name>Greg Szymczak</name><user>gpszymczak</user><email>gpszymczak@gmail.com</email></author></authors>
19
+ <date>2013-11-07</date>
20
+ <time>10:51:03</time>
21
+ <contents><target name="magecommunity"><dir name="Ambassador"><dir name="Affiliate"><dir name="Model"><file name="Observer.php" hash="b8bb353e129bf09f5eeb6cc9d21a107c"/></dir><dir name="controllers"><file name="AffiliateController.php" hash="675abd910b45ea4320cd30455c36a200"/></dir><dir name="etc"><file name="config.xml" hash="98de110422ad3fe68c234eebba9c401a"/></dir></dir><dir name="Event"><dir name="Model"><file name="Observer.php" hash="735c9d2e1ffc856596be1d6c21d75598"/></dir><dir name="controllers"><file name="CallbackController.php" hash="126bcc64eb05b1e980957b5fb686d00f"/></dir><dir name="etc"><file name="config.xml" hash="551cc7ffc0e5bf272ecd015ba7a0abfe"/></dir></dir><dir name="Payout"><dir name="controllers"><file name="PayoutController.php" hash="487bb4245152f0f0d584005a3e92d464"/></dir><dir name="etc"><file name="config.xml" hash="23dbf12c8a05edce63499f19087367a1"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="bfea55e933df90526e6f60b865342037"/><file name="img.phtml" hash="8f24e1d5077fe41ea77b51fdba38a9f8"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir><dir name="enterprise"><dir name="default"><dir name="template"><dir name="ambassador"><dir name="checkout"><file name="ecommerce.phtml" hash="d2df6adb0de83dcd23fab6e75630e173"/><file name="img.phtml" hash="8f24e1d5077fe41ea77b51fdba38a9f8"/></dir><dir name="sso"><file name="affiliate_program.phtml" hash="983bfe455fa6bfb67f78966e9a5d607a"/><file name="sso.phtml" hash="d41d8cd98f00b204e9800998ecf8427e"/><file name="sso_logout.phtml" hash="0721023e06005ca9d102a3218ca0d32f"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ambassador_Event.xml" hash="531c19fe928c2fd3b008cf00bc865246"/><file name="Ambassador_Affiliate.xml" hash="806b368fde635b60f5dabad5cfa9e1d8"/><file name="Ambassador_Payout.xml" hash="24f665e03b13562e03b871957e959ae2"/></dir></target></contents>
22
  <compatible/>
23
+ <dependencies><required><php><min>5.0.0</min><max>6.0.0</max></php><package><name>Mage_Core_Controller_Front_Action</name><channel>community</channel><min></min><max></max></package><package><name>Varien_Event_Observer</name><channel>community</channel><min></min><max></max></package><extension><name>curl</name><min></min><max></max></extension><extension><name>json</name><min></min><max></max></extension></required></dependencies>
24
  </package>