Qualityunit_Pap - Version 1.0.9

Version Notes

- added a special encoding for sale tracker in case product/order has some special characters

Download this release

Release Info

Developer Quality Unit, LLC
Extension Qualityunit_Pap
Version 1.0.9
Comparing to
See all releases


Code changes from version 1.0.8 to 1.0.9

app/code/local/Qualityunit/Pap/Block/Adminhtml/System/Config/Fieldset/Hint.php CHANGED
@@ -1,21 +1,21 @@
1
- <?php
2
- class Qualityunit_Pap_Block_Adminhtml_System_Config_Fieldset_Hint
3
- extends Mage_Adminhtml_Block_Abstract
4
- implements Varien_Data_Form_Element_Renderer_Interface {
5
-
6
- protected $_template = 'pap/system/config/fieldset/hint.phtml';
7
-
8
- /**
9
- * Render fieldset html
10
- *
11
- * @param Varien_Data_Form_Element_Abstract $element
12
- * @return string
13
- */
14
- public function render(Varien_Data_Form_Element_Abstract $element) {
15
- return $this->toHtml();
16
- }
17
-
18
- public function getPapVersion() {
19
- return (string)Mage::getConfig()->getNode('modules/Qualityunit_Pap/version');
20
- }
21
  }
1
+ <?php
2
+ class Qualityunit_Pap_Block_Adminhtml_System_Config_Fieldset_Hint
3
+ extends Mage_Adminhtml_Block_Abstract
4
+ implements Varien_Data_Form_Element_Renderer_Interface {
5
+
6
+ protected $_template = 'pap/system/config/fieldset/hint.phtml';
7
+
8
+ /**
9
+ * Render fieldset html
10
+ *
11
+ * @param Varien_Data_Form_Element_Abstract $element
12
+ * @return string
13
+ */
14
+ public function render(Varien_Data_Form_Element_Abstract $element) {
15
+ return $this->toHtml();
16
+ }
17
+
18
+ public function getPapVersion() {return '!!!';
19
+ return (string)Mage::getConfig()->getNode('modules/Qualityunit_Pap/version');
20
+ }
21
  }
app/code/local/Qualityunit/Pap/Helper/Data.php CHANGED
@@ -1,45 +1,21 @@
1
- <?php
2
- class Qualityunit_Pap_Helper_Data extends Mage_Core_Helper_Abstract
3
- {
4
-
5
- /**
6
- * Check if the module is enabled in configuration
7
- *
8
- * @return boolean
9
- */
10
- public function enabled()
11
- {
12
- return (bool)Mage::getStoreConfigFlag('pap/general/active');
13
- }
14
-
15
- /**
16
- * Get data from configuration
17
- *
18
- * @param string $field
19
- * @return string
20
- */
21
- public function config($field)
22
- {
23
- return Mage::getStoreConfig('pap/general/' . $field);
24
- }
25
-
26
- public function pushVars($customer)
27
- {
28
-
29
- if (Mage::helper('monkey')->canMonkey() && $customer->getId()) {
30
-
31
- $mergeVars = Mage::helper('monkey')->getMergeVars($customer, TRUE);
32
- $api = Mage::getSingleton('monkey/api', array('store' => $customer->getStoreId()));
33
-
34
- $lists = $api->listsForEmail($customer->getEmail());
35
-
36
- if (is_array($lists)) {
37
- foreach ($lists as $listId) {
38
- $api->listUpdateMember($listId, $customer->getEmail(), $mergeVars);
39
- }
40
- }
41
-
42
- }
43
- }
44
-
45
  }
