sisowpayment - Version 4.2.3

Version Notes

Fix: payment method could not be found

Download this release

Release Info

Developer Magento Core Team
Extension sisowpayment
Version 4.2.3
Comparing to
See all releases


Code changes from version 4.2.2 to 4.2.3

app/code/local/Sisow/Block/Redirect.php CHANGED
@@ -291,9 +291,25 @@ class Sisow_Block_Redirect extends Mage_Core_Block_Abstract
291
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
292
$url = Mage::getUrl("sisow/checkout/success");
293
}
294
- else if($base->payment == 'klarna' || $base->payment == 'klarnaacc')
295
{
296
- $title = ($base->payment == 'klarna') ? 'Sisow Klarna Factuur' : 'Sisow Klarna Account';
297
$state = Mage_Sales_Model_Order::STATE_PROCESSING;
298
$payment = $order->getPayment();
299
291
$order->setState(Mage_Sales_Model_Order::STATE_PENDING_PAYMENT);
292
$url = Mage::getUrl("sisow/checkout/success");
293
}
294
+ else if($base->payment == 'klarna' || $base->payment == 'klarnaacc' || $base->payment == 'focum')
295
{
296
+ $title = '';
297
+
298
+ switch($base->payment)
299
+ {
300
+ case "klarna":
301
+ $title = 'Sisow Klarna Factuur';
302
+ break;
303
+ case "klarnaacc":
304
+ $title = 'Sisow Klarna Account';
305
+ break;
306
+ case "focum":
307
+ $title = 'Sisow Focum Achteraf Betalen';
308
+ break;
309
+ default:
310
+ $title = 'Sisow achteraf betalen';
311
+ break;
312
+ }
313
$state = Mage_Sales_Model_Order::STATE_PROCESSING;
314
$payment = $order->getPayment();
315
app/code/local/Sisow/Model/Observer/Order.php CHANGED
@@ -44,6 +44,8 @@ class Sisow_Model_Observer_Order extends Mage_Core_Model_Abstract
44
break;
45
46
}
47
}
48
}
49
}
44
break;
45
46
}
47
+
48
+ $payment->Save();
49
}
50
}
51
}
app/code/local/Sisow/controllers/CheckoutController.php CHANGED
@@ -20,7 +20,6 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
20
return $this->_redirect("checkout/onepage/success", array("_secure" => true));
21
} else {
22
//alternatieve keep cart functie
23
- //getjat van pay.nl
24
/*
25
$order = Mage::getModel('sales/order')->loadByIncrementId($_GET['ec']);
26
20
return $this->_redirect("checkout/onepage/success", array("_secure" => true));
21
} else {
22
//alternatieve keep cart functie
23
/*
24
$order = Mage::getModel('sales/order')->loadByIncrementId($_GET['ec']);
25
app/code/local/Sisow/etc/config.xml CHANGED
@@ -333,7 +333,7 @@
333
<sendklarnainvoice>0</sendklarnainvoice>
334
<allowspecific>1</allowspecific>
335
<specificcountry>NL</specificcountry>
336
- </sisow_focum>
337
<sisow_webshop>
338
<group>sisow</group>
339
<active>0</active>
333
<sendklarnainvoice>0</sendklarnainvoice>
334
<allowspecific>1</allowspecific>
335
<specificcountry>NL</specificcountry>
336
+ </sisow_focum>
337
<sisow_webshop>
338
<group>sisow</group>
339
<active>0</active>
app/design/frontend/base/default/template/sisow/checkout/giropay_form.phtml CHANGED
@@ -3,10 +3,13 @@ $_code = $this->getMethodCode();
3
$_paymentfee = $this->getFee();
4
?>
5
<script>
6
- var j = jQuery.noConflict();
7
- j(document).ready(function() {
8
- j('#giropay_widget').giropay_widget({'return': 'bic','kind': 0});
9
- });
10
</script>
11
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
12
<li>
3
$_paymentfee = $this->getFee();
4
?>
5
<script>
6
+ ( function($) {
7
+ // we can now rely on $ within the safety of our "bodyguard" function
8
+ $(document).ready(function() {
9
+ $('#giropay_widget').giropay_widget({'return': 'bic','kind': 1});
10
+ });
11
+ } ) ( jQuery );
12
+
13
</script>
14
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
15
<li>
package.xml CHANGED
@@ -1,8 +1,8 @@
1
<?xml version="1.0"?>
2
<package>
3
<name>sisowpayment</name>
4
- <version>4.2.2</version>
5
- <stability>beta</stability>
6
<license/>
7
<channel>community</channel>
8
<extends/>
@@ -17,11 +17,11 @@ Klarna Account&#xD;
17
Klarna Invoice&#xD;
18
MisterCash&#xD;
19
Sofort</description>
20
- <notes>Fix: error during denied Focum transaction</notes>
21
<authors><author><name>Sisow</name><user>auto-converted</user><email>support@sisow.nl</email></author></authors>
22
- <date>2015-02-23</date>
23
- <time>09:54:47</time>
24
- <contents><target name="magelocale"><dir name="nl_NL"><file name="Sisow.csv" hash="3c34bbc6892ce908fe3880bf52866b46"/></dir></target><target name="mageetc"><dir name="modules"><file name="Sisow.xml" hash="7da3fbd82a48d5428b8c723bafbb946b"/></dir></target><target name="magelocal"><dir name="Sisow"><dir name="Block"><dir name="Adminhtml"><file name="Notice.php" hash="56154d92843b3c8a205837010405923e"/></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="bddf58a2a12dae02e5061b04e68345da"/><file name="Default.php" hash="b1c2947be1e0e731a5aea8757f038018"/><file name="DefaultInfo.php" hash="12bc768b15a910295c911f4790ae936a"/><file name="Eps.php" hash="561dd123d17e0b8b44c8d365d0bc4e00"/><file name="Focum.php" hash="cc242ee202d45176ff1265ca445ec937"/><file name="Giropay.php" hash="712d77e79fcab547ca5544b7e6b2807f"/><file name="Ideal.php" hash="45d11ae70ca002c9c2f10431d65f388e"/><file name="IdealInfo.php" hash="f2be70b33ab781c89a25c4be6f738067"/><file name="Klarna.php" hash="8b529f2c376fd78888b91d8d73339118"/><file name="Klarnaacc.php" hash="2923d73bb1a9b8ad712d7671c6012e37"/><file name="Overboeking.php" hash="87050fba1fb782fce9e02e5c8095ef2e"/></dir><file name="Redirect.php" hash="5bcfdb6c48379aa435f15db6543e1cc3"/></dir><dir name="Helper"><file name="Data.php" hash="42c4a6fdcc9e0c827829f54144775fb6"/><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="414b9f57a3e10811d4ba7eb3ca5ad227"/><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="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="028a8cb928c8fe1fd84645a5427ceae1"/><file name="Paypalec.php" hash="8f802ac3efc8709ab17e130671b1c8dd"/><file name="Sofort.php" hash="f9ebf43bda7ffd62582c869a5ba5014b"/><file name="Visa.php" hash="0214e927261846df04892bdf2c048792"/><file name="WebshopGiftcard.php" hash="3ea06c83b6c0d1f87f1d61dcbf3a55c7"/></dir><dir name="Observer"><file name="Order.php" hash="99db52231b8fe6c80ed653e19dc6a34e"/><file name="Paymentfee.php" hash="78835217b2b6875e14da8b6630c21456"/><file name="Sendebill.php" hash="95adb35fbd55ac3c8c077cd6a54050b5"/><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="a1f3b4fe8070a46ce84b156d9db44a6c"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="dee9658ecd645beab234ec0a762cc359"/><file name="NotifyController.php" hash="4793822e1b937191ace1f2925038082f"/></dir><dir name="etc"><file name="config.xml" hash="ddba67aa987ad9329633801aa201bfd9"/><file name="system.xml" hash="eb7e6cb9d8d49644033a2301b71d88bd"/></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="200cebfa46ff85c95fdc0cedda4441a4"/><file name="default_info.phtml" hash="94eeee994f2f21dc36489f6b7824e616"/><file name="eps_form.phtml" hash="d10abfa8bf5855365ac66fadd08496f3"/><file name="focum_form.phtml" hash="d52d5c0461e2dd6c79ed039a41c76b58"/><file name="giropay_form.phtml" hash="4d3a59d783b8212b8702f9d756083911"/><file name="ideal_form.phtml" hash="37f399e0cd922e70586a3be6a00f76a3"/><file name="ideal_info.phtml" hash="88e15559e2f0cca9744b4dae1a81a1ea"/><file name="klarna_form.phtml" hash="8a232f3e8f6e3bcf453298a922dd26bf"/><file name="klarnaacc_form.phtml" hash="c2e32986bbd9a95bea23b1ff8d49ef0e"/><file name="overboeking_form.phtml" hash="164e244d6df230f20f460012fc72a7d8"/></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></dir></dir></target></contents>
25
<compatible/>
26
<dependencies/>
27
</package>
1
<?xml version="1.0"?>
2
<package>
3
<name>sisowpayment</name>
4
+ <version>4.2.3</version>
5
+ <stability>stable</stability>
6
<license/>
7
<channel>community</channel>
8
<extends/>
17
Klarna Invoice&#xD;
18
MisterCash&#xD;
19
Sofort</description>
20
+ <notes>Fix: payment method could not be found</notes>
21
<authors><author><name>Sisow</name><user>auto-converted</user><email>support@sisow.nl</email></author></authors>
22
+ <date>2015-03-10</date>
23
+ <time>07:47:21</time>
24
+ <contents><target name="magelocale"><dir name="nl_NL"><file name="Sisow.csv" hash="3c34bbc6892ce908fe3880bf52866b46"/></dir></target><target name="mageetc"><dir name="modules"><file name="Sisow.xml" hash="7da3fbd82a48d5428b8c723bafbb946b"/></dir></target><target name="magelocal"><dir name="Sisow"><dir name="Block"><dir name="Adminhtml"><file name="Notice.php" hash="56154d92843b3c8a205837010405923e"/></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="bddf58a2a12dae02e5061b04e68345da"/><file name="Default.php" hash="b1c2947be1e0e731a5aea8757f038018"/><file name="DefaultInfo.php" hash="12bc768b15a910295c911f4790ae936a"/><file name="Eps.php" hash="561dd123d17e0b8b44c8d365d0bc4e00"/><file name="Focum.php" hash="cc242ee202d45176ff1265ca445ec937"/><file name="Giropay.php" hash="712d77e79fcab547ca5544b7e6b2807f"/><file name="Ideal.php" hash="45d11ae70ca002c9c2f10431d65f388e"/><file name="IdealInfo.php" hash="f2be70b33ab781c89a25c4be6f738067"/><file name="Klarna.php" hash="8b529f2c376fd78888b91d8d73339118"/><file name="Klarnaacc.php" hash="2923d73bb1a9b8ad712d7671c6012e37"/><file name="Overboeking.php" hash="87050fba1fb782fce9e02e5c8095ef2e"/></dir><file name="Redirect.php" hash="17411dd8ed1551affc0b328d07aecfed"/></dir><dir name="Helper"><file name="Data.php" hash="42c4a6fdcc9e0c827829f54144775fb6"/><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="414b9f57a3e10811d4ba7eb3ca5ad227"/><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="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="028a8cb928c8fe1fd84645a5427ceae1"/><file name="Paypalec.php" hash="8f802ac3efc8709ab17e130671b1c8dd"/><file name="Sofort.php" hash="f9ebf43bda7ffd62582c869a5ba5014b"/><file name="Visa.php" hash="0214e927261846df04892bdf2c048792"/><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="95adb35fbd55ac3c8c077cd6a54050b5"/><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="a1f3b4fe8070a46ce84b156d9db44a6c"/></dir><dir name="controllers"><file name="CheckoutController.php" hash="f9a7575bdd75cad75286f3901f54d0b4"/><file name="NotifyController.php" hash="4793822e1b937191ace1f2925038082f"/></dir><dir name="etc"><file name="config.xml" hash="e931b6fc3bbfe92460a48803ff7ab638"/><file name="system.xml" hash="eb7e6cb9d8d49644033a2301b71d88bd"/></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="200cebfa46ff85c95fdc0cedda4441a4"/><file name="default_info.phtml" hash="94eeee994f2f21dc36489f6b7824e616"/><file name="eps_form.phtml" hash="d10abfa8bf5855365ac66fadd08496f3"/><file name="focum_form.phtml" hash="d52d5c0461e2dd6c79ed039a41c76b58"/><file name="giropay_form.phtml" hash="f31443e186b7c7ebc8f29ffaa210b6d0"/><file name="ideal_form.phtml" hash="37f399e0cd922e70586a3be6a00f76a3"/><file name="ideal_info.phtml" hash="88e15559e2f0cca9744b4dae1a81a1ea"/><file name="klarna_form.phtml" hash="8a232f3e8f6e3bcf453298a922dd26bf"/><file name="klarnaacc_form.phtml" hash="c2e32986bbd9a95bea23b1ff8d49ef0e"/><file name="overboeking_form.phtml" hash="164e244d6df230f20f460012fc72a7d8"/></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></dir></dir></target></contents>
25
<compatible/>
26
<dependencies/>
27
</package>