Imsc_Refersion - Version 0.1.4

Version Notes

- Added option to include your custom subdomain.
- Layout bug fixes.

Download this release

Release Info

Developer Refersion
Extension Imsc_Refersion
Version 0.1.4
Comparing to
See all releases


Code changes from version 0.1.3 to 0.1.4

app/code/community/Imsc/Refersion/Block/Successpixel.php ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/gpl-license
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@refersion.com so we can send you a copy immediately.
14
+ *
15
+ * @category IMSC
16
+ * @package Imsc_Refersion
17
+ * @copyright Copyright (c) 2015 Refersion, Inc.
18
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
19
+ */
20
+
21
+ /**
22
+ * Refersion success pixel block
23
+ *
24
+ * @category IMSC
25
+ * @package Imsc_Refersion
26
+ * @author Refersion Developer <info@refersion.com>
27
+ */
28
+ class Imsc_Refersion_Block_Successpixel extends Mage_Checkout_Block_Success
29
+ {
30
+ /**
31
+ * Check if refersion tracking is enable
32
+ *
33
+ * @return string
34
+ */
35
+ public function isEnabled()
36
+ {
37
+ return Mage::getStoreConfig('refersion/refersion_settings/refersion_active');
38
+ }//end function isEnabled
39
+
40
+ /**
41
+ * Return refersion traking url with api and unique code
42
+ *
43
+ * @return string
44
+ */
45
+ public function getSuccessPixel ()
46
+ {
47
+ // Get API key from config
48
+ $api_key = Mage::getStoreConfig('refersion/refersion_settings/refersion_api_key');
49
+
50
+ // Get subdomain, if any
51
+ $subdomain = Mage::getStoreConfig('refersion/refersion_settings/refersion_subdomain');
52
+
53
+ // If the subdomain is empty, we default to www
54
+ if( empty( $subdomain ) )
55
+ {
56
+ $subdomain = 'www';
57
+ }
58
+
59
+ // Get random string
60
+ $ci = $this->_getUniqueCode();
61
+
62
+ // Build URL for pixel
63
+ $refersion_url = 'https://'.$subdomain.'.refersion.com/tracker/magento?k='.$api_key.'&ci='.$ci;
64
+
65
+ return $refersion_url;
66
+ }//end funcion getSuccessPixel
67
+
68
+ /**
69
+ * Return unique code
70
+ *
71
+ * @return string
72
+ */
73
+ private function _getUniqueCode()
74
+ {
75
+ return Mage::getSingleton("core/session")->getEncryptedSessionId();;
76
+ }//end function _getUniqueCode
77
+ }
app/code/community/Imsc/Refersion/Helper/Data.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/gpl-license
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@refersion.com so we can send you a copy immediately.
14
+ *
15
+ * @category IMSC
16
+ * @package Imsc_Refersion
17
+ * @copyright Copyright (c) 2015 Refersion, Inc.
18
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
19
+ */
20
+
21
+ /**
22
+ * Refersion default helper
23
+ *
24
+ * @category IMSC
25
+ * @package Imsc_Refersion
26
+ * @author Refersion Developer <info@refersion.com>
27
+ */
28
+ class Imsc_Refersion_Helper_Data extends Mage_Core_Helper_Abstract
29
+ {
30
+ }
app/code/community/Imsc/Refersion/Model/Observer.php ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/gpl-license GNU General Public License
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@refersion.com so we can send you a copy immediately.
14
+ *
15
+ * @category IMSC
16
+ * @package Imsc_Refersion
17
+ * @copyright Copyright (c) 2015 Refersion, Inc.
18
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
19
+ */
20
+
21
+ /**
22
+ * Refersion Observer
23
+ *
24
+ * @category IMSC
25
+ * @package Imsc_Refersion
26
+ * @author Refersion Developer <info@refersion.com>
27
+ */
28
+
29
+ class Imsc_Refersion_Model_Observer
30
+ {
31
+
32
+ /**
33
+ * Observer function listening event sales_order_payment_pay
34
+ *
35
+ *
36
+ * @param Varien_Event_Observer $observer
37
+ */
38
+ public function onOrderPlacedAfter(Varien_Event_Observer $observer)
39
+ {
40
+
41
+ //Configuration setting to check if tracking is enabled
42
+ $is_active = Mage::getStoreConfig('refersion/refersion_settings/refersion_active');
43
+
44
+ if($is_active) {
45
+
46
+ //Api key from configuration
47
+ $api_key = Mage::getStoreConfig('refersion/refersion_settings/refersion_api_key');
48
+
49
+ //Secret key from configuration
50
+ $secret_key = Mage::getStoreConfig('refersion/refersion_settings/refersion_secret_key');
51
+
52
+ if($api_key != "") {
53
+
54
+ //array to hold order value to be converted in json
55
+ $order_json = array();
56
+
57
+ //populating values to repective indexes
58
+ $order_json['refersion_public_key'] = $api_key;
59
+ $order_json['refersion_secret_key'] = $secret_key;
60
+
61
+ //Get order object for payment
62
+ $order = $observer->getEvent()->getOrder();
63
+
64
+ //Creating unique code
65
+ $ci = substr(md5($order->getIncrementId()), 5, 6);
66
+
67
+ $order_json['order_id'] = $order->getIncrementId();
68
+ $order_json['unique_id'] = $ci;
69
+
70
+ $orderGrandTotal = $order->getGrandTotal();
71
+ $order_json['shipping'] = $order->getShippingAmount();
72
+
73
+ //Tax info
74
+ $tax_info = $order->getFullTaxInfo();
75
+ $order_json['tax'] = 0;
76
+ if(!empty($tax_info)) {
77
+ foreach ($tax_info as $info) $order_json['tax'] = $order_json['tax']+$info['amount'];
78
+ }
79
+
80
+ $order_json['discount'] = abs($order->getDiscountAmount());
81
+ $order_json['discount_code'] = $order->getCouponCode();
82
+
83
+ //Get all the items for the order to fecth individual details
84
+ $items = $order->getAllItems();
85
+ $itemcount=count($items);
86
+
87
+ foreach ($items as $itemId => $item) {
88
+ $order_json['products'][$item->getProductId()]['sku'] = $item->getSku();
89
+ $order_json['products'][$item->getProductId()]['quantity'] = $item->getQtyOrdered();
90
+ $order_json['products'][$item->getProductId()]['price'] = $item->getPrice();
91
+ }
92
+
93
+ $order_json['currency_code'] = $order->getBaseCurrency()->getCurrencyCode();
94
+
95
+ //Customer details
96
+ $order_json['customer']['first_name'] = $order->getBillingAddress()->getFirstname();
97
+ $order_json['customer']['last_name'] = $order->getBillingAddress()->getLastname();
98
+ $order_json['customer']['email'] = $order->getBillingAddress()->getEmail();
99
+ $order_json['customer']['ip_address'] = $order->getRemoteIp();
100
+
101
+ //Sending value via curl to refersion
102
+ $resp = $this->curl_refersion_post($order_json);
103
+
104
+ }
105
+ }
106
+
107
+ }//end function onOrderPlacedAfter
108
+
109
+ /**
110
+ * Send curl request
111
+ *
112
+ *
113
+ * @param array $data_array
114
+ */
115
+ function curl_refersion_post($data_array) {
116
+
117
+ // URL to post to
118
+ $url = 'https://www.refersion.com/tracker/magento/conversion';
119
+
120
+ // Start cURL
121
+ $curl = curl_init();
122
+
123
+ // Headers
124
+ $headers = array();
125
+ $headers[] = 'Content-type: application/json';
126
+
127
+ // Run cURL
128
+ $options = array(
129
+ CURLOPT_URL => $url,
130
+ CURLOPT_RETURNTRANSFER => TRUE,
131
+ CURLOPT_HTTPHEADER => array($headers),
132
+ CURLOPT_POSTFIELDS => json_encode($data_array),
133
+ CURLOPT_TIMEOUT => 60,
134
+ CURLOPT_RETURNTRANSFER => TRUE,
135
+ CURLOPT_HEADER => FALSE,
136
+ CURLOPT_FOLLOWLOCATION => TRUE,
137
+ CURLOPT_MAXREDIRS => 3,
138
+ CURLOPT_USERAGENT => 'Refersion Reporter'
139
+ );
140
+ curl_setopt_array($curl,$options);
141
+
142
+ // Get response
143
+ $response = curl_exec($curl);
144
+
145
+ // Get HTTP status code
146
+ $status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
147
+
148
+ // Close cURL
149
+ curl_close($curl);
150
+
151
+ // Return response from Refersion
152
+ return $response;
153
+
154
+ }//end function curl_refersion_post
155
+
156
+ }
app/code/community/Imsc/Refersion/etc/adminhtml.xml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/gpl-license
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@refersion.com so we can send you a copy immediately.
15
+ *
16
+ * @category IMSC
17
+ * @package IMSC_Refersion
18
+ * @copyright Copyright (c) 2015 Refersion, Inc.
19
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
20
+ */
21
+ -->
22
+ <config>
23
+ <acl>
24
+ <resources>
25
+ <admin>
26
+ <children>
27
+ <system>
28
+ <children>
29
+ <config>
30
+ <children>
31
+ <refersion translate="title" module="refersion">
32
+ <title>Refersion Settings Section</title>
33
+ <sort_order>1</sort_order>
34
+ </refersion>
35
+ </children>
36
+ </config>
37
+ </children>
38
+ </system>
39
+ </children>
40
+ </admin>
41
+ </resources>
42
+ </acl>
43
+ </config>
app/code/community/Imsc/Refersion/etc/config.xml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/gpl-license
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@refersion.com so we can send you a copy immediately.
15
+ *
16
+ * @category IMSC
17
+ * @package IMSC_Refersion
18
+ * @copyright Copyright (c) 2015 Refersion, Inc.
19
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <Imsc_Refersion>
25
+ <version>0.1.4</version>
26
+ </Imsc_Refersion>
27
+ </modules>
28
+ <global>
29
+ <helpers>
30
+ <refersion>
31
+ <class>Imsc_Refersion_Helper</class>
32
+ </refersion>
33
+ </helpers>
34
+ <models>
35
+ <refersion>
36
+ <class>Imsc_Refersion_Model</class>
37
+ </refersion>
38
+ </models>
39
+ <blocks>
40
+ <refersion>
41
+ <class>Imsc_Refersion_Block</class>
42
+ </refersion>
43
+ </blocks>
44
+ <events>
45
+ <sales_order_place_after>
46
+ <observers>
47
+ <refersion>
48
+ <type>singleton</type>
49
+ <class>refersion/observer</class>
50
+ <method>onOrderPlacedAfter</method>
51
+ </refersion>
52
+ </observers>
53
+ </sales_order_place_after>
54
+ </events>
55
+ </global>
56
+ <frontend>
57
+ <routers>
58
+ <refersion>
59
+ <use>standard</use>
60
+ <args>
61
+ <module>Imsc_Refersion</module>
62
+ <frontName>refersion</frontName>
63
+ </args>
64
+ </refersion>
65
+ </routers>
66
+ <layout>
67
+ <updates>
68
+ <refersion>
69
+ <file>refersion.xml</file>
70
+ </refersion>
71
+ </updates>
72
+ </layout>
73
+ </frontend>
74
+ </config>
app/code/community/Imsc/Refersion/etc/system.xml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/gpl-license
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@refersion.com so we can send you a copy immediately.
15
+ *
16
+ * @category IMSC
17
+ * @package IMSC_Refersion
18
+ * @copyright Copyright (c) 2015 Refersion, Inc.
19
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
20
+ */
21
+ -->
22
+ <config>
23
+ <tabs>
24
+ <imsc_refersion translate="label" module="refersion">
25
+ <label><![CDATA[<div style="position: absolute;"><img id="refersion_block" src="" alt="" border="0" /></div>&nbsp;<script>document.getElementById('refersion_block').src = SKIN_URL + "refersion/refersion.png";</script>]]></label>
26
+ <sort_order>301</sort_order>
27
+ </imsc_refersion>
28
+ </tabs>
29
+ <sections>
30
+ <refersion translate="label" module="refersion">
31
+ <label>Settings</label>
32
+ <tab>imsc_refersion</tab>
33
+ <frontend_type>text</frontend_type>
34
+ <sort_order>1</sort_order>
35
+ <show_in_default>1</show_in_default>
36
+ <show_in_website>1</show_in_website>
37
+ <show_in_store>1</show_in_store>
38
+ <groups>
39
+ <refersion_settings translate="label">
40
+ <label>Settings</label>
41
+ <frontend_type>text</frontend_type>
42
+ <sort_order>1</sort_order>
43
+ <show_in_default>1</show_in_default>
44
+ <show_in_website>1</show_in_website>
45
+ <show_in_store>1</show_in_store>
46
+ <fields>
47
+ <refersion_api_key translate="label">
48
+ <label>Public API Key</label>
49
+ <frontend_type>text</frontend_type>
50
+ <sort_order>1</sort_order>
51
+ <show_in_default>1</show_in_default>
52
+ <show_in_website>1</show_in_website>
53
+ <show_in_store>1</show_in_store>
54
+ <comment><![CDATA[<a href="http://refersion.uservoice.com/knowledgebase/articles/337317" target="_blank">Enter the Api key provided by Refersion</a>]]></comment>
55
+ </refersion_api_key>
56
+ <refersion_secret_key translate="label">
57
+ <label>Secret API Key</label>
58
+ <frontend_type>password</frontend_type>
59
+ <sort_order>2</sort_order>
60
+ <show_in_default>1</show_in_default>
61
+ <show_in_website>1</show_in_website>
62
+ <show_in_store>1</show_in_store>
63
+ </refersion_secret_key>
64
+ <refersion_subdomain translate="label">
65
+ <label>Subdomain (optional):</label>
66
+ <frontend_type>text</frontend_type>
67
+ <sort_order>3</sort_order>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>1</show_in_store>
71
+ </refersion_subdomain>
72
+ <refersion_active translate="label">
73
+ <label>Enabled</label>
74
+ <frontend_type>select</frontend_type>
75
+ <source_model>adminhtml/system_config_source_yesno</source_model>
76
+ <sort_order>4</sort_order>
77
+ <show_in_default>1</show_in_default>
78
+ <show_in_website>1</show_in_website>
79
+ <show_in_store>1</show_in_store>
80
+ </refersion_active>
81
+ </fields>
82
+ </refersion_settings>
83
+ </groups>
84
+ </refersion>
85
+ </sections>
86
+ </config>
app/design/frontend/base/default/layout/refersion.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU Lesser General Public License (LGPL 3.0)
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://www.gnu.org/licenses/lgpl-3.0.html
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@refersion.com so we can send you a copy immediately.
15
+ *
16
+ * @category IMSC
17
+ * @package IMSC_Refersion
18
+ * @copyright Copyright (c) 2015 Refersion, Inc.
19
+ * @license http://www.gnu.org/licenses/lgpl-3.0.html GNU Lesser General Public License (LGPL 3.0)
20
+ */
21
+ -->
22
+ <layout version="0.1.4">
23
+ <checkout_onepage_success>
24
+ <reference name="before_body_end">
25
+ <block type="refersion/successpixel" name="refersion_successpixel" template="refersion/successpixel.phtml" />
26
+ </reference>
27
+ </checkout_onepage_success>
28
+ <checkout_multishipping_success>
29
+ <reference name="before_body_end">
30
+ <block type="refersion/successpixel" name="refersion_successpixel" template="refersion/successpixel.phtml" />
31
+ </reference>
32
+ </checkout_multishipping_success>
33
+ </layout>
app/design/frontend/base/default/template/refersion/successpixel.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the GNU General Public License)
8
+ * that is bundled with this package in the file LICENSE.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/gpl-license
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@refersion.com so we can send you a copy immediately.
14
+ *
15
+ * @category IMSC
16
+ * @package IMSC_Refersion
17
+ * @copyright Copyright (c) 2015 Refersion, Inc.
18
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
19
+ */
20
+ ?>
21
+ <?php if($this->isEnabled()):?>
22
+ <script type="text/javascript">
23
+ var image = new Image(); document.body.appendChild(image); image.src = "<?php echo $this->getSuccessPixel(); ?>"; image.setAttribute('style', 'float: right;width:1px;height:1px;');
24
+ </script>
25
+ <?php endif; ?>
app/etc/modules/Imsc_Refersion.xml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /*
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the GNU General Public License
9
+ * that is bundled with this package in the file LICENSE.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/gpl-license
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@refersion.com so we can send you a copy immediately.
15
+ *
16
+ * @category IMSC
17
+ * @package IMSC_Refersion
18
+ * @copyright Copyright (c) 2015 Refersion, Inc.
19
+ * @license http://opensource.org/licenses/gpl-license GNU General Public License
20
+ */
21
+ -->
22
+ <config>
23
+ <modules>
24
+ <Imsc_Refersion>
25
+ <active>true</active>
26
+ <codePool>community</codePool>
27
+ <version>0.1.4</version>
28
+ </Imsc_Refersion>
29
+ </modules>
30
+ </config>
package.xml CHANGED
@@ -1,18 +1,19 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Imsc_Refersion</name>
4
- <version>0.1.3</version>
5
  <stability>stable</stability>
