Version Notes
Sisow plug and play, processing different payment methods from different countries. No programming, customization or coding needed! Sisow is a collecting payment provider in the Netherlands. Sisow collects the payments and distributes them to the owner of the webshop.
Download this release
Release Info
Developer | Magento Core Team |
Extension | sisowpayment |
Version | 4.5.3 |
Comparing to | |
See all releases |
Code changes from version 4.5.2 to 4.5.3
app/code/local/Sisow/Block/Redirect.php
CHANGED
@@ -208,8 +208,12 @@ class Sisow_Block_Redirect extends Mage_Core_Block_Abstract
|
|
208 |
if($method == 'klarnaacc')
|
209 |
$arg['pclass'] = $_GET['pclass'];
|
210 |
}
|
211 |
-
|
212 |
-
|
|
|
|
|
|
|
|
|
213 |
$arg['tax'] = round( ($order->getBaseTaxAmount() * 100.0) );
|
214 |
$arg['weight'] = round( ($order->getWeight() * 100.0) );
|
215 |
$arg['shipping'] = round( ($order->getBaseShippingAmount() * 100.0) );
|
@@ -238,7 +242,11 @@ class Sisow_Block_Redirect extends Mage_Core_Block_Abstract
|
|
238 |
if(isset($_GET['issuer']))
|
239 |
$base->issuerId = $_GET['issuer'];
|
240 |
|
241 |
-
|
|
|
|
|
|
|
|
|
242 |
if ($method == 'overboeking') {
|
243 |
$base->purchaseId = $order->getCustomerId() . $orderIncrementId;
|
244 |
$base->entranceCode = $orderIncrementId;
|
208 |
if($method == 'klarnaacc')
|
209 |
$arg['pclass'] = $_GET['pclass'];
|
210 |
}
|
211 |
+
|
212 |
+
if(Mage::getStoreConfig('sisow_core/basecurrency'))
|
213 |
+
$arg['currency'] = $order->getBaseCurrencyCode();
|
214 |
+
else
|
215 |
+
$arg['currency'] = $order->getOrderCurrencyCode();
|
216 |
+
|
217 |
$arg['tax'] = round( ($order->getBaseTaxAmount() * 100.0) );
|
218 |
$arg['weight'] = round( ($order->getWeight() * 100.0) );
|
219 |
$arg['shipping'] = round( ($order->getBaseShippingAmount() * 100.0) );
|
242 |
if(isset($_GET['issuer']))
|
243 |
$base->issuerId = $_GET['issuer'];
|
244 |
|
245 |
+
if(Mage::getStoreConfig('sisow_core/basecurrency'))
|
246 |
+
$base->amount = $order->getBaseGrandTotal();
|
247 |
+
else
|
248 |
+
$base->amount = $order->getGrandTotal();
|
249 |
+
|
250 |
if ($method == 'overboeking') {
|
251 |
$base->purchaseId = $order->getCustomerId() . $orderIncrementId;
|
252 |
$base->entranceCode = $orderIncrementId;
|
app/code/local/Sisow/Model/Base.php
CHANGED
@@ -286,6 +286,8 @@ class Sisow_Model_Base extends Mage_Core_Model_Abstract
|
|
286 |
$pars = array();
|
287 |
$pars["merchantid"] = $this->merchantId;
|
288 |
$pars["trxid"] = $trxid;
|
|
|
|
|
289 |
$pars["sha1"] = sha1($trxid . $this->merchantId . $this->merchantKey);
|
290 |
if (!$this->send("RefundRequest", $pars))
|
291 |
return -1;
|
286 |
$pars = array();
|
287 |
$pars["merchantid"] = $this->merchantId;
|
288 |
$pars["trxid"] = $trxid;
|
289 |
+
if($this->amount > 0)
|
290 |
+
$pars["amount"] = round($this->amount * 100.0);
|
291 |
$pars["sha1"] = sha1($trxid . $this->merchantId . $this->merchantKey);
|
292 |
if (!$this->send("RefundRequest", $pars))
|
293 |
return -1;
|
app/code/local/Sisow/etc/system.xml
CHANGED
@@ -87,6 +87,17 @@
|
|
87 |
<show_in_website>1</show_in_website>
|
88 |
<show_in_store>1</show_in_store>
|
89 |
</keepcart>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
<order_status_success translate="label">
|
91 |
<label>Order status 'success'</label>
|
92 |
<frontend_type>select</frontend_type>
|
87 |
<show_in_website>1</show_in_website>
|
88 |
<show_in_store>1</show_in_store>
|
89 |
</keepcart>
|
90 |
+
<basecurrency translate="label">
|
91 |
+
<label>Base Currency</label>
|
92 |
+
<comment><![CDATA[Use on every order the Base Currency of the store.]]></comment>
|
93 |
+
<frontend_type>select</frontend_type>
|
94 |
+
<config_path>sisow_core/basecurrency</config_path>
|
95 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
96 |
+
<sort_order>38</sort_order>
|
97 |
+
<show_in_default>1</show_in_default>
|
98 |
+
<show_in_website>1</show_in_website>
|
99 |
+
<show_in_store>1</show_in_store>
|
100 |
+
</basecurrency>
|
101 |
<order_status_success translate="label">
|
102 |
<label>Order status 'success'</label>
|
103 |
<frontend_type>select</frontend_type>
|
app/design/frontend/base/default/template/sisow/checkout/giropay_form.phtml
CHANGED
@@ -6,7 +6,7 @@ $_paymentfee = $this->getFee();
|
|
6 |
( function($) {
|
7 |
// we can now rely on $ within the safety of our "bodyguard" function
|
8 |
$(document).ready(function() {
|
9 |
-
|
10 |
});
|
11 |
} ) ( jQuery );
|
12 |
|
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 |
|
package.xml
CHANGED
@@ -1,20 +1,19 @@
|
|
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>
|
8 |
<extends/>
|
9 |
-
<summary>Update 4.5.
|
10 |
-
<description>Fix:
|
11 |
-
|
12 |
-
Fix: Expired Success Notify</description>
|
13 |
<notes>Sisow plug and play, processing different payment methods from different countries. No programming, customization or coding needed! Sisow is a collecting payment provider in the Netherlands. Sisow collects the payments and distributes them to the owner of the webshop.</notes>
|
14 |
<authors><author><name>Sisow</name><user>auto-converted</user><email>info@sisow.nl</email></author></authors>
|
15 |
-
<date>2016-
|
16 |
-
<time>08:
|
17 |
-
<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="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="
|
18 |
<compatible/>
|
19 |
<dependencies/>
|
20 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>sisowpayment</name>
|
4 |
+
<version>4.5.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
+
<summary>Update 4.5.3 for Sisow plug-in</summary>
|
10 |
+
<description>Fix: Partial Refund gives right amount
|
11 |
+
Add: Option to use BaseCurrency or OrderCurrency</description>
|
|
|
12 |
<notes>Sisow plug and play, processing different payment methods from different countries. No programming, customization or coding needed! Sisow is a collecting payment provider in the Netherlands. Sisow collects the payments and distributes them to the owner of the webshop.</notes>
|
13 |
<authors><author><name>Sisow</name><user>auto-converted</user><email>info@sisow.nl</email></author></authors>
|
14 |
+
<date>2016-02-12</date>
|
15 |
+
<time>08:42:44</time>
|
16 |
+
<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="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="47b8244c72595696e913354e09fc9c9d"/></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="c9019e661566e87877031a14d2681cc4"/><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="0c39ef3b5c5124eeb374d961b75bdf56"/></dir><dir name="etc"><file name="config.xml" hash="22c0604b314c63478c39ba96023b1886"/><file name="system.xml" hash="bfda7d46ea42300de9311cef6bc007cd"/></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="1754daa2e750bee86d28c8f420ce097c"/><file name="focum_form.phtml" hash="e9f87861ec8b28b4936ac57b93e14269"/><file name="giropay_form.phtml" hash="712362c1639f8427b219ce70dd9eec50"/><file name="ideal_form.phtml" hash="d6fc9f0477ffb5b30250de428bdda5f8"/><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 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="916f9b4ce70529a44cbe41237a8b714e"/></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>
|
17 |
<compatible/>
|
18 |
<dependencies/>
|
19 |
</package>
|