Qualityunit_Pap - Version 1.0.3

Version Notes

After releasing the stable version, we improved few more things in the plugin configuration section.

Download this release

Release Info

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


Code changes from version 1.0.2 to 1.0.3

app/code/local/Qualityunit/Pap/Model/Config/Source/CustomVariables.php CHANGED
@@ -2,6 +2,7 @@
2
  class Qualityunit_Pap_Model_Config_Source_CustomVariables {
3
  public function toOptionArray() {
4
  return array(
 
5
  array('label'=>'Item name', 'value'=>'itemName'),
6
  array('label'=>'Item quantity', 'value'=>'itemQuantity'),
7
  array('label'=>'Item price (multiplied by quantity, before discount)', 'value'=>'itemPrice'),
@@ -19,6 +20,7 @@ class Qualityunit_Pap_Model_Config_Source_CustomVariables {
19
  array('label'=>'Internal order ID', 'value'=>'internalOrderID'),
20
  array('label'=>'Customer ID', 'value'=>'customerID'),
21
  array('label'=>'Customer email', 'value'=>'customerEmail'),
 
22
  array('label'=>'Coupon code', 'value'=>'couponCode')
23
  );
24
  }
2
  class Qualityunit_Pap_Model_Config_Source_CustomVariables {
3
  public function toOptionArray() {
4
  return array(
5
+ array('label'=>' ', 'value'=>'empty'),
6
  array('label'=>'Item name', 'value'=>'itemName'),
7
  array('label'=>'Item quantity', 'value'=>'itemQuantity'),
8
  array('label'=>'Item price (multiplied by quantity, before discount)', 'value'=>'itemPrice'),
20
  array('label'=>'Internal order ID', 'value'=>'internalOrderID'),
21
  array('label'=>'Customer ID', 'value'=>'customerID'),
22
  array('label'=>'Customer email', 'value'=>'customerEmail'),
23
+ array('label'=>'Customer name', 'value'=>'customerName'),
24
  array('label'=>'Coupon code', 'value'=>'couponCode')
25
  );
26
  }
app/code/local/Qualityunit/Pap/Model/Pap.php CHANGED
@@ -243,6 +243,9 @@ class Qualityunit_Pap_Model_Pap extends Mage_Core_Model_Abstract {
243
 
244
  public function changeExtraData($data, $order, $item, $product) {
245
  switch ($data) {
 
 
 
246
  case 'itemName':
247
  return (!empty($item)) ? $item->getName() : null;
248
  break;
243
 
244
  public function changeExtraData($data, $order, $item, $product) {
245
  switch ($data) {
246
+ case 'empty':
247
+ return null;
248
+ break;
249
  case 'itemName':
250
  return (!empty($item)) ? $item->getName() : null;
251
  break;
app/code/local/Qualityunit/Pap/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Qualityunit_Pap>
5
- <version>1.0.0</version>
6
  </Qualityunit_Pap>
7
  </modules>
8
  <global>
@@ -141,6 +141,11 @@
141
  <trackingmethod>javascript</trackingmethod>
142
  <perproduct>1</perproduct>
143
  <coupontrack>0</coupontrack>
 
 
 
 
 
144
  </tracking>
145
  </pap>
146
  </default>
2
  <config>
3
  <modules>
4
  <Qualityunit_Pap>
5
+ <version>1.0.3</version>
6
  </Qualityunit_Pap>
7
  </modules>
8
  <global>
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>
app/etc/modules/Qualityunit_Pap.xml CHANGED
@@ -3,7 +3,7 @@
3
  <Qualityunit_Pap>
4
  <active>true</active>
5
  <codePool>local</codePool>
6
- <version>1.0.0</version>
7
  </Qualityunit_Pap>
8
  </modules>
9
  </config>
3
  <Qualityunit_Pap>
4
  <active>true</active>
5
  <codePool>local</codePool>
6
+ <version>1.0.3</version>
7
  </Qualityunit_Pap>
8
  </modules>
9
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
- <version>1.0.2</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,13 +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>- currency issue fixed&#xD;
13
- - status of partial refunds fixed&#xD;
14
- - stable version</notes>
15
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
16
- <date>2015-11-10</date>
17
- <time>13:04:31</time>
18
- <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="c6c83477cfe5da045be89eff12b8e54d"/></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="491d5166055c6a7c9f03a0e3c92bdb7d"/><file name="TrackSales.php" hash="1af0c801457e4b31f55fde6ad12e7b67"/></dir></dir><file name="Config.php" hash="0a6d8bf59b6b89bb23305bdbb0a593c6"/><file name="Ipn.php" hash="410b6493a4f3fd451698d56bc0eced94"/><file name="Observer.php" hash="82e1daf72693410bc4619151d03554e7"/><file name="Pap.php" hash="d895b416806bbf6a64347047d4506a07"/><file name="Paypal.php" hash="39cbba74d089c1460f2404d8128cfb0b"/></dir><dir name="etc"><file name="config.xml" hash="83dfad5b4fcf7863e25f230ed96f3c50"/><file name="system.xml" hash="b62157df3c30e4496c635d203a33abe9"/></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="2c0943ada797ca04b0b32b58de7257a2"/></dir></target><target name="magelib"><dir name="PAP"><file name="PapApi.class.php" hash="ce27fd295878c080532cb029ffa0c482"/></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>
19
  <compatible/>
20
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
21
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
+ <version>1.0.3</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>After releasing the stable version, we improved few more things in the plugin configuration section.</notes>
 
 
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
+ <date>2015-11-16</date>
15
+ <time>11:38:16</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="a1a70e021c623040796d925afbf52324"/></dir></dir></dir></dir><file name="Clicktracking.php" hash="8ee426151206030457e080ef23ce953b"/><dir name="Paypal"><file name="Redirect.php" hash="c6c83477cfe5da045be89eff12b8e54d"/></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="0a6d8bf59b6b89bb23305bdbb0a593c6"/><file name="Ipn.php" hash="410b6493a4f3fd451698d56bc0eced94"/><file name="Observer.php" hash="82e1daf72693410bc4619151d03554e7"/><file name="Pap.php" hash="d551c2edb72ff93c582f56d48f391e60"/><file name="Paypal.php" hash="39cbba74d089c1460f2404d8128cfb0b"/></dir><dir name="etc"><file name="config.xml" hash="ecc1d4532536056788349c075af166b2"/><file name="system.xml" hash="b62157df3c30e4496c635d203a33abe9"/></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="ce27fd295878c080532cb029ffa0c482"/></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>6.0.0</max></php></required></dependencies>
19
  </package>