1
+ <?php
2
+ class Qualityunit_Pap_Helper_Data extends Mage_Core_Helper_Abstract {
3
+ /**
4
+ * Check if the module is enabled in configuration
5
+ *
6
+ * @return boolean
7
+ */
8
+ public function enabled() {
9
+ return (bool)Mage::getStoreConfigFlag('pap/general/active');
10
+ }
11
+
12
+ /**
13
+ * Get data from configuration
14
+ *
15
+ * @param string $field
16
+ * @return string
17
+ */
18
+ public function config($field) {
19
+ return Mage::getStoreConfig('pap/general/' . $field);
20
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  }
app/code/local/Qualityunit/Pap/Model/Pap.php CHANGED
@@ -17,9 +17,9 @@ class Qualityunit_Pap_Model_Pap extends Mage_Core_Model_Abstract {
17
  $password = $config->getAPICredential('pass');
18
 
19
  $session = new Gpf_Api_Session($url);
20
- if (!$session->login($username, $password)) {
21
  $session = new Gpf_Api_Session(str_replace('http://','https://',$url));
22
- if (!$session->login($username, $password)) {
23
  Mage::log('Postaffiliatepro: Could not initiate API session: '.$session->getMessage());
24
  return null;
25
  }
@@ -124,6 +124,13 @@ class Qualityunit_Pap_Model_Pap extends Mage_Core_Model_Abstract {
124
  }
125
  }
126
 
 
 
 
 
 
 
 
127
  private function getStatus($state) {
128
  if ($state === Mage_Sales_Model_Order::STATE_PENDING_PAYMENT || $state === Mage_Sales_Model_Order::STATE_NEW || $state === Mage_Sales_Model_Order::STATE_PROCESSING) {
129
  return $this->pending;
@@ -156,13 +163,13 @@ class Qualityunit_Pap_Model_Pap extends Mage_Core_Model_Abstract {
156
 
157
  $sales[$i]['totalcost'] = $subtotal - $discount;
158
  $sales[$i]['orderid'] = $order->getIncrementId();
159
- $sales[$i]['productid'] = $product->getSku();
160
  $sales[$i]['couponcode'] = $couponcode;
161
  $sales[$i]['status'] = $status;
162
 
163
  for ($n = 1; $n < 6; $n++) {
164
  if ($config->getData($n)) {
165
- $sales[$i]['data'.$n] = $this->changeExtraData($config->getData($n), $order, $item, $product);
166
  }
167
  }
168
  }
17
  $password = $config->getAPICredential('pass');
18
 
19
  $session = new Gpf_Api_Session($url);
20
+ if (@!$session->login($username, $password)) {
21
  $session = new Gpf_Api_Session(str_replace('http://','https://',$url));
22
+ if (@!$session->login($username, $password)) {
23
  Mage::log('Postaffiliatepro: Could not initiate API session: '.$session->getMessage());
24
  return null;
25
  }
124
  }
125
  }
126
 
127
+ private function safeString($str) {
128
+ if (strpos($str, '&') !== false) {
129
+ return urlencode($str);
130
+ }
131
+ return $str;
132
+ }
133
+
134
  private function getStatus($state) {
135
  if ($state === Mage_Sales_Model_Order::STATE_PENDING_PAYMENT || $state === Mage_Sales_Model_Order::STATE_NEW || $state === Mage_Sales_Model_Order::STATE_PROCESSING) {
136
  return $this->pending;
163
 
164
  $sales[$i]['totalcost'] = $subtotal - $discount;
165
  $sales[$i]['orderid'] = $order->getIncrementId();
166
+ $sales[$i]['productid'] = $this->safeString($product->getSku());
167
  $sales[$i]['couponcode'] = $couponcode;
168
  $sales[$i]['status'] = $status;
169
 
170
  for ($n = 1; $n < 6; $n++) {
171
  if ($config->getData($n)) {
172
+ $sales[$i]['data'.$n] = $this->safeString($this->changeExtraData($config->getData($n), $order, $item, $product));
173
  }
174
  }
175
  }
app/code/local/Qualityunit/Pap/etc/config.xml CHANGED
@@ -1,152 +1,152 @@
1
- <?xml version="1.0"?>
2
- <config>
3
- <modules>
4
- <Qualityunit_Pap>
5
- <version>1.0.3</version>
6
- </Qualityunit_Pap>
7
- </modules>
8
- <global>
9
- <models>
10
- <pap>
11
- <class>Qualityunit_Pap_Model</class>
12
- </pap>
13
- <paypal>
14
- <rewrite>
15
- <standard>Qualityunit_Pap_Model_Paypal</standard>
16
- <ipn>Qualityunit_Pap_Model_PaypalIpn</ipn>
17
- </rewrite>
18
- </paypal>
19
- </models>
20
- <blocks>
21
- <pap>
22
- <class>Qualityunit_Pap_Block</class>
23
- </pap>
24
- <paypal>
25
- <rewrite>
26
- <standard_redirect>Qualityunit_Pap_Block_Paypal_Redirect</standard_redirect>
27
- </rewrite>
28
- </paypal>
29
- </blocks>
30
- <helpers>
31
- <pap>
32
- <class>Qualityunit_Pap_Helper</class>
33
- </pap>
34
- </helpers>
35
- <events>
36
- <checkout_onepage_controller_success_action>
37
- <observers>
38
- <pap_checkoutObserver>
39
- <type>model</type>
40
- <class>pap/checkout_observer</class>
41
- <method>onCheckoutSuccess</method>
42
- </pap_checkoutObserver>
43
- </observers>
44
- </checkout_onepage_controller_success_action>
45
- <checkout_multishipping_controller_success_action>
46
- <observers>
47
- <pap_checkoutObserver>
48
- <type>model</type>
49
- <class>pap/checkout_observer</class>
50
- <method>onCheckoutSuccess</method>
51
- </pap_checkoutObserver>
52
- </observers>
53
- </checkout_multishipping_controller_success_action>
54
- <sales_order_save_after>
55
- <observers>
56
- <pap_order_modified>
57
- <type>singleton</type>
58
- <class>pap/observer</class>
59
- <method>orderModified</method>
60
- </pap_order_modified>
61
- </observers>
62
- </sales_order_save_after>
63
- </events>
64
- </global>
65
- <frontend>
66
- <layout>
67
- <updates>
68
- <pap>
69
- <file>pap.xml</file>
70
- </pap>
71
- </updates>
72
- </layout>
73
- <events>
74
- <checkout_onepage_controller_success_action>
75
- <observers>
76
- <pap_order_success>
77
- <type>singleton</type>
78
- <class>pap/observer</class>
79
- <method>thankYouPageViewed</method>
80
- </pap_order_success>
81
- </observers>
82
- </checkout_onepage_controller_success_action>
83
- <checkout_multishipping_controller_success_action>
84
- <observers>
85
- <pap_order_success>
86
- <type>singleton</type>
87
- <class>pap/observer</class>
88
- <method>thankYouPageViewed</method>
89
- </pap_order_success>
90
- </observers>
91
- </checkout_multishipping_controller_success_action>
92
- </events>
93
- </frontend>
94
- <admin>
95
- <routers>
96
- <adminhtml>
97
- <args>
98
- <modules>
99
- <pap before="Mage_Adminhtml">Qualityunit_Pap_Adminhtml</pap>
100
- </modules>
101
- </args>
102
- </adminhtml>
103
- </routers>
104
- </admin>
105
- <adminhtml>
106
- <layout>
107
- <updates>
108
- <pap>
109
- <file>pap.xml</file>
110
- </pap>
111
- </updates>
112
- </layout>
113
- <acl>
114
- <resources>
115
- <admin>
116
- <children>
117
- <system>
118
- <children>
119
- <config>
120
- <children>
121
- <pap_config>
122
- <title>Post Affiliate Pro</title>
123
- </pap_config>
124
- </children>
125
- </config>
126
- </children>
127
- </system>
128
- </children>
129
- </admin>
130
- </resources>
131
- </acl>
132
- </adminhtml>
133
- <default>
134
- <pap>
135
- <api>
136
- <url>www.mysite.com/partners</url>
137
- <username>merchant@example.com</username>
138
- <accountid>default1</accountid>
139
- </api>
140
- <tracking>
141
- <trackingmethod>javascript</trackingmethod>
142
- <perproduct>1</perproduct>
143
- <coupontrack>0</coupontrack>
144
- <data1>empty</data1>
145
- <data2>empty</data2>
146
- <data3>empty</data3>
147
- <data4>empty</data4>
148
- <data5>empty</data5>
149
- </tracking>
150
- </pap>
151
- </default>
152
  </config>
1
+ <?xml version="1.0"?>
2
+ <config>
3
+ <modules>
4
+ <Qualityunit_Pap>
5
+ <version>1.0.9</version>
6
+ </Qualityunit_Pap>
7
+ </modules>
8
+ <global>
9
+ <models>
10
+ <pap>
11
+ <class>Qualityunit_Pap_Model</class>
12
+ </pap>
13
+ <paypal>
14
+ <rewrite>
15
+ <standard>Qualityunit_Pap_Model_Paypal</standard>
16
+ <ipn>Qualityunit_Pap_Model_PaypalIpn</ipn>
17
+ </rewrite>
18
+ </paypal>
19
+ </models>
20
+ <blocks>
21
+ <pap>
22
+ <class>Qualityunit_Pap_Block</class>
23
+ </pap>
24
+ <paypal>
25
+ <rewrite>
26
+ <standard_redirect>Qualityunit_Pap_Block_Paypal_Redirect</standard_redirect>
27
+ </rewrite>
28
+ </paypal>
29
+ </blocks>
30
+ <helpers>
31
+ <pap>
32
+ <class>Qualityunit_Pap_Helper</class>
33
+ </pap>
34
+ </helpers>
35
+ <events>
36
+ <checkout_onepage_controller_success_action>
37
+ <observers>
38
+ <pap_checkoutObserver>
39
+ <type>model</type>
40
+ <class>pap/checkout_observer</class>
41
+ <method>onCheckoutSuccess</method>
42
+ </pap_checkoutObserver>
43
+ </observers>
44
+ </checkout_onepage_controller_success_action>
45
+ <checkout_multishipping_controller_success_action>
46
+ <observers>
47
+ <pap_checkoutObserver>
48
+ <type>model</type>
49
+ <class>pap/checkout_observer</class>
50
+ <method>onCheckoutSuccess</method>
51
+ </pap_checkoutObserver>
52
+ </observers>
53
+ </checkout_multishipping_controller_success_action>
54
+ <sales_order_save_after>
55
+ <observers>
56
+ <pap_order_modified>
57
+ <type>singleton</type>
58
+ <class>pap/observer</class>
59
+ <method>orderModified</method>
60
+ </pap_order_modified>
61
+ </observers>
62
+ </sales_order_save_after>
63
+ </events>
64
+ </global>
65
+ <frontend>
66
+ <layout>
67
+ <updates>
68
+ <pap>
69
+ <file>pap.xml</file>
70
+ </pap>
71
+ </updates>
72
+ </layout>
73
+ <events>
74
+ <checkout_onepage_controller_success_action>
75
+ <observers>
76
+ <pap_order_success>
77
+ <type>singleton</type>
78
+ <class>pap/observer</class>
79
+ <method>thankYouPageViewed</method>
80
+ </pap_order_success>
81
+ </observers>
82
+ </checkout_onepage_controller_success_action>
83
+ <checkout_multishipping_controller_success_action>
84
+ <observers>
85
+ <pap_order_success>
86
+ <type>singleton</type>
87
+ <class>pap/observer</class>
88
+ <method>thankYouPageViewed</method>
89
+ </pap_order_success>
90
+ </observers>
91
+ </checkout_multishipping_controller_success_action>
92
+ </events>
93
+ </frontend>
94
+ <admin>
95
+ <routers>
96
+ <adminhtml>
97
+ <args>
98
+ <modules>
99
+ <pap before="Mage_Adminhtml">Qualityunit_Pap_Adminhtml</pap>
100
+ </modules>
101
+ </args>
102
+ </adminhtml>
103
+ </routers>
104
+ </admin>
105
+ <adminhtml>
106
+ <layout>
107
+ <updates>
108
+ <pap>
109
+ <file>pap.xml</file>
110
+ </pap>
111
+ </updates>
112
+ </layout>
113
+ <acl>
114
+ <resources>
115
+ <admin>
116
+ <children>
117
+ <system>
118
+ <children>
119
+ <config>
120
+ <children>
121
+ <pap_config>
122
+ <title>Post Affiliate Pro</title>
123
+ </pap_config>
124
+ </children>
125
+ </config>
126
+ </children>
127
+ </system>
128
+ </children>
129
+ </admin>
130
+ </resources>
131
+ </acl>
132
+ </adminhtml>
133
+ <default>
134
+ <pap>
135
+ <api>
136
+ <url>www.mysite.com/partners</url>
137
+ <username>merchant@example.com</username>
138
+ <accountid>default1</accountid>
139
+ </api>
140
+ <tracking>
141
+ <trackingmethod>javascript</trackingmethod>
142
+ <perproduct>1</perproduct>
143
+ <coupontrack>0</coupontrack>
144
+ <data1>empty</data1>
145
+ <data2>empty</data2>
146
+ <data3>empty</data3>
147
+ <data4>empty</data4>
148
+ <data5>empty</data5>
149
+ </tracking>
150
+ </pap>
151
+ </default>
152
  </config>
app/code/local/Qualityunit/Pap/etc/system.xml CHANGED
@@ -34,7 +34,7 @@
34
  <show_in_default>1</show_in_default>
35
  <show_in_website>1</show_in_website>
36
  <show_in_store>1</show_in_store>
37
- <comment><![CDATA[Enter the domain name and path where your Post Affiliate Pro or Post Affiliate Network is installed at. E.g. if you access your merchant panel at "www.mysite.com/partners/merchants/" then the value needed for this field is "www.mysite.com/partners"]]></comment>
38
  </url>
39
  <username translate="label">
40
  <label>API Username</label>
@@ -43,7 +43,7 @@
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
- <comment><![CDATA[Enter your merchant login username (the one you use to log into PAP as an admin)]]></comment>
47
  </username>
48
  <password translate="label">
49
  <label>API Password</label>
@@ -52,7 +52,7 @@
52
  <show_in_default>1</show_in_default>
53
  <show_in_website>1</show_in_website>
54
  <show_in_store>1</show_in_store>
55
- <comment><![CDATA[Enter your merchant login password (the one you use to log into PAP as an admin)]]></comment>
56
  </password>
57
  <accountid translate="label">
58
  <label>Account ID</label>
@@ -61,7 +61,7 @@
61
  <show_in_default>1</show_in_default>
62
  <show_in_website>1</show_in_website>
63
  <show_in_store>1</show_in_store>
64
- <comment><![CDATA[Enter your merchant account ID; applies to Post Affiliate Network]]></comment>
65
  </accountid>
66
  </fields>
67
  </api>
@@ -90,7 +90,7 @@
90
  <show_in_default>1</show_in_default>
91
  <show_in_website>1</show_in_website>
92
  <show_in_store>1</show_in_store>
93
- <comment><![CDATA[Per product tracking enabled with "Yes". When "No" is selected a commission will be created for whole order.]]></comment>
94
  </perproduct>
95
  <coupontrack translate="label">
96
  <label>Coupon tracking</label>
@@ -100,7 +100,7 @@
100
  <show_in_default>1</show_in_default>
101
  <show_in_website>1</show_in_website>
102
  <show_in_store>1</show_in_store>
103
- <comment><![CDATA[Enabled with "Yes", the system will set a coupon code to the sale tracker.]]></comment>
104
  </coupontrack>
105
  <data1 translate="label">
106
  <label>Custom Data 1</label>
@@ -110,7 +110,7 @@
110
  <show_in_default>1</show_in_default>
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
- <comment><![CDATA[Optional extra data value, will be replaced with an appropriate value based on order details]]></comment>
114
  </data1>
115
  <data2 translate="label">
116
  <label>Custom Data 2</label>
@@ -120,7 +120,7 @@
120
  <show_in_default>1</show_in_default>
121
  <show_in_website>1</show_in_website>
122
  <show_in_store>1</show_in_store>
123
- <comment><![CDATA[Optional extra data value...]]></comment>
124
  </data2>
125
  <data3 translate="label">
126
  <label>Custom Data 3</label>
@@ -130,7 +130,7 @@
130
  <show_in_default>1</show_in_default>
131
  <show_in_website>1</show_in_website>
132
  <show_in_store>1</show_in_store>
133
- <comment><![CDATA[Optional extra data value...]]></comment>
134
  </data3>
135
  <data4 translate="label">
136
  <label>Custom Data 4</label>
@@ -140,7 +140,7 @@
140
  <show_in_default>1</show_in_default>
141
  <show_in_website>1</show_in_website>
142
  <show_in_store>1</show_in_store>
143
- <comment><![CDATA[Optional extra data value...]]></comment>
144
  </data4>
145
  <data5 translate="label">
146
  <label>Custom Data 5</label>
@@ -150,7 +150,7 @@
150
  <show_in_default>1</show_in_default>
151
  <show_in_website>1</show_in_website>
152
  <show_in_store>1</show_in_store>
153
- <comment><![CDATA[Optional extra data value...]]></comment>
154
  </data5>
155
  </fields>
156
  </tracking>
34
  <show_in_default>1</show_in_default>
35
  <show_in_website>1</show_in_website>
36
  <show_in_store>1</show_in_store>
37
+ <tooltip><![CDATA[Enter the domain name and path where your Post Affiliate Pro or Post Affiliate Network is installed at. E.g. if you access your merchant panel at "www.mysite.com/partners/merchants/" then the value needed for this field is "www.mysite.com/partners"]]></tooltip>
38
  </url>
39
  <username translate="label">
40
  <label>API Username</label>
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
+ <tooltip><![CDATA[Enter your merchant login username (the one you use to log into PAP as an admin)]]></tooltip>
47
  </username>
48
  <password translate="label">
49
  <label>API Password</label>
52
  <show_in_default>1</show_in_default>
53
  <show_in_website>1</show_in_website>
54
  <show_in_store>1</show_in_store>
55
+ <tooltip><![CDATA[Enter your merchant login password (the one you use to log into PAP as an admin)]]></tooltip>
56
  </password>
57
  <accountid translate="label">
58
  <label>Account ID</label>
61
  <show_in_default>1</show_in_default>
62
  <show_in_website>1</show_in_website>
63
  <show_in_store>1</show_in_store>
64
+ <tooltip><![CDATA[Enter your merchant account ID; applies to Post Affiliate Network]]></tooltip>
65
  </accountid>
66
  </fields>
67
  </api>
90
  <show_in_default>1</show_in_default>
91
  <show_in_website>1</show_in_website>
92
  <show_in_store>1</show_in_store>
93
+ <tooltip><![CDATA[Per product tracking enabled with "Yes". When "No" is selected a commission will be created for whole order.]]></tooltip>
94
  </perproduct>
95
  <coupontrack translate="label">
96
  <label>Coupon tracking</label>
100
  <show_in_default>1</show_in_default>
101
  <show_in_website>1</show_in_website>
102
  <show_in_store>1</show_in_store>
103
+ <tooltip><![CDATA[Enabled with "Yes", the system will set a coupon code to the sale tracker.]]></tooltip>
104
  </coupontrack>
105
  <data1 translate="label">
106
  <label>Custom Data 1</label>
110
  <show_in_default>1</show_in_default>
111
  <show_in_website>1</show_in_website>
112
  <show_in_store>1</show_in_store>
113
+ <tooltip><![CDATA[Optional extra data value, will be replaced with an appropriate value based on order details]]></tooltip>
114
  </data1>
115
  <data2 translate="label">
116
  <label>Custom Data 2</label>
120
  <show_in_default>1</show_in_default>
121
  <show_in_website>1</show_in_website>
122
  <show_in_store>1</show_in_store>
123
+ <tooltip><![CDATA[Optional extra data value...]]></tooltip>
124
  </data2>
125
  <data3 translate="label">
126
  <label>Custom Data 3</label>
130
  <show_in_default>1</show_in_default>
131
  <show_in_website>1</show_in_website>
132
  <show_in_store>1</show_in_store>
133
+ <tooltip><![CDATA[Optional extra data value...]]></tooltip>
134
  </data3>
135
  <data4 translate="label">
136
  <label>Custom Data 4</label>
140
  <show_in_default>1</show_in_default>
141
  <show_in_website>1</show_in_website>
142
  <show_in_store>1</show_in_store>
143
+ <tooltip><![CDATA[Optional extra data value...]]></tooltip>
144
  </data4>
145
  <data5 translate="label">
146
  <label>Custom Data 5</label>
150
  <show_in_default>1</show_in_default>
151
  <show_in_website>1</show_in_website>
152
  <show_in_store>1</show_in_store>
153
+ <tooltip><![CDATA[Optional extra data value...]]></tooltip>
154
  </data5>
155
  </fields>
156
  </tracking>
app/etc/modules/Qualityunit_Pap.xml CHANGED
@@ -1,9 +1,10 @@
 
1
  <config>
2
  <modules>
3
  <Qualityunit_Pap>
4
  <active>true</active>
5
  <codePool>local</codePool>
6
- <version>1.0.3</version>
7
  </Qualityunit_Pap>
8
  </modules>
9
- </config>
1
+ <?xml version="1.0"?>
2
  <config>
3
  <modules>
4
  <Qualityunit_Pap>
5
  <active>true</active>
6
  <codePool>local</codePool>
7
+ <version>1.0.9</version>
8
  </Qualityunit_Pap>
9
  </modules>
10
+ </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
- <version>1.0.8</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
@@ -9,12 +9,11 @@
9
  <summary>The module makes an integration with Post Affiliate Pro or Post Affiliate Network an easy thing. A simple configuration with all the needed options helps you to make it working in seconds.</summary>
10
  <description>The module makes an integration with Post Affiliate Pro or Post Affiliate Network an easy thing. A simple configuration with all the needed options helps you to make it working in seconds.&#xD;
11
  The module integrates sales, supports per product tracking, Coupon tracking and Lifetime Commission tracking. It also automatically approves and declines commissions when transaction status is changed.</description>
12
- <notes>- PayPal Standard redirection fixed&#xD;
13
- - PayPal Standard IPN fixed</notes>
14
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
15
- <date>2016-03-23</date>
16
- <time>08:16:58</time>
17
- <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Pap"><dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="a1a70e021c623040796d925afbf52324"/></dir></dir></dir></dir><file name="Clicktracking.php" hash="8ee426151206030457e080ef23ce953b"/><dir name="Paypal"><file name="Redirect.php" hash="163f906979f1fa74c49954f76c32cd48"/></dir><file name="Saletracking.php" hash="b7e5c50972b856a87c2d24903235e502"/></dir><dir name="Helper"><file name="Data.php" hash="6418f45f1484fd4f676933a8af96cef5"/></dir><dir name="Model"><dir name="Checkout"><file name="Observer.php" hash="eeeb25d90b801c6352568c25e3154942"/></dir><dir name="Config"><dir name="Source"><file name="CustomVariables.php" hash="1419c44e2e174e368f69ac9c12701b63"/><file name="TrackSales.php" hash="1af0c801457e4b31f55fde6ad12e7b67"/></dir></dir><file name="Config.php" hash="75852918132ca6300c3a381574c5404d"/><file name="Observer.php" hash="82e1daf72693410bc4619151d03554e7"/><file name="Pap.php" hash="1010ab29b52c34277397a5b5aeadd7eb"/><file name="Paypal.php" hash="253bcb6a212495cfa838ee05cc606f3e"/><file name="PaypalIpn.php" hash="268b92124ac73a3fb35572e3002a6e81"/><file name="Validateapi.php" hash="2a90e74dc6a137a8960df465f17711ca"/></dir><dir name="etc"><file name="config.xml" hash="fc1d64d6b62a1823e98ee8c327d6bffd"/><file name="system.xml" hash="737444ec24bd0a18af630327f025b03c"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pap.xml" hash="600ebb26e9af1c78ac0a5d22717d2cd2"/></dir><dir name="template"><dir name="pap"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="cebb98c5c843a2921debea7cf98fdfe2"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pap.xml" hash="167eddd9fa705fba71f8d3d2992a43cc"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="pap.xml" hash="167eddd9fa705fba71f8d3d2992a43cc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Pap.xml" hash="78a58f4a3a637e027e42b74838b56607"/></dir></target><target name="magelib"><dir name="PAP"><file name="PapApi.class.php" hash="f1bae43744873b540b98e448caf7e205"/></dir></target><target name="mage"><dir name="lib"><dir name="PAP"><file name="README.txt" hash="2a279f64825e116dfd29c73fee9dabc8"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pap"><file name="pap.css" hash="ff8a88a99075753b4a0ea9004d579a42"/><file name="pap-tab.png" hash="eef09c5b3777189e05b1702c463a9a33"/><file name="pap-logo.png" hash="e9053c44287a8d84801451ed69ef2f09"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php></required></dependencies>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
+ <version>1.0.9</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/gpl-license.php">GNU General Public License (GPL)</license>
7
  <channel>community</channel>
9
  <summary>The module makes an integration with Post Affiliate Pro or Post Affiliate Network an easy thing. A simple configuration with all the needed options helps you to make it working in seconds.</summary>
10
  <description>The module makes an integration with Post Affiliate Pro or Post Affiliate Network an easy thing. A simple configuration with all the needed options helps you to make it working in seconds.&#xD;
11
  The module integrates sales, supports per product tracking, Coupon tracking and Lifetime Commission tracking. It also automatically approves and declines commissions when transaction status is changed.</description>
12
+ <notes>- added a special encoding for sale tracker in case product/order has some special characters</notes>
 
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
+ <date>2016-06-30</date>
15
+ <time>11:31:41</time>
16
+ <contents><target name="magelocal"><dir name="Qualityunit"><dir name="Pap"><dir><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Fieldset"><file name="Hint.php" hash="ef836f23782374104388b5ca6a478dd9"/></dir></dir></dir></dir><file name="Clicktracking.php" hash="8ee426151206030457e080ef23ce953b"/><dir name="Paypal"><file name="Redirect.php" hash="163f906979f1fa74c49954f76c32cd48"/></dir><file name="Saletracking.php" hash="b7e5c50972b856a87c2d24903235e502"/></dir><dir name="Helper"><file name="Data.php" hash="7d2adc731fa282df27b81990cc8ae634"/></dir><dir name="Model"><dir name="Checkout"><file name="Observer.php" hash="eeeb25d90b801c6352568c25e3154942"/></dir><dir name="Config"><dir name="Source"><file name="CustomVariables.php" hash="1419c44e2e174e368f69ac9c12701b63"/><file name="TrackSales.php" hash="1af0c801457e4b31f55fde6ad12e7b67"/></dir></dir><file name="Config.php" hash="75852918132ca6300c3a381574c5404d"/><file name="Observer.php" hash="82e1daf72693410bc4619151d03554e7"/><file name="Pap.php" hash="7e3a2bc663b5a9f93ed549d1ea40eed9"/><file name="Paypal.php" hash="253bcb6a212495cfa838ee05cc606f3e"/><file name="PaypalIpn.php" hash="268b92124ac73a3fb35572e3002a6e81"/><file name="Validateapi.php" hash="2a90e74dc6a137a8960df465f17711ca"/></dir><dir name="etc"><file name="config.xml" hash="8921de4ba47b5db85cfb717c79860498"/><file name="system.xml" hash="26b0850bacd1718e3a2965836b36c250"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="pap.xml" hash="600ebb26e9af1c78ac0a5d22717d2cd2"/></dir><dir name="template"><dir name="pap"><dir name="system"><dir name="config"><dir name="fieldset"><file name="hint.phtml" hash="cebb98c5c843a2921debea7cf98fdfe2"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="pap.xml" hash="167eddd9fa705fba71f8d3d2992a43cc"/></dir></dir></dir><dir name="default"><dir name="default"><dir name="layout"><file name="pap.xml" hash="167eddd9fa705fba71f8d3d2992a43cc"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Qualityunit_Pap.xml" hash="b4bde454d7c2125e5df1412e4f5af9de"/></dir></target><target name="magelib"><dir name="PAP"><file name="PapApi.class.php" hash="f1bae43744873b540b98e448caf7e205"/></dir></target><target name="mage"><dir name="lib"><dir name="PAP"><file name="README.txt" hash="2a279f64825e116dfd29c73fee9dabc8"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="pap"><file name="pap.css" hash="ff8a88a99075753b4a0ea9004d579a42"/><file name="pap-tab.png" hash="eef09c5b3777189e05b1702c463a9a33"/><file name="pap-logo.png" hash="e9053c44287a8d84801451ed69ef2f09"/></dir></dir></dir></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php></required></dependencies>
19
  </package>