Version Notes
Fix: replaced filter_input
Download this release
Release Info
Developer | Magento Core Team |
Extension | sisowpayment |
Version | 4.5.7 |
Comparing to | |
See all releases |
Code changes from version 4.5.6 to 4.5.7
app/code/local/Sisow/controllers/CheckoutController.php
CHANGED
@@ -72,7 +72,7 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
72 |
public function notifyAction()
|
73 |
{
|
74 |
$orderid = Mage::app()->getRequest()->getParam('ec');
|
75 |
-
$
|
76 |
$status = Mage::app()->getRequest()->getParam('status');
|
77 |
$sha1 = Mage::app()->getRequest()->getParam('sha1');
|
78 |
|
@@ -84,7 +84,7 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
84 |
* Last Adjustment: 12-02-2014
|
85 |
* Url Check for Notify URL
|
86 |
*/
|
87 |
-
if($orderid == '' || $
|
88 |
{
|
89 |
echo 'No Notify Url';
|
90 |
Mage::log($orderid . ': Incorrect NotifyUrl (request uri: '.$_SERVER['REQUEST_URI'].')', null, 'log_sisow.log');
|
@@ -112,12 +112,12 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
112 |
if (method_exists($payment, 'getAdditionalInformation')) {
|
113 |
$trxid = $payment->getAdditionalInformation('trxId');
|
114 |
}
|
115 |
-
|
116 |
if(!isset($trxid) || $trxid == '')
|
117 |
-
$trxid =
|
118 |
-
else if ($trxid !=
|
119 |
-
$trxid =
|
120 |
-
else if ($trxid !=
|
121 |
exit('Not the last transaction and the status is no success!');
|
122 |
|
123 |
$base = Mage::getModel('sisow/base');
|
72 |
public function notifyAction()
|
73 |
{
|
74 |
$orderid = Mage::app()->getRequest()->getParam('ec');
|
75 |
+
$url_trxid = Mage::app()->getRequest()->getParam('trxid');
|
76 |
$status = Mage::app()->getRequest()->getParam('status');
|
77 |
$sha1 = Mage::app()->getRequest()->getParam('sha1');
|
78 |
|
84 |
* Last Adjustment: 12-02-2014
|
85 |
* Url Check for Notify URL
|
86 |
*/
|
87 |
+
if($orderid == '' || $url_trxid == '' || $status == '' || $sha1 == '' || (!isset($notify) && !isset($callback)) )
|
88 |
{
|
89 |
echo 'No Notify Url';
|
90 |
Mage::log($orderid . ': Incorrect NotifyUrl (request uri: '.$_SERVER['REQUEST_URI'].')', null, 'log_sisow.log');
|
112 |
if (method_exists($payment, 'getAdditionalInformation')) {
|
113 |
$trxid = $payment->getAdditionalInformation('trxId');
|
114 |
}
|
115 |
+
|
116 |
if(!isset($trxid) || $trxid == '')
|
117 |
+
$trxid = $url_trxid;
|
118 |
+
else if ($trxid != $url_trxid && $status == 'Success')
|
119 |
+
$trxid = $url_trxid;
|
120 |
+
else if ($trxid != $url_trxid && $status != 'Success')
|
121 |
exit('Not the last transaction and the status is no success!');
|
122 |
|
123 |
$base = Mage::getModel('sisow/base');
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sisowpayment</name>
|
4 |
-
<version>4.5.
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
@@ -11,11 +11,11 @@
|
|
11 |
Added: possibility to let Cancelled/Failed transactions pending
|
12 |
Fix: template gives no empty space when no payment fee is entered
|
13 |
Fix: better Expired after Success catch</description>
|
14 |
-
<notes>Fix: replaced
|
15 |
<authors><author><name>Sisow</name><user>auto-converted</user><email>info@sisow.nl</email></author></authors>
|
16 |
<date>2016-04-21</date>
|
17 |
-
<time>
|
18 |
-
<contents><target name="magelocal"><dir name="Sisow"><dir name="Block"><dir name="Adminhtml"><file name="Notice.php" hash="56154d92843b3c8a205837010405923e"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="1965cbd3a5bdfcec2b79fed11613b2c1"/></dir></dir></dir><dir name="Paymentfee"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="c086b64c05012dc579ee54fb6e50c5a3"/></dir></dir></dir><dir name="Checkout"><file name="Fee.php" hash="c7b7b19d5f2d2c5fbd07f355f8f57f9e"/></dir><dir name="Creditmemo"><file name="Totals.php" hash="ccfaa67f45416ab398ec55ea7356b537"/></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="a715f52568aa5f4a42a65437be3d0fb8"/></dir></dir><dir name="Order"><dir name="Totals"><file name="Fee.php" hash="2158794a5836acedc765900403649b16"/></dir></dir></dir><dir name="Paymentmethod"><file name="Creditcard.php" hash="a14f3818e0140496eae6afa180e4b2e2"/><file name="Default.php" hash="bc1f1e09fc1c48ab7a33a0f30248df2d"/><file name="DefaultInfo.php" hash="12bc768b15a910295c911f4790ae936a"/><file name="Eps.php" hash="f9b8e8844438fc0a07e5b85a816b59f5"/><file name="Focum.php" hash="2a7b60fff4a08be517db3edd3948e9f3"/><file name="Giropay.php" hash="52a1e50999719ed4cc3da3bd0956c900"/><file name="Ideal.php" hash="c57f4912978d24f6c766a418010eb4c0"/><file name="IdealInfo.php" hash="f2be70b33ab781c89a25c4be6f738067"/><file name="Klarna.php" hash="81c32ceead0cbf51d2208a3fe7182efe"/><file name="Klarnaacc.php" hash="3e72bcf65cc2421b613c328b68f4b7b8"/><file name="Overboeking.php" hash="b59341e0508aea8232de1b45606e66da"/></dir><file name="Redirect.php" hash="b18af0b53274c409f0d487dbfe312dc4"/></dir><dir name="Helper"><file name="Data.php" hash="1cb75689669a43062f8539cecdb88730"/><file name="Paymentfee.php" hash="44f51f6166d85f0d6df2348c094ba0aa"/></dir><dir name="Model"><dir name="Config"><file name="Autoinvoice.php" hash="d4edbab951b4b16e8ccab660bbee8fda"/><file name="GeneralAutoinvoice.php" hash="603d830548bf012631fa0e0f00738802"/><file name="Newordermail.php" hash="b0225e1243442e4c1df1ea4eaab72c5c"/><file name="NewordermailMethod.php" hash="41813afa9531be21163c6a4c1550b759"/></dir><dir name="Methods"><file name="Abstract.php" hash="6c7ed859b0d1e08ae80a96bb5cc7a23d"/><file name="Ebill.php" hash="b4e00783ca4854a4a13e2f4ed78e0e77"/><file name="Eps.php" hash="2e167aa5f5de19e61372b82eefc43c40"/><file name="Focum.php" hash="8802d0c495c6188340391d0d6f5faa0c"/><file name="Giropay.php" hash="e9c83931c3d1491ff14d12288c4f6348"/><file name="Homepay.php" hash="03a60fca9ff4738f97926997935ed504"/><file name="Ideal.php" hash="26275c27874cd4e1eb32b7d59540c65e"/><file name="Klarna.php" hash="46a92a6a29e51e2e152389475e77d025"/><file name="Klarnaacc.php" hash="6905ba077eab559fe4d24a864e0ed416"/><file name="Maestro.php" hash="7372b9babeb8e60e6e7de39a6a249747"/><file name="Mastercard.php" hash="f09053c2dd9581aa094063254178207f"/><file name="Mistercash.php" hash="f56cfae23c74791432cef1e50733829c"/><file name="Overboeking.php" hash="72db34368e2ac6f7aea6ac2ea66b942c"/><file name="Paypalec.php" hash="8f802ac3efc8709ab17e130671b1c8dd"/><file name="Sofort.php" hash="f9ebf43bda7ffd62582c869a5ba5014b"/><file name="Visa.php" hash="0214e927261846df04892bdf2c048792"/><file name="VvvGiftcard.php" hash="f1dbe386cb6f401f80333a8f2ca1e310"/><file name="WebshopGiftcard.php" hash="3ea06c83b6c0d1f87f1d61dcbf3a55c7"/></dir><dir name="Observer"><file name="Order.php" hash="e5e0ce8e5a05c3c2f87d3893b9932be8"/><file name="Paymentfee.php" hash="78835217b2b6875e14da8b6630c21456"/><file name="Sendebill.php" hash="d43b7a2961da792d8b1d860cd34a111f"/><file name="Submit.php" hash="47aa5da33f953cf9363f05578b2850fe"/></dir><dir name="Paymentfee"><dir name="Creditmemo"><file name="Total.php" hash="2340fd22ec6597f5fad53d9faea2d9fe"/></dir><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="cec95df39f550cd70e6eb63b16cfb627"/></dir><file name="Tax.php" hash="5fba21bc05a7ed55b3c57ccb4b2790b5"/><file name="Total.php" hash="b77c63f1173d2112056a782490968cf6"/></dir><dir name="Quote"><file name="Quote.php" hash="838ad691a2da75b942a8ef41c2815a9a"/><file name="TaxTotal.php" hash="bd7cd2a16dc3dbc8c7a3c82746a0f671"/><file name="Total.php" hash="d2c8afd1ec4c96b6215ae28766e18177"/></dir></dir><file name="Base.php" hash="828936cbef4855f7c8b0a525ef62a1bf"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="
|
19 |
<compatible/>
|
20 |
<dependencies/>
|
21 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sisowpayment</name>
|
4 |
+
<version>4.5.7</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
11 |
Added: possibility to let Cancelled/Failed transactions pending
|
12 |
Fix: template gives no empty space when no payment fee is entered
|
13 |
Fix: better Expired after Success catch</description>
|
14 |
+
<notes>Fix: replaced filter_input</notes>
|
15 |
<authors><author><name>Sisow</name><user>auto-converted</user><email>info@sisow.nl</email></author></authors>
|
16 |
<date>2016-04-21</date>
|
17 |
+
<time>10:53:54</time>
|
18 |
+
<contents><target name="magelocal"><dir name="Sisow"><dir name="Block"><dir name="Adminhtml"><file name="Notice.php" hash="56154d92843b3c8a205837010405923e"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="1965cbd3a5bdfcec2b79fed11613b2c1"/></dir></dir></dir><dir name="Paymentfee"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="Totals.php" hash="c086b64c05012dc579ee54fb6e50c5a3"/></dir></dir></dir><dir name="Checkout"><file name="Fee.php" hash="c7b7b19d5f2d2c5fbd07f355f8f57f9e"/></dir><dir name="Creditmemo"><file name="Totals.php" hash="ccfaa67f45416ab398ec55ea7356b537"/></dir><dir name="Invoice"><dir name="Totals"><file name="Fee.php" hash="a715f52568aa5f4a42a65437be3d0fb8"/></dir></dir><dir name="Order"><dir name="Totals"><file name="Fee.php" hash="2158794a5836acedc765900403649b16"/></dir></dir></dir><dir name="Paymentmethod"><file name="Creditcard.php" hash="a14f3818e0140496eae6afa180e4b2e2"/><file name="Default.php" hash="bc1f1e09fc1c48ab7a33a0f30248df2d"/><file name="DefaultInfo.php" hash="12bc768b15a910295c911f4790ae936a"/><file name="Eps.php" hash="f9b8e8844438fc0a07e5b85a816b59f5"/><file name="Focum.php" hash="2a7b60fff4a08be517db3edd3948e9f3"/><file name="Giropay.php" hash="52a1e50999719ed4cc3da3bd0956c900"/><file name="Ideal.php" hash="c57f4912978d24f6c766a418010eb4c0"/><file name="IdealInfo.php" hash="f2be70b33ab781c89a25c4be6f738067"/><file name="Klarna.php" hash="81c32ceead0cbf51d2208a3fe7182efe"/><file name="Klarnaacc.php" hash="3e72bcf65cc2421b613c328b68f4b7b8"/><file name="Overboeking.php" hash="b59341e0508aea8232de1b45606e66da"/></dir><file name="Redirect.php" hash="b18af0b53274c409f0d487dbfe312dc4"/></dir><dir name="Helper"><file name="Data.php" hash="1cb75689669a43062f8539cecdb88730"/><file name="Paymentfee.php" hash="44f51f6166d85f0d6df2348c094ba0aa"/></dir><dir name="Model"><dir name="Config"><file name="Autoinvoice.php" hash="d4edbab951b4b16e8ccab660bbee8fda"/><file name="GeneralAutoinvoice.php" hash="603d830548bf012631fa0e0f00738802"/><file name="Newordermail.php" hash="b0225e1243442e4c1df1ea4eaab72c5c"/><file name="NewordermailMethod.php" hash="41813afa9531be21163c6a4c1550b759"/></dir><dir name="Methods"><file name="Abstract.php" hash="6c7ed859b0d1e08ae80a96bb5cc7a23d"/><file name="Ebill.php" hash="b4e00783ca4854a4a13e2f4ed78e0e77"/><file name="Eps.php" hash="2e167aa5f5de19e61372b82eefc43c40"/><file name="Focum.php" hash="8802d0c495c6188340391d0d6f5faa0c"/><file name="Giropay.php" hash="e9c83931c3d1491ff14d12288c4f6348"/><file name="Homepay.php" hash="03a60fca9ff4738f97926997935ed504"/><file name="Ideal.php" hash="26275c27874cd4e1eb32b7d59540c65e"/><file name="Klarna.php" hash="46a92a6a29e51e2e152389475e77d025"/><file name="Klarnaacc.php" hash="6905ba077eab559fe4d24a864e0ed416"/><file name="Maestro.php" hash="7372b9babeb8e60e6e7de39a6a249747"/><file name="Mastercard.php" hash="f09053c2dd9581aa094063254178207f"/><file name="Mistercash.php" hash="f56cfae23c74791432cef1e50733829c"/><file name="Overboeking.php" hash="72db34368e2ac6f7aea6ac2ea66b942c"/><file name="Paypalec.php" hash="8f802ac3efc8709ab17e130671b1c8dd"/><file name="Sofort.php" hash="f9ebf43bda7ffd62582c869a5ba5014b"/><file name="Visa.php" hash="0214e927261846df04892bdf2c048792"/><file name="VvvGiftcard.php" hash="f1dbe386cb6f401f80333a8f2ca1e310"/><file name="WebshopGiftcard.php" hash="3ea06c83b6c0d1f87f1d61dcbf3a55c7"/></dir><dir name="Observer"><file name="Order.php" hash="e5e0ce8e5a05c3c2f87d3893b9932be8"/><file name="Paymentfee.php" hash="78835217b2b6875e14da8b6630c21456"/><file name="Sendebill.php" hash="d43b7a2961da792d8b1d860cd34a111f"/><file name="Submit.php" hash="47aa5da33f953cf9363f05578b2850fe"/></dir><dir name="Paymentfee"><dir name="Creditmemo"><file name="Total.php" hash="2340fd22ec6597f5fad53d9faea2d9fe"/></dir><dir name="Invoice"><dir name="Pdf"><file name="Total.php" hash="cec95df39f550cd70e6eb63b16cfb627"/></dir><file name="Tax.php" hash="5fba21bc05a7ed55b3c57ccb4b2790b5"/><file name="Total.php" hash="b77c63f1173d2112056a782490968cf6"/></dir><dir name="Quote"><file name="Quote.php" hash="838ad691a2da75b942a8ef41c2815a9a"/><file name="TaxTotal.php" hash="bd7cd2a16dc3dbc8c7a3c82746a0f671"/><file name="Total.php" hash="d2c8afd1ec4c96b6215ae28766e18177"/></dir></dir><file name="Base.php" hash="828936cbef4855f7c8b0a525ef62a1bf"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="5392c9e86fd5f3e95567d80a10514238"/></dir><dir name="etc"><file name="config.xml" hash="5cb8e94e3c216b0c92f1d976eb37de94"/><file name="system.xml" hash="0122472c6cc124c48baa57b1b9bc1096"/></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sisow"><dir name="adminhtml"><file name="notice.phtml" hash="7fa2d76678ad34eae48516fd757c30df"/></dir><dir name="checkout"><file name="default_info.phtml" hash="558581601de86afce3bd62ea50de7a4e"/><file name="ideal_info.phtml" hash="864ee0e16191ef6dca5c18522172b51c"/></dir><file name="form.phtml" hash="0dc40ad38b62218d6f947674312b7a61"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="sisow"><dir name="checkout"><file name="default_form.phtml" hash="eda7a01241b131b1c2020e63e084b1c8"/><file name="default_info.phtml" hash="94eeee994f2f21dc36489f6b7824e616"/><file name="eps_form.phtml" hash="ec42cfb2f63f3c6edc252a5b88d68f82"/><file name="focum_form.phtml" hash="59633d0789d7bc85634526d411ef1e5a"/><file name="giropay_form.phtml" hash="712362c1639f8427b219ce70dd9eec50"/><file name="ideal_form.phtml" hash="b0f08d0b8403faee40b4f962e37ade66"/><file name="ideal_info.phtml" hash="88e15559e2f0cca9744b4dae1a81a1ea"/><file name="klarna_form.phtml" hash="ef23ec10d710065e4a0cad78d3883210"/><file name="klarnaacc_form.phtml" hash="5095e6ba397fa3f9c6d8859d0881de84"/><file name="overboeking_form.phtml" hash="dc4c1ecb4587392edeeedcce35acabf8"/></dir><dir name="paymentfee"><dir name="checkout"><file name="fee.phtml" hash="79362bab3963195ad6727d077fe87b11"/></dir></dir><file name="form.phtml" hash="8874a0713c384d1346f6ae713f2cb9bd"/><file name="formecare.phtml" hash="0de41387de5f0c8d35066c0f30e113c2"/><file name="formovb.phtml" hash="20da22a0ef4384411bf971ff133a6a2c"/></dir></dir><dir name="layout"><file name="sisow.xml" hash="bc2d1b353ba1597e72e1087967cc5275"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Sisow.xml" hash="7da3fbd82a48d5428b8c723bafbb946b"/></dir></target><target name="magelocale"><dir name="nl_NL"><file name="Sisow.csv" hash="f4f6beff2a3506c8956b7d7a4e06715e"/></dir></target><target name="magemedia"><dir name="sisow"><dir name="logo"><file name="sisow_eps.png" hash="5e1f172ba0498467ba74a3a335867b39"/><file name="sisow_focum.png" hash="c066464cdf85d507da88917434de35d0"/><file name="sisow_giropay.png" hash="619d576140e1c6bd9fb503a1e82c1c28"/><file name="sisow_homepay.png" hash="72a2755d53b2ce5bec6e42bb449a40ad"/><file name="sisow_ideal.png" hash="a7bd660cf69f38e7871e6404a5032728"/><file name="sisow_maestro.png" hash="a2854af0b9d9bbdc85518f2706ec62bb"/><file name="sisow_mastercard.png" hash="bb28caeeeb40d2de50e5b684aa914aae"/><file name="sisow_mistercash.png" hash="d3710590ccfb187b16c33429ab4163c3"/><file name="sisow_paypalec.png" hash="145bdc920850740f1efce0ab4e450358"/><file name="sisow_sofort.png" hash="29b5b51aa6db9b9854ebf86331873331"/><file name="sisow_visa.png" hash="a8dd24b50cfd94c537d63dd9de126016"/><file name="sisow_vvv.png" hash="c49615bd95ecfa7a9cb513b0b5574dc7"/><file name="sisow_webshop.png" hash="47913a17b3ae5f6a03a28a8df5d9a483"/></dir></dir></target></contents>
|
19 |
<compatible/>
|
20 |
<dependencies/>
|
21 |
</package>
|