Version Notes
- PayPal IPN strict notice fixed
Download this release
Release Info
| Developer | Quality Unit, LLC |
| Extension | Qualityunit_Pap |
| Version | 1.2.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.2.0 to 1.2.1
app/code/local/Qualityunit/Pap/Model/PaypalIpn.php
CHANGED
|
@@ -3,13 +3,13 @@ require_once BP.DS.'app/code/core/Mage/Paypal/Model/Ipn.php';
|
|
| 3 |
|
| 4 |
class Qualityunit_Pap_Model_PaypalIpn extends Mage_Paypal_Model_Ipn {
|
| 5 |
|
| 6 |
-
protected function _registerPaymentCapture() {
|
| 7 |
try {
|
| 8 |
Mage::log('Postaffiliatepro: Loading PAP cookie from request');
|
| 9 |
|
| 10 |
$pap = Mage::getModel('pap/pap');
|
| 11 |
$visitorID = '';
|
| 12 |
-
if ($this->_request['pap_custom'] != '') {
|
| 13 |
$visitorID = $this->_request['pap_custom'];
|
| 14 |
}
|
| 15 |
|
|
@@ -28,6 +28,6 @@ class Qualityunit_Pap_Model_PaypalIpn extends Mage_Paypal_Model_Ipn {
|
|
| 28 |
Mage::log('Postaffiliatepro: An error occurred while registering PayPal sale: '.$e->getMessage());
|
| 29 |
}
|
| 30 |
|
| 31 |
-
parent::_registerPaymentCapture();
|
| 32 |
}
|
| 33 |
}
|
| 3 |
|
| 4 |
class Qualityunit_Pap_Model_PaypalIpn extends Mage_Paypal_Model_Ipn {
|
| 5 |
|
| 6 |
+
protected function _registerPaymentCapture($skipFraudDetection = false) {
|
| 7 |
try {
|
| 8 |
Mage::log('Postaffiliatepro: Loading PAP cookie from request');
|
| 9 |
|
| 10 |
$pap = Mage::getModel('pap/pap');
|
| 11 |
$visitorID = '';
|
| 12 |
+
if (isset($this->_request['pap_custom']) && ($this->_request['pap_custom'] != '')) {
|
| 13 |
$visitorID = $this->_request['pap_custom'];
|
| 14 |
}
|
| 15 |
|
| 28 |
Mage::log('Postaffiliatepro: An error occurred while registering PayPal sale: '.$e->getMessage());
|
| 29 |
}
|
| 30 |
|
| 31 |
+
parent::_registerPaymentCapture($skipFraudDetection);
|
| 32 |
}
|
| 33 |
}
|
package.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Qualityunit_Pap</name>
|
| 4 |
-
<version>1.2.
|
| 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.
|
| 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>-
|
| 13 |
-
- safe character checker upgrade
|
| 14 |
-
- affiliate signup improved to work with cookies</notes>
|
| 15 |
<authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
|
| 16 |
-
<date>2017-
|
| 17 |
-
<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="dda7a8bb08c3ffe188c8b9612bd6d9fa"/></dir></dir></dir></dir><file name="Clicktracking.php" hash="38b50a0be274db8bb528d56d241866da"/><dir name="Paypal"><file name="Redirect.php" hash="163f906979f1fa74c49954f76c32cd48"/></dir><file name="Saletracking.php" hash="8670044e7df98de5791312f27fd38ae2"/></dir><dir name="Helper"><file name="Data.php" hash="7d2adc731fa282df27b81990cc8ae634"/></dir><dir name="Model"><dir name="Checkout"><file name="Observer.php" hash="59a9bff60fd34d2eec459b2aef2c7fc3"/></dir><dir name="Config"><dir name="Source"><file name="CustomVariables.php" hash="efeddbe739ca3a193dda0d5c19b55d15"/><file name="TrackSales.php" hash="1af0c801457e4b31f55fde6ad12e7b67"/></dir></dir><file name="Config.php" hash="99ba8062a384014dff270f63164e9367"/><file name="Observer.php" hash="13fbbfb3f4c4e863cb9e2b296385761a"/><file name="Pap.php" hash="fa7ed7875b87248d011d9cd8c072d87f"/><file name="Paypal.php" hash="253bcb6a212495cfa838ee05cc606f3e"/><file name="PaypalIpn.php" hash="
|
| 19 |
<compatible/>
|
| 20 |
<dependencies><required><php><min>5.2.0</min><max>7.5.0</max></php></required></dependencies>
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>Qualityunit_Pap</name>
|
| 4 |
+
<version>1.2.1</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.
|
| 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 IPN strict notice fixed</notes>
|
|
|
|
|
|
|
| 13 |
<authors><author><name>Quality Unit, LLC</name><user>support</user><email>support@qualityunit.com</email></author></authors>
|
| 14 |
+
<date>2017-02-21</date>
|
| 15 |
+
<time>08:30:03</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="dda7a8bb08c3ffe188c8b9612bd6d9fa"/></dir></dir></dir></dir><file name="Clicktracking.php" hash="38b50a0be274db8bb528d56d241866da"/><dir name="Paypal"><file name="Redirect.php" hash="163f906979f1fa74c49954f76c32cd48"/></dir><file name="Saletracking.php" hash="8670044e7df98de5791312f27fd38ae2"/></dir><dir name="Helper"><file name="Data.php" hash="7d2adc731fa282df27b81990cc8ae634"/></dir><dir name="Model"><dir name="Checkout"><file name="Observer.php" hash="59a9bff60fd34d2eec459b2aef2c7fc3"/></dir><dir name="Config"><dir name="Source"><file name="CustomVariables.php" hash="efeddbe739ca3a193dda0d5c19b55d15"/><file name="TrackSales.php" hash="1af0c801457e4b31f55fde6ad12e7b67"/></dir></dir><file name="Config.php" hash="99ba8062a384014dff270f63164e9367"/><file name="Observer.php" hash="13fbbfb3f4c4e863cb9e2b296385761a"/><file name="Pap.php" hash="fa7ed7875b87248d011d9cd8c072d87f"/><file name="Paypal.php" hash="253bcb6a212495cfa838ee05cc606f3e"/><file name="PaypalIpn.php" hash="150dff6acfb93aec5d573a4c802c1c1c"/><file name="Validateapi.php" hash="2a90e74dc6a137a8960df465f17711ca"/></dir><dir name="etc"><file name="config.xml" hash="4937b3f46bc4653140549f9b34f3013f"/><file name="system.xml" hash="e276577132675143bafcfdc09c618b36"/></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="74a7c6da8a545d1ecfc0388f8264db0b"/></dir></target><target name="magelib"><dir name="PAP"><file name="PapApi.class.php" hash="c72aff2ef36ea6ec91098c3a03ad6d93"/></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>
|