6
- <license>GNU General Public License (GPL)</license>
7
  <channel>community</channel>
8
  <extends/>
9
- <summary>Create a customized Affiliate Program for your shop in minutes. Build partnerships and generate more sales.</summary>
10
- <description>Create a customized Affiliate Program for your shop in minutes. Build partnerships and generate more sales.</description>
11
- <notes>None</notes>
 
12
  <authors><author><name>Refersion</name><user>refersion</user><email>helpme@refersion.com</email></author></authors>
13
- <date>2016-08-29</date>
14
- <time>19:57:11</time>
15
- <contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="layout"><file name="refersion.xml" hash=""/></dir><dir name="template"><dir name="refersion"><file name="successpixel.phtml" hash=""/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="refersion"><file name="refersion.png" hash=""/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Ismc_Refersion.xml" hash=""/></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Imsc_Refersion</name>
4
+ <version>0.1.4</version>
5
  <stability>stable</stability>
6
+ <license>GPL</license>
7
  <channel>community</channel>
8
  <extends/>
9
+ <summary>Refersion for Magento</summary>
10
+ <description>Create an affiliate program in minutes. No technical knowledge required.</description>
11
+ <notes>- Added option to include your custom subdomain.&#xD;
12
+ - Layout bug fixes.</notes>
13
  <authors><author><name>Refersion</name><user>refersion</user><email>helpme@refersion.com</email></author></authors>
