Qualityunit_Pap - Version 1.0.6

Version Notes

- XML layout changes

Download this release

Release Info

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


Code changes from version 1.0.5 to 1.0.6

app/code/local/Qualityunit/Pap/Block/Paypal/Redirect.php CHANGED
@@ -34,7 +34,7 @@ class Qualityunit_Pap_Block_Paypal_Redirect extends Mage_Core_Block_Abstract {
34
 
35
  $config = Mage::getSingleton('pap/config');
36
  $url = $config->getInstallationPath();
37
- $accountID = $config->getAccountID();
38
 
39
  $html.= '
40
  <!-- Post Affiliate Pro integration snippet -->
34
 
35
  $config = Mage::getSingleton('pap/config');
36
  $url = $config->getInstallationPath();
37
+ $accountID = $config->getAPICredential('account');
38
 
39
  $html.= '
40
  <!-- Post Affiliate Pro integration snippet -->
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>Mage_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.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>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
- <version>1.0.5</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,11 +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>- account ID issue fixed</notes>
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
- <date>2016-01-28</date>
15
- <time>13:56:08</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="239ed108cdef69b7ae0800279b29fd26"/><file name="Paypal.php" hash="39cbba74d089c1460f2404d8128cfb0b"/><file name="Validateapi.php" hash="8f4e945fcbcf29e72c1b914ede455cb3"/></dir><dir name="etc"><file name="config.xml" hash="ecc1d4532536056788349c075af166b2"/><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>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Qualityunit_Pap</name>
4
+ <version>1.0.6</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>- XML layout changes</notes>
13
  <authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
14
+ <date>2016-02-04</date>
15
+ <time>07:25:46</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="6c48219eb2e6f37ef50570e90c904639"/></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="239ed108cdef69b7ae0800279b29fd26"/><file name="Paypal.php" hash="39cbba74d089c1460f2404d8128cfb0b"/><file name="Validateapi.php" hash="8f4e945fcbcf29e72c1b914ede455cb3"/></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>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php></required></dependencies>
19
  </package>