14
+ <date>2016-10-19</date>
15
+ <time>17:30:23</time>
16
+ <contents><target name="magecommunity"><dir name="Imsc"><dir name="Refersion"><dir name="Block"><file name="Successpixel.php" hash="13dccbf7e8d71dc0cd0e1a68afbd1ee6"/></dir><dir name="Helper"><file name="Data.php" hash="139834578c9502dbd5a6a3ca27f02533"/></dir><dir name="Model"><file name="Observer.php" hash="78aaed030e9f690847c9b1c5ff9fcb16"/></dir><dir name="etc"><file name="adminhtml.xml" hash="183f60e514c0ed88d4f2ca9fcc99fe76"/><file name="config.xml" hash="ec536acc134ffbd4c6b623cbd88c1421"/><file name="system.xml" hash="b6dd8a18d13f6187329c1e6a983932b7"/></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="refersion.xml" hash="18a9161030938550e1dc873d36ee4f63"/></dir><dir name="template"><dir name="refersion"><file name="successpixel.phtml" hash="6e76af5fbe4a8fc46b95c10bdec60b7f"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Imsc_Refersion.xml" hash="ce8651420baf2d3a6501c11b74ea38d3"/></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="refersion"><file name="refersion.png" hash="6370cbe1d669c5f7228b00bfa5410e38"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.4.0</min><max>7.0.0</max></php></required></dependencies>
19
  </package>
skin/adminhtml/default/default/refersion/refersion.png ADDED
Binary file