Version Notes
Fix: replaced $_GET method
Download this release
Release Info
| Developer | Magento Core Team |
| Extension | sisowpayment |
| Version | 4.5.6 |
| Comparing to | |
| See all releases | |
Code changes from version 4.5.5 to 4.5.6
- app/code/local/Sisow/Block/Paymentmethod/Creditcard.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Default.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Eps.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Focum.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Giropay.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Ideal.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Klarna.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Klarnaacc.php +5 -0
- app/code/local/Sisow/Block/Paymentmethod/Overboeking.php +5 -0
- app/code/local/Sisow/Model/Methods/Abstract.php +17 -0
- app/code/local/Sisow/controllers/CheckoutController.php +12 -8
- app/code/local/Sisow/etc/system.xml +130 -2
- app/design/frontend/base/default/template/sisow/checkout/default_form.phtml +10 -2
- app/design/frontend/base/default/template/sisow/checkout/eps_form.phtml +8 -0
- app/design/frontend/base/default/template/sisow/checkout/focum_form.phtml +8 -0
- app/design/frontend/base/default/template/sisow/checkout/ideal_form.phtml +7 -0
- app/design/frontend/base/default/template/sisow/checkout/klarna_form.phtml +9 -0
- app/design/frontend/base/default/template/sisow/checkout/klarnaacc_form.phtml +7 -0
- app/design/frontend/base/default/template/sisow/checkout/overboeking_form.phtml +13 -6
- app/locale/nl_NL/Sisow.csv +3 -1
- package.xml +5 -5
app/code/local/Sisow/Block/Paymentmethod/Creditcard.php
CHANGED
|
@@ -30,5 +30,10 @@ class Sisow_Block_Paymentmethod_CreditCard extends Mage_Payment_Block_Form
|
|
| 30 |
{
|
| 31 |
return $this->getMethod()->getFeeArray();
|
| 32 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
}
|
| 34 |
?>
|
| 30 |
{
|
| 31 |
return $this->getMethod()->getFeeArray();
|
| 32 |
}
|
| 33 |
+
|
| 34 |
+
public function getInstructions()
|
| 35 |
+
{
|
| 36 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 37 |
+
}
|
| 38 |
}
|
| 39 |
?>
|
app/code/local/Sisow/Block/Paymentmethod/Default.php
CHANGED
|
@@ -11,5 +11,10 @@ class Sisow_Block_Paymentmethod_Default extends Mage_Payment_Block_Form
|
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
?>
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
+
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
}
|
| 20 |
?>
|
app/code/local/Sisow/Block/Paymentmethod/Eps.php
CHANGED
|
@@ -11,5 +11,10 @@ class Sisow_Block_Paymentmethod_Eps extends Mage_Payment_Block_Form
|
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
?>
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
+
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
}
|
| 20 |
?>
|
app/code/local/Sisow/Block/Paymentmethod/Focum.php
CHANGED
|
@@ -16,6 +16,11 @@ class Sisow_Block_Paymentmethod_Focum extends Mage_Payment_Block_Form
|
|
| 16 |
return $this->getMethod()->getPhone();
|
| 17 |
}
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
public function getDates()
|
| 20 |
{
|
| 21 |
$days = array();
|
| 16 |
return $this->getMethod()->getPhone();
|
| 17 |
}
|
| 18 |
|
| 19 |
+
public function getInstructions()
|
| 20 |
+
{
|
| 21 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
public function getDates()
|
| 25 |
{
|
| 26 |
$days = array();
|
app/code/local/Sisow/Block/Paymentmethod/Giropay.php
CHANGED
|
@@ -11,5 +11,10 @@ class Sisow_Block_Paymentmethod_Giropay extends Mage_Payment_Block_Form
|
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
?>
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
+
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
}
|
| 20 |
?>
|
app/code/local/Sisow/Block/Paymentmethod/Ideal.php
CHANGED
|
@@ -23,5 +23,10 @@ class Sisow_Block_Paymentmethod_Ideal extends Mage_Payment_Block_Form
|
|
| 23 |
{
|
| 24 |
return $this->getMethod()->getFeeArray();
|
| 25 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
}
|
| 27 |
?>
|
| 23 |
{
|
| 24 |
return $this->getMethod()->getFeeArray();
|
| 25 |
}
|
| 26 |
+
|
| 27 |
+
public function getInstructions()
|
| 28 |
+
{
|
| 29 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 30 |
+
}
|
| 31 |
}
|
| 32 |
?>
|
app/code/local/Sisow/Block/Paymentmethod/Klarna.php
CHANGED
|
@@ -12,6 +12,11 @@ class Sisow_Block_Paymentmethod_Klarna extends Mage_Payment_Block_Form
|
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
public function getPhone() {
|
| 16 |
return $this->getMethod()->getPhone();
|
| 17 |
}
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
public function getPhone() {
|
| 21 |
return $this->getMethod()->getPhone();
|
| 22 |
}
|
app/code/local/Sisow/Block/Paymentmethod/Klarnaacc.php
CHANGED
|
@@ -12,6 +12,11 @@ class Sisow_Block_Paymentmethod_Klarnaacc extends Mage_Payment_Block_Form
|
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
public function getPhone() {
|
| 16 |
return $this->getMethod()->getPhone();
|
| 17 |
}
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
public function getPhone() {
|
| 21 |
return $this->getMethod()->getPhone();
|
| 22 |
}
|
app/code/local/Sisow/Block/Paymentmethod/Overboeking.php
CHANGED
|
@@ -11,5 +11,10 @@ class Sisow_Block_Paymentmethod_Overboeking extends Mage_Payment_Block_Form
|
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
}
|
| 15 |
?>
|
| 11 |
{
|
| 12 |
return $this->getMethod()->getFeeArray();
|
| 13 |
}
|
| 14 |
+
|
| 15 |
+
public function getInstructions()
|
| 16 |
+
{
|
| 17 |
+
return $this->getMethod()->getPaymentInstructions();
|
| 18 |
+
}
|
| 19 |
}
|
| 20 |
?>
|
app/code/local/Sisow/Model/Methods/Abstract.php
CHANGED
|
@@ -34,6 +34,11 @@ abstract class Sisow_Model_Methods_Abstract extends Mage_Payment_Model_Method_Ab
|
|
| 34 |
$url .= 'method='.$this->_paymentcode;
|
| 35 |
return $url;
|
| 36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
public function getFeeArray()
|
| 39 |
{
|
|
@@ -105,9 +110,21 @@ abstract class Sisow_Model_Methods_Abstract extends Mage_Payment_Model_Method_Ab
|
|
| 105 |
else
|
| 106 |
{
|
| 107 |
Mage::getSingleton('adminhtml/session')->addSuccess( Mage::helper('sisow')->__("Klarna Invoice created") . '!' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
}
|
| 109 |
}
|
| 110 |
}
|
|
|
|
| 111 |
return $this;
|
| 112 |
}
|
| 113 |
|
| 34 |
$url .= 'method='.$this->_paymentcode;
|
| 35 |
return $url;
|
| 36 |
}
|
| 37 |
+
|
| 38 |
+
public function getPaymentInstructions()
|
| 39 |
+
{
|
| 40 |
+
return Mage::getStoreConfig('payment/sisow_'.$this->_paymentcode.'/instructions');
|
| 41 |
+
}
|
| 42 |
|
| 43 |
public function getFeeArray()
|
| 44 |
{
|
| 110 |
else
|
| 111 |
{
|
| 112 |
Mage::getSingleton('adminhtml/session')->addSuccess( Mage::helper('sisow')->__("Klarna Invoice created") . '!' );
|
| 113 |
+
|
| 114 |
+
$comm = $this->_paymentcode == 'focum' ? "Sisow: Focum Factuur aangemaakt. <br/>" : "Sisow: Klarna Factuur aangemaakt. <br/>";
|
| 115 |
+
if(!empty($base->invoiceNo))
|
| 116 |
+
{
|
| 117 |
+
$comm .= 'Factuurnummer: ' . $base->invoiceNo . '. <br/>';
|
| 118 |
+
if($this->_paymentcode == 'klarna' || $this->_paymentcode == 'klarnaacc')
|
| 119 |
+
$comm .= "<a href=\"https://online.klarna.com/invoices/".$base->invoiceNo.".pdf\" target=\"_blank\">Open Klarna Factuur</a>";
|
| 120 |
+
}
|
| 121 |
+
$order = $invoice->getOrder();
|
| 122 |
+
$order->addStatusHistoryComment($comm);
|
| 123 |
+
$order->save();
|
| 124 |
}
|
| 125 |
}
|
| 126 |
}
|
| 127 |
+
|
| 128 |
return $this;
|
| 129 |
}
|
| 130 |
|
app/code/local/Sisow/controllers/CheckoutController.php
CHANGED
|
@@ -10,7 +10,8 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
| 10 |
|
| 11 |
public function returnAction()
|
| 12 |
{
|
| 13 |
-
|
|
|
|
| 14 |
$url = Mage::getStoreConfig('sisow_core/url_success');
|
| 15 |
|
| 16 |
if(empty($url))
|
|
@@ -70,17 +71,20 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
| 70 |
|
| 71 |
public function notifyAction()
|
| 72 |
{
|
| 73 |
-
$orderid =
|
| 74 |
-
$trxid =
|
| 75 |
-
$status =
|
| 76 |
-
$sha1 =
|
|
|
|
|
|
|
|
|
|
| 77 |
|
| 78 |
/*
|
| 79 |
* Sisow
|
| 80 |
* Last Adjustment: 12-02-2014
|
| 81 |
* Url Check for Notify URL
|
| 82 |
*/
|
| 83 |
-
if($orderid == '' || $trxid == '' || $status == '' || $sha1 == '' || (!isset($
|
| 84 |
{
|
| 85 |
echo 'No Notify Url';
|
| 86 |
Mage::log($orderid . ': Incorrect NotifyUrl (request uri: '.$_SERVER['REQUEST_URI'].')', null, 'log_sisow.log');
|
|
@@ -167,7 +171,7 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
| 167 |
$order->sendNewOrderEmail();
|
| 168 |
|
| 169 |
if( $payment->getMethodInstance()->getCode() == 'sisow_overboeking' )
|
| 170 |
-
$base->trxId =
|
| 171 |
|
| 172 |
$mState = Mage_Sales_Model_Order::STATE_PROCESSING;
|
| 173 |
$mStatus = Mage::getStoreConfig('sisow_core/status_success');
|
|
@@ -190,7 +194,7 @@ class Sisow_CheckoutController extends Mage_Core_Controller_Front_Action
|
|
| 190 |
$order->sendNewOrderEmail();
|
| 191 |
|
| 192 |
if( $payment->getMethodInstance()->getCode() == 'sisow_overboeking' )
|
| 193 |
-
$base->trxId =
|
| 194 |
|
| 195 |
$mState = Mage_Sales_Model_Order::STATE_PROCESSING;
|
| 196 |
$mStatus = Mage::getStoreConfig('sisow_core/status_success');
|
| 10 |
|
| 11 |
public function returnAction()
|
| 12 |
{
|
| 13 |
+
$status = Mage::app()->getRequest()->getParam('status');
|
| 14 |
+
if ($status == 'Success') {
|
| 15 |
$url = Mage::getStoreConfig('sisow_core/url_success');
|
| 16 |
|
| 17 |
if(empty($url))
|
| 71 |
|
| 72 |
public function notifyAction()
|
| 73 |
{
|
| 74 |
+
$orderid = Mage::app()->getRequest()->getParam('ec');
|
| 75 |
+
$trxid = Mage::app()->getRequest()->getParam('trxid');
|
| 76 |
+
$status = Mage::app()->getRequest()->getParam('status');
|
| 77 |
+
$sha1 = Mage::app()->getRequest()->getParam('sha1');
|
| 78 |
+
|
| 79 |
+
$notify = Mage::app()->getRequest()->getParam('notify');
|
| 80 |
+
$callback = Mage::app()->getRequest()->getParam('callback');
|
| 81 |
|
| 82 |
/*
|
| 83 |
* Sisow
|
| 84 |
* Last Adjustment: 12-02-2014
|
| 85 |
* Url Check for Notify URL
|
| 86 |
*/
|
| 87 |
+
if($orderid == '' || $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');
|
| 171 |
$order->sendNewOrderEmail();
|
| 172 |
|
| 173 |
if( $payment->getMethodInstance()->getCode() == 'sisow_overboeking' )
|
| 174 |
+
$base->trxId = Mage::app()->getRequest()->getParam('trxid');
|
| 175 |
|
| 176 |
$mState = Mage_Sales_Model_Order::STATE_PROCESSING;
|
| 177 |
$mStatus = Mage::getStoreConfig('sisow_core/status_success');
|
| 194 |
$order->sendNewOrderEmail();
|
| 195 |
|
| 196 |
if( $payment->getMethodInstance()->getCode() == 'sisow_overboeking' )
|
| 197 |
+
$base->trxId = Mage::app()->getRequest()->getParam('trxid');
|
| 198 |
|
| 199 |
$mState = Mage_Sales_Model_Order::STATE_PROCESSING;
|
| 200 |
$mStatus = Mage::getStoreConfig('sisow_core/status_success');
|
app/code/local/Sisow/etc/system.xml
CHANGED
|
@@ -89,7 +89,7 @@
|
|
| 89 |
</keepcart>
|
| 90 |
<sisow_urlsuccess>
|
| 91 |
<label>Redirect url na 'Success'</label>
|
| 92 |
-
<comment><![CDATA[
|
| 93 |
<frontend_type>text</frontend_type>
|
| 94 |
<config_path>sisow_core/url_success</config_path>
|
| 95 |
<sort_order>315</sort_order>
|
|
@@ -101,7 +101,7 @@
|
|
| 101 |
<label>Redirect url na 'Failure'</label>
|
| 102 |
<frontend_type>text</frontend_type>
|
| 103 |
<config_path>sisow_core/url_failure</config_path>
|
| 104 |
-
<comment><![CDATA[
|
| 105 |
<sort_order>330</sort_order>
|
| 106 |
<show_in_default>1</show_in_default>
|
| 107 |
<show_in_website>1</show_in_website>
|
|
@@ -304,6 +304,14 @@
|
|
| 304 |
<show_in_website>1</show_in_website>
|
| 305 |
<show_in_store>1</show_in_store>
|
| 306 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 307 |
<payment_fee translate="label">
|
| 308 |
<label>Payment fee</label>
|
| 309 |
<config_path>payment/sisow_ideal/payment_fee</config_path>
|
|
@@ -458,6 +466,14 @@
|
|
| 458 |
<show_in_website>1</show_in_website>
|
| 459 |
<show_in_store>1</show_in_store>
|
| 460 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 461 |
<payment_fee translate="label">
|
| 462 |
<label>Payment fee</label>
|
| 463 |
<config_path>payment/sisow_mistercash/payment_fee</config_path>
|
|
@@ -612,6 +628,14 @@
|
|
| 612 |
<show_in_website>1</show_in_website>
|
| 613 |
<show_in_store>1</show_in_store>
|
| 614 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 615 |
<payment_fee translate="label">
|
| 616 |
<label>Payment fee</label>
|
| 617 |
<config_path>payment/sisow_homepay/payment_fee</config_path>
|
|
@@ -766,6 +790,14 @@
|
|
| 766 |
<show_in_website>1</show_in_website>
|
| 767 |
<show_in_store>1</show_in_store>
|
| 768 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 769 |
<payment_fee translate="label">
|
| 770 |
<label>Payment fee</label>
|
| 771 |
<config_path>payment/sisow_giropay/payment_fee</config_path>
|
|
@@ -920,6 +952,14 @@
|
|
| 920 |
<show_in_website>1</show_in_website>
|
| 921 |
<show_in_store>1</show_in_store>
|
| 922 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 923 |
<payment_fee translate="label">
|
| 924 |
<label>Payment fee</label>
|
| 925 |
<config_path>payment/sisow_sofort/payment_fee</config_path>
|
|
@@ -1074,6 +1114,14 @@
|
|
| 1074 |
<show_in_website>1</show_in_website>
|
| 1075 |
<show_in_store>1</show_in_store>
|
| 1076 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1077 |
<payment_fee translate="label">
|
| 1078 |
<label>Payment fee</label>
|
| 1079 |
<config_path>payment/sisow_eps/payment_fee</config_path>
|
|
@@ -1228,6 +1276,14 @@
|
|
| 1228 |
<show_in_website>1</show_in_website>
|
| 1229 |
<show_in_store>1</show_in_store>
|
| 1230 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1231 |
<payment_fee translate="label">
|
| 1232 |
<label>Payment fee</label>
|
| 1233 |
<config_path>payment/sisow_visa/payment_fee</config_path>
|
|
@@ -1382,6 +1438,14 @@
|
|
| 1382 |
<show_in_website>1</show_in_website>
|
| 1383 |
<show_in_store>1</show_in_store>
|
| 1384 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1385 |
<payment_fee translate="label">
|
| 1386 |
<label>Payment fee</label>
|
| 1387 |
<config_path>payment/sisow_mastercard/payment_fee</config_path>
|
|
@@ -1536,6 +1600,14 @@
|
|
| 1536 |
<show_in_website>1</show_in_website>
|
| 1537 |
<show_in_store>1</show_in_store>
|
| 1538 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1539 |
<payment_fee translate="label">
|
| 1540 |
<label>Payment fee</label>
|
| 1541 |
<config_path>payment/sisow_maestro/payment_fee</config_path>
|
|
@@ -1709,6 +1781,14 @@
|
|
| 1709 |
<show_in_website>1</show_in_website>
|
| 1710 |
<show_in_store>1</show_in_store>
|
| 1711 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1712 |
<payment_fee translate="label">
|
| 1713 |
<label>Payment fee</label>
|
| 1714 |
<config_path>payment/sisow_overboeking/payment_fee</config_path>
|
|
@@ -1863,6 +1943,14 @@
|
|
| 1863 |
<show_in_website>1</show_in_website>
|
| 1864 |
<show_in_store>1</show_in_store>
|
| 1865 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1866 |
<payment_fee translate="label">
|
| 1867 |
<label>Payment fee</label>
|
| 1868 |
<config_path>payment/sisow_paypalec/payment_fee</config_path>
|
|
@@ -2045,6 +2133,14 @@
|
|
| 2045 |
<show_in_website>1</show_in_website>
|
| 2046 |
<show_in_store>1</show_in_store>
|
| 2047 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2048 |
<payment_fee translate="label">
|
| 2049 |
<label>Payment fee</label>
|
| 2050 |
<config_path>payment/sisow_klarna/payment_fee</config_path>
|
|
@@ -2227,6 +2323,14 @@
|
|
| 2227 |
<show_in_website>1</show_in_website>
|
| 2228 |
<show_in_store>1</show_in_store>
|
| 2229 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2230 |
<payment_fee translate="label">
|
| 2231 |
<label>Payment fee</label>
|
| 2232 |
<config_path>payment/sisow_klarnaacc/payment_fee</config_path>
|
|
@@ -2371,6 +2475,14 @@
|
|
| 2371 |
<show_in_website>1</show_in_website>
|
| 2372 |
<show_in_store>1</show_in_store>
|
| 2373 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2374 |
<payment_fee translate="label">
|
| 2375 |
<label>Payment fee</label>
|
| 2376 |
<config_path>payment/sisow_focum/payment_fee</config_path>
|
|
@@ -2525,6 +2637,14 @@
|
|
| 2525 |
<show_in_website>1</show_in_website>
|
| 2526 |
<show_in_store>1</show_in_store>
|
| 2527 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2528 |
<payment_fee translate="label">
|
| 2529 |
<label>Payment fee</label>
|
| 2530 |
<config_path>payment/sisow_vvv/payment_fee</config_path>
|
|
@@ -2679,6 +2799,14 @@
|
|
| 2679 |
<show_in_website>1</show_in_website>
|
| 2680 |
<show_in_store>1</show_in_store>
|
| 2681 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2682 |
<payment_fee translate="label">
|
| 2683 |
<label>Payment fee</label>
|
| 2684 |
<config_path>payment/sisow_webshop/payment_fee</config_path>
|
| 89 |
</keepcart>
|
| 90 |
<sisow_urlsuccess>
|
| 91 |
<label>Redirect url na 'Success'</label>
|
| 92 |
+
<comment><![CDATA[Redirect URL after a success transaction, leave empty to use default.]]></comment>
|
| 93 |
<frontend_type>text</frontend_type>
|
| 94 |
<config_path>sisow_core/url_success</config_path>
|
| 95 |
<sort_order>315</sort_order>
|
| 101 |
<label>Redirect url na 'Failure'</label>
|
| 102 |
<frontend_type>text</frontend_type>
|
| 103 |
<config_path>sisow_core/url_failure</config_path>
|
| 104 |
+
<comment><![CDATA[Redirect URL after a failed transaction, leave empty to use default.]]></comment>
|
| 105 |
<sort_order>330</sort_order>
|
| 106 |
<show_in_default>1</show_in_default>
|
| 107 |
<show_in_website>1</show_in_website>
|
| 304 |
<show_in_website>1</show_in_website>
|
| 305 |
<show_in_store>1</show_in_store>
|
| 306 |
</specificcountry>
|
| 307 |
+
<instructions translate="label">
|
| 308 |
+
<label>Payment Instructions</label>
|
| 309 |
+
<config_path>payment/sisow_ideal/instructions</config_path>
|
| 310 |
+
<sort_order>105</sort_order>
|
| 311 |
+
<show_in_default>1</show_in_default>
|
| 312 |
+
<show_in_website>1</show_in_website>
|
| 313 |
+
<show_in_store>1</show_in_store>
|
| 314 |
+
</instructions>
|
| 315 |
<payment_fee translate="label">
|
| 316 |
<label>Payment fee</label>
|
| 317 |
<config_path>payment/sisow_ideal/payment_fee</config_path>
|
| 466 |
<show_in_website>1</show_in_website>
|
| 467 |
<show_in_store>1</show_in_store>
|
| 468 |
</specificcountry>
|
| 469 |
+
<instructions translate="label">
|
| 470 |
+
<label>Payment Instructions</label>
|
| 471 |
+
<config_path>payment/sisow_mistercash/instructions</config_path>
|
| 472 |
+
<sort_order>105</sort_order>
|
| 473 |
+
<show_in_default>1</show_in_default>
|
| 474 |
+
<show_in_website>1</show_in_website>
|
| 475 |
+
<show_in_store>1</show_in_store>
|
| 476 |
+
</instructions>
|
| 477 |
<payment_fee translate="label">
|
| 478 |
<label>Payment fee</label>
|
| 479 |
<config_path>payment/sisow_mistercash/payment_fee</config_path>
|
| 628 |
<show_in_website>1</show_in_website>
|
| 629 |
<show_in_store>1</show_in_store>
|
| 630 |
</specificcountry>
|
| 631 |
+
<instructions translate="label">
|
| 632 |
+
<label>Payment Instructions</label>
|
| 633 |
+
<config_path>payment/sisow_homepay/instructions</config_path>
|
| 634 |
+
<sort_order>105</sort_order>
|
| 635 |
+
<show_in_default>1</show_in_default>
|
| 636 |
+
<show_in_website>1</show_in_website>
|
| 637 |
+
<show_in_store>1</show_in_store>
|
| 638 |
+
</instructions>
|
| 639 |
<payment_fee translate="label">
|
| 640 |
<label>Payment fee</label>
|
| 641 |
<config_path>payment/sisow_homepay/payment_fee</config_path>
|
| 790 |
<show_in_website>1</show_in_website>
|
| 791 |
<show_in_store>1</show_in_store>
|
| 792 |
</specificcountry>
|
| 793 |
+
<instructions translate="label">
|
| 794 |
+
<label>Payment Instructions</label>
|
| 795 |
+
<config_path>payment/sisow_giropay/instructions</config_path>
|
| 796 |
+
<sort_order>105</sort_order>
|
| 797 |
+
<show_in_default>1</show_in_default>
|
| 798 |
+
<show_in_website>1</show_in_website>
|
| 799 |
+
<show_in_store>1</show_in_store>
|
| 800 |
+
</instructions>
|
| 801 |
<payment_fee translate="label">
|
| 802 |
<label>Payment fee</label>
|
| 803 |
<config_path>payment/sisow_giropay/payment_fee</config_path>
|
| 952 |
<show_in_website>1</show_in_website>
|
| 953 |
<show_in_store>1</show_in_store>
|
| 954 |
</specificcountry>
|
| 955 |
+
<instructions translate="label">
|
| 956 |
+
<label>Payment Instructions</label>
|
| 957 |
+
<config_path>payment/sisow_sofort/instructions</config_path>
|
| 958 |
+
<sort_order>105</sort_order>
|
| 959 |
+
<show_in_default>1</show_in_default>
|
| 960 |
+
<show_in_website>1</show_in_website>
|
| 961 |
+
<show_in_store>1</show_in_store>
|
| 962 |
+
</instructions>
|
| 963 |
<payment_fee translate="label">
|
| 964 |
<label>Payment fee</label>
|
| 965 |
<config_path>payment/sisow_sofort/payment_fee</config_path>
|
| 1114 |
<show_in_website>1</show_in_website>
|
| 1115 |
<show_in_store>1</show_in_store>
|
| 1116 |
</specificcountry>
|
| 1117 |
+
<instructions translate="label">
|
| 1118 |
+
<label>Payment Instructions</label>
|
| 1119 |
+
<config_path>payment/sisow_eps/instructions</config_path>
|
| 1120 |
+
<sort_order>105</sort_order>
|
| 1121 |
+
<show_in_default>1</show_in_default>
|
| 1122 |
+
<show_in_website>1</show_in_website>
|
| 1123 |
+
<show_in_store>1</show_in_store>
|
| 1124 |
+
</instructions>
|
| 1125 |
<payment_fee translate="label">
|
| 1126 |
<label>Payment fee</label>
|
| 1127 |
<config_path>payment/sisow_eps/payment_fee</config_path>
|
| 1276 |
<show_in_website>1</show_in_website>
|
| 1277 |
<show_in_store>1</show_in_store>
|
| 1278 |
</specificcountry>
|
| 1279 |
+
<instructions translate="label">
|
| 1280 |
+
<label>Payment Instructions</label>
|
| 1281 |
+
<config_path>payment/sisow_visa/instructions</config_path>
|
| 1282 |
+
<sort_order>105</sort_order>
|
| 1283 |
+
<show_in_default>1</show_in_default>
|
| 1284 |
+
<show_in_website>1</show_in_website>
|
| 1285 |
+
<show_in_store>1</show_in_store>
|
| 1286 |
+
</instructions>
|
| 1287 |
<payment_fee translate="label">
|
| 1288 |
<label>Payment fee</label>
|
| 1289 |
<config_path>payment/sisow_visa/payment_fee</config_path>
|
| 1438 |
<show_in_website>1</show_in_website>
|
| 1439 |
<show_in_store>1</show_in_store>
|
| 1440 |
</specificcountry>
|
| 1441 |
+
<instructions translate="label">
|
| 1442 |
+
<label>Payment Instructions</label>
|
| 1443 |
+
<config_path>payment/sisow_mastercard/instructions</config_path>
|
| 1444 |
+
<sort_order>105</sort_order>
|
| 1445 |
+
<show_in_default>1</show_in_default>
|
| 1446 |
+
<show_in_website>1</show_in_website>
|
| 1447 |
+
<show_in_store>1</show_in_store>
|
| 1448 |
+
</instructions>
|
| 1449 |
<payment_fee translate="label">
|
| 1450 |
<label>Payment fee</label>
|
| 1451 |
<config_path>payment/sisow_mastercard/payment_fee</config_path>
|
| 1600 |
<show_in_website>1</show_in_website>
|
| 1601 |
<show_in_store>1</show_in_store>
|
| 1602 |
</specificcountry>
|
| 1603 |
+
<instructions translate="label">
|
| 1604 |
+
<label>Payment Instructions</label>
|
| 1605 |
+
<config_path>payment/sisow_maestro/instructions</config_path>
|
| 1606 |
+
<sort_order>105</sort_order>
|
| 1607 |
+
<show_in_default>1</show_in_default>
|
| 1608 |
+
<show_in_website>1</show_in_website>
|
| 1609 |
+
<show_in_store>1</show_in_store>
|
| 1610 |
+
</instructions>
|
| 1611 |
<payment_fee translate="label">
|
| 1612 |
<label>Payment fee</label>
|
| 1613 |
<config_path>payment/sisow_maestro/payment_fee</config_path>
|
| 1781 |
<show_in_website>1</show_in_website>
|
| 1782 |
<show_in_store>1</show_in_store>
|
| 1783 |
</specificcountry>
|
| 1784 |
+
<instructions translate="label">
|
| 1785 |
+
<label>Payment Instructions</label>
|
| 1786 |
+
<config_path>payment/sisow_overboeking/instructions</config_path>
|
| 1787 |
+
<sort_order>105</sort_order>
|
| 1788 |
+
<show_in_default>1</show_in_default>
|
| 1789 |
+
<show_in_website>1</show_in_website>
|
| 1790 |
+
<show_in_store>1</show_in_store>
|
| 1791 |
+
</instructions>
|
| 1792 |
<payment_fee translate="label">
|
| 1793 |
<label>Payment fee</label>
|
| 1794 |
<config_path>payment/sisow_overboeking/payment_fee</config_path>
|
| 1943 |
<show_in_website>1</show_in_website>
|
| 1944 |
<show_in_store>1</show_in_store>
|
| 1945 |
</specificcountry>
|
| 1946 |
+
<instructions translate="label">
|
| 1947 |
+
<label>Payment Instructions</label>
|
| 1948 |
+
<config_path>payment/sisow_paypalec/instructions</config_path>
|
| 1949 |
+
<sort_order>105</sort_order>
|
| 1950 |
+
<show_in_default>1</show_in_default>
|
| 1951 |
+
<show_in_website>1</show_in_website>
|
| 1952 |
+
<show_in_store>1</show_in_store>
|
| 1953 |
+
</instructions>
|
| 1954 |
<payment_fee translate="label">
|
| 1955 |
<label>Payment fee</label>
|
| 1956 |
<config_path>payment/sisow_paypalec/payment_fee</config_path>
|
| 2133 |
<show_in_website>1</show_in_website>
|
| 2134 |
<show_in_store>1</show_in_store>
|
| 2135 |
</specificcountry>
|
| 2136 |
+
<instructions translate="label">
|
| 2137 |
+
<label>Payment Instructions</label>
|
| 2138 |
+
<config_path>payment/sisow_klarna/instructions</config_path>
|
| 2139 |
+
<sort_order>105</sort_order>
|
| 2140 |
+
<show_in_default>1</show_in_default>
|
| 2141 |
+
<show_in_website>1</show_in_website>
|
| 2142 |
+
<show_in_store>1</show_in_store>
|
| 2143 |
+
</instructions>
|
| 2144 |
<payment_fee translate="label">
|
| 2145 |
<label>Payment fee</label>
|
| 2146 |
<config_path>payment/sisow_klarna/payment_fee</config_path>
|
| 2323 |
<show_in_website>1</show_in_website>
|
| 2324 |
<show_in_store>1</show_in_store>
|
| 2325 |
</specificcountry>
|
| 2326 |
+
<instructions translate="label">
|
| 2327 |
+
<label>Payment Instructions</label>
|
| 2328 |
+
<config_path>payment/sisow_klarnaacc/instructions</config_path>
|
| 2329 |
+
<sort_order>105</sort_order>
|
| 2330 |
+
<show_in_default>1</show_in_default>
|
| 2331 |
+
<show_in_website>1</show_in_website>
|
| 2332 |
+
<show_in_store>1</show_in_store>
|
| 2333 |
+
</instructions>
|
| 2334 |
<payment_fee translate="label">
|
| 2335 |
<label>Payment fee</label>
|
| 2336 |
<config_path>payment/sisow_klarnaacc/payment_fee</config_path>
|
| 2475 |
<show_in_website>1</show_in_website>
|
| 2476 |
<show_in_store>1</show_in_store>
|
| 2477 |
</specificcountry>
|
| 2478 |
+
<instructions translate="label">
|
| 2479 |
+
<label>Payment Instructions</label>
|
| 2480 |
+
<config_path>payment/sisow_focum/instructions</config_path>
|
| 2481 |
+
<sort_order>105</sort_order>
|
| 2482 |
+
<show_in_default>1</show_in_default>
|
| 2483 |
+
<show_in_website>1</show_in_website>
|
| 2484 |
+
<show_in_store>1</show_in_store>
|
| 2485 |
+
</instructions>
|
| 2486 |
<payment_fee translate="label">
|
| 2487 |
<label>Payment fee</label>
|
| 2488 |
<config_path>payment/sisow_focum/payment_fee</config_path>
|
| 2637 |
<show_in_website>1</show_in_website>
|
| 2638 |
<show_in_store>1</show_in_store>
|
| 2639 |
</specificcountry>
|
| 2640 |
+
<instructions translate="label">
|
| 2641 |
+
<label>Payment Instructions</label>
|
| 2642 |
+
<config_path>payment/sisow_vvv/instructions</config_path>
|
| 2643 |
+
<sort_order>105</sort_order>
|
| 2644 |
+
<show_in_default>1</show_in_default>
|
| 2645 |
+
<show_in_website>1</show_in_website>
|
| 2646 |
+
<show_in_store>1</show_in_store>
|
| 2647 |
+
</instructions>
|
| 2648 |
<payment_fee translate="label">
|
| 2649 |
<label>Payment fee</label>
|
| 2650 |
<config_path>payment/sisow_vvv/payment_fee</config_path>
|
| 2799 |
<show_in_website>1</show_in_website>
|
| 2800 |
<show_in_store>1</show_in_store>
|
| 2801 |
</specificcountry>
|
| 2802 |
+
<instructions translate="label">
|
| 2803 |
+
<label>Payment Instructions</label>
|
| 2804 |
+
<config_path>payment/sisow_webshop/instructions</config_path>
|
| 2805 |
+
<sort_order>105</sort_order>
|
| 2806 |
+
<show_in_default>1</show_in_default>
|
| 2807 |
+
<show_in_website>1</show_in_website>
|
| 2808 |
+
<show_in_store>1</show_in_store>
|
| 2809 |
+
</instructions>
|
| 2810 |
<payment_fee translate="label">
|
| 2811 |
<label>Payment fee</label>
|
| 2812 |
<config_path>payment/sisow_webshop/payment_fee</config_path>
|
app/design/frontend/base/default/template/sisow/checkout/default_form.phtml
CHANGED
|
@@ -1,17 +1,25 @@
|
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
|
|
|
| 4 |
?>
|
| 5 |
|
| 6 |
<?php
|
| 7 |
-
if($_paymentfee['incl'] > 0)
|
| 8 |
{
|
| 9 |
?>
|
| 10 |
|
| 11 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 12 |
<li>
|
| 13 |
<?php
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
?>
|
| 16 |
</li>
|
| 17 |
</ul>
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
| 4 |
+
$_description = $this->getInstructions();
|
| 5 |
?>
|
| 6 |
|
| 7 |
<?php
|
| 8 |
+
if($_paymentfee['incl'] > 0 || !empty($_description))
|
| 9 |
{
|
| 10 |
?>
|
| 11 |
|
| 12 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 13 |
<li>
|
| 14 |
<?php
|
| 15 |
+
if($_paymentfee['incl'] > 0)
|
| 16 |
+
{
|
| 17 |
+
echo '<b>'. $this->__(Mage::getStoreConfig('payment/'.$_code.'/payment_fee_label')) .' ' . Mage::app()->getStore()->convertPrice($_paymentfee['incl'], true, true).'</b>';
|
| 18 |
+
}
|
| 19 |
+
if(!empty($_description))
|
| 20 |
+
{
|
| 21 |
+
echo '<p>' . $_description . '</p>';
|
| 22 |
+
}
|
| 23 |
?>
|
| 24 |
</li>
|
| 25 |
</ul>
|
app/design/frontend/base/default/template/sisow/checkout/eps_form.phtml
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
|
|
|
| 4 |
?>
|
| 5 |
<script>
|
| 6 |
var j = jQuery.noConflict();
|
|
@@ -17,6 +18,13 @@ j(document).ready(function() {
|
|
| 17 |
}
|
| 18 |
?>
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
<img src="<?php print_r(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . DS . 'sisow' . DS . 'logo' . DS . 'sisow_eps' . '.' . 'png'); ?>" width="60px">
|
| 22 |
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
| 4 |
+
$_description = $this->getInstructions();
|
| 5 |
?>
|
| 6 |
<script>
|
| 7 |
var j = jQuery.noConflict();
|
| 18 |
}
|
| 19 |
?>
|
| 20 |
|
| 21 |
+
<?php
|
| 22 |
+
if(!empty($_description))
|
| 23 |
+
{
|
| 24 |
+
echo '<p>' . $_description . '</p>';
|
| 25 |
+
}
|
| 26 |
+
?>
|
| 27 |
+
|
| 28 |
|
| 29 |
<img src="<?php print_r(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . DS . 'sisow' . DS . 'logo' . DS . 'sisow_eps' . '.' . 'png'); ?>" width="60px">
|
| 30 |
|
app/design/frontend/base/default/template/sisow/checkout/focum_form.phtml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
| 2 |
$paymentfee = $this->getFee();
|
| 3 |
$phone = $this->getPhone();
|
| 4 |
$_code = $this->getMethodCode();
|
|
|
|
| 5 |
|
| 6 |
?>
|
| 7 |
|
|
@@ -15,6 +16,13 @@ $_code = $this->getMethodCode();
|
|
| 15 |
}
|
| 16 |
?>
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
<br/>
|
| 19 |
<label for="sisow_gender"><?php echo $this->__('Salutation'); ?> <span class="required"></span></label>
|
| 20 |
<div class="input-box">
|
| 2 |
$paymentfee = $this->getFee();
|
| 3 |
$phone = $this->getPhone();
|
| 4 |
$_code = $this->getMethodCode();
|
| 5 |
+
$_description = $this->getInstructions();
|
| 6 |
|
| 7 |
?>
|
| 8 |
|
| 16 |
}
|
| 17 |
?>
|
| 18 |
|
| 19 |
+
<?php
|
| 20 |
+
if(!empty($_description))
|
| 21 |
+
{
|
| 22 |
+
echo '<p>' . $_description . '</p>';
|
| 23 |
+
}
|
| 24 |
+
?>
|
| 25 |
+
|
| 26 |
<br/>
|
| 27 |
<label for="sisow_gender"><?php echo $this->__('Salutation'); ?> <span class="required"></span></label>
|
| 28 |
<div class="input-box">
|
app/design/frontend/base/default/template/sisow/checkout/ideal_form.phtml
CHANGED
|
@@ -3,11 +3,18 @@ $_code = $this->getMethodCode();
|
|
| 3 |
$_issuers = $this->getIssuers();
|
| 4 |
$_choosenIssuer = $this->getInfoData('sisow_issuer');
|
| 5 |
$_paymentfee = $this->getFee();
|
|
|
|
| 6 |
?>
|
| 7 |
|
| 8 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 9 |
<li>
|
| 10 |
<img src="<?php print_r(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . DS . 'sisow' . DS . 'logo' . DS . 'sisow_ideal' . '.' . 'png'); ?>">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
<label for="<?php echo $_code ?>_issuer" class="required"><em>*</em><?php echo $this->__('Choose your bank'); ?>:</label>
|
| 12 |
<div class="input-box">
|
| 13 |
<select id="<?php echo $_code ?>_issuer" name="payment[sisow_issuer]" title="sisow_issuer" class="validate-select required-entry">
|
| 3 |
$_issuers = $this->getIssuers();
|
| 4 |
$_choosenIssuer = $this->getInfoData('sisow_issuer');
|
| 5 |
$_paymentfee = $this->getFee();
|
| 6 |
+
$_description = $this->getInstructions();
|
| 7 |
?>
|
| 8 |
|
| 9 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 10 |
<li>
|
| 11 |
<img src="<?php print_r(Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_MEDIA) . DS . 'sisow' . DS . 'logo' . DS . 'sisow_ideal' . '.' . 'png'); ?>">
|
| 12 |
+
<?php
|
| 13 |
+
if(!empty($_description))
|
| 14 |
+
{
|
| 15 |
+
echo '<p>' . $_description . '</p>';
|
| 16 |
+
}
|
| 17 |
+
?>
|
| 18 |
<label for="<?php echo $_code ?>_issuer" class="required"><em>*</em><?php echo $this->__('Choose your bank'); ?>:</label>
|
| 19 |
<div class="input-box">
|
| 20 |
<select id="<?php echo $_code ?>_issuer" name="payment[sisow_issuer]" title="sisow_issuer" class="validate-select required-entry">
|
app/design/frontend/base/default/template/sisow/checkout/klarna_form.phtml
CHANGED
|
@@ -5,6 +5,7 @@ $fee = $paymentfee['incl'];
|
|
| 5 |
$phone = $this->getPhone();
|
| 6 |
$_code = $this->getMethodCode();
|
| 7 |
$countryiso = $this->GetCountryIso();
|
|
|
|
| 8 |
|
| 9 |
$name = ($countryiso == "DE") ? "Klarna Rechnung" : "Klarna Factuur";
|
| 10 |
?>
|
|
@@ -28,6 +29,14 @@ $name = ($countryiso == "DE") ? "Klarna Rechnung" : "Klarna Factuur";
|
|
| 28 |
<?php
|
| 29 |
}
|
| 30 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 31 |
<!--<br/><b>Let op: verwerking/acceptatie kan tot 30 seconden duren.</b>
|
| 32 |
<br/>-->
|
| 33 |
<br/>
|
| 5 |
$phone = $this->getPhone();
|
| 6 |
$_code = $this->getMethodCode();
|
| 7 |
$countryiso = $this->GetCountryIso();
|
| 8 |
+
$_description = $this->getInstructions();
|
| 9 |
|
| 10 |
$name = ($countryiso == "DE") ? "Klarna Rechnung" : "Klarna Factuur";
|
| 11 |
?>
|
| 29 |
<?php
|
| 30 |
}
|
| 31 |
?>
|
| 32 |
+
|
| 33 |
+
<?php
|
| 34 |
+
if(!empty($_description))
|
| 35 |
+
{
|
| 36 |
+
echo '<p>' . $_description . '</p>';
|
| 37 |
+
}
|
| 38 |
+
?>
|
| 39 |
+
|
| 40 |
<!--<br/><b>Let op: verwerking/acceptatie kan tot 30 seconden duren.</b>
|
| 41 |
<br/>-->
|
| 42 |
<br/>
|
app/design/frontend/base/default/template/sisow/checkout/klarnaacc_form.phtml
CHANGED
|
@@ -7,6 +7,7 @@ $_code = $this->getMethodCode();
|
|
| 7 |
$monthly = $this->getMonthly();
|
| 8 |
$pclass = $this->getPclass();
|
| 9 |
$countryiso = $this->GetCountryIso();
|
|
|
|
| 10 |
|
| 11 |
$name = ($countryiso == "DE") ? "Klarna Ratenkauf" : "Klarna Account";
|
| 12 |
?>
|
|
@@ -19,6 +20,12 @@ $name = ($countryiso == "DE") ? "Klarna Ratenkauf" : "Klarna Account";
|
|
| 19 |
else
|
| 20 |
echo '<img src="https://cdn.klarna.com/public/images/NL/badges/v1/account/NL_account_badge_std_blue.png?width=125&eid='. Mage::getStoreConfig('payment/sisowpayments_klarnaacc/klarnaeid').'"/><br/>';
|
| 21 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
<?php echo $name; ?> - € <?php echo round($monthly / 100.0, 2); ?> / <?php echo $this->__('Month');?>
|
| 23 |
<br/>
|
| 24 |
<?php
|
| 7 |
$monthly = $this->getMonthly();
|
| 8 |
$pclass = $this->getPclass();
|
| 9 |
$countryiso = $this->GetCountryIso();
|
| 10 |
+
$_description = $this->getInstructions();
|
| 11 |
|
| 12 |
$name = ($countryiso == "DE") ? "Klarna Ratenkauf" : "Klarna Account";
|
| 13 |
?>
|
| 20 |
else
|
| 21 |
echo '<img src="https://cdn.klarna.com/public/images/NL/badges/v1/account/NL_account_badge_std_blue.png?width=125&eid='. Mage::getStoreConfig('payment/sisowpayments_klarnaacc/klarnaeid').'"/><br/>';
|
| 22 |
?>
|
| 23 |
+
<?php
|
| 24 |
+
if(!empty($_description))
|
| 25 |
+
{
|
| 26 |
+
echo '<p>' . $_description . '</p>';
|
| 27 |
+
}
|
| 28 |
+
?>
|
| 29 |
<?php echo $name; ?> - € <?php echo round($monthly / 100.0, 2); ?> / <?php echo $this->__('Month');?>
|
| 30 |
<br/>
|
| 31 |
<?php
|
app/design/frontend/base/default/template/sisow/checkout/overboeking_form.phtml
CHANGED
|
@@ -1,20 +1,27 @@
|
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
|
|
|
|
|
|
| 4 |
?>
|
| 5 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 6 |
<li class="form-alt">
|
| 7 |
-
<a href="http://www.sisow.nl" target="_blank"><img src="https://www.sisow.nl/Sisow/images/mail/sisowklein.jpg" alt="Sisow OverBoeking" /></a><br/>
|
| 8 |
-
<?php echo $this->__('You have chosen to pay in advance by bank transfer.'); ?><br/>
|
| 9 |
-
<?php echo $this->__('The processing is outsourced to Sisow B.V.'); ?><br/>
|
| 10 |
-
<br/>
|
| 11 |
-
<?php echo $this->__('You will receive an e-mail with information on how to complete your payment.'); ?>
|
| 12 |
-
|
| 13 |
<?php
|
| 14 |
if($_paymentfee['incl'] > 0)
|
| 15 |
{
|
| 16 |
echo '<br/><br/><b>'. $this->__(Mage::getStoreConfig('payment/'.$_code.'/payment_fee_label')) .' ' . Mage::app()->getStore()->convertPrice($_paymentfee['incl'], true, true).'</b>';
|
| 17 |
}
|
| 18 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</li>
|
| 20 |
</ul>
|
| 1 |
<?php
|
| 2 |
$_code = $this->getMethodCode();
|
| 3 |
$_paymentfee = $this->getFee();
|
| 4 |
+
$_description = $this->getInstructions();
|
| 5 |
+
|
| 6 |
?>
|
| 7 |
<ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none">
|
| 8 |
<li class="form-alt">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
<?php
|
| 10 |
if($_paymentfee['incl'] > 0)
|
| 11 |
{
|
| 12 |
echo '<br/><br/><b>'. $this->__(Mage::getStoreConfig('payment/'.$_code.'/payment_fee_label')) .' ' . Mage::app()->getStore()->convertPrice($_paymentfee['incl'], true, true).'</b>';
|
| 13 |
}
|
| 14 |
?>
|
| 15 |
+
<a href="http://www.sisow.nl" target="_blank"><img src="https://www.sisow.nl/Sisow/images/mail/sisowklein.jpg" alt="Sisow OverBoeking" /></a><br/>
|
| 16 |
+
<?php echo $this->__('You have chosen to pay in advance by bank transfer.'); ?><br/>
|
| 17 |
+
<?php echo $this->__('The processing is outsourced to Sisow B.V.'); ?><br/>
|
| 18 |
+
<br/>
|
| 19 |
+
<?php echo $this->__('You will receive an e-mail with information on how to complete your payment.'); ?>
|
| 20 |
+
<?php
|
| 21 |
+
if(!empty($_description))
|
| 22 |
+
{
|
| 23 |
+
echo '<p>' . $_description . '</p>';
|
| 24 |
+
}
|
| 25 |
+
?>
|
| 26 |
</li>
|
| 27 |
</ul>
|
app/locale/nl_NL/Sisow.csv
CHANGED
|
@@ -45,4 +45,6 @@
|
|
| 45 |
"After notification, including cancelled order", "Na notificatie, inc mislukte betalingen"
|
| 46 |
"After notification, excluding cancelled order", "Na notificatie, ex mislukte betalingen"
|
| 47 |
"Display paymentlogo", "Toon logo"
|
| 48 |
-
"Display payment method logo on checkout page.", "Toon logo van de betaalmogelijkheid in de checkout."
|
|
|
|
|
|
| 45 |
"After notification, including cancelled order", "Na notificatie, inc mislukte betalingen"
|
| 46 |
"After notification, excluding cancelled order", "Na notificatie, ex mislukte betalingen"
|
| 47 |
"Display paymentlogo", "Toon logo"
|
| 48 |
+
"Display payment method logo on checkout page.", "Toon logo van de betaalmogelijkheid in de checkout."
|
| 49 |
+
"Redirect URL after a success transaction, leave empty to use default.","Redirect URL na een success transactie, laat leeg om de standaard URL te gebruiken."
|
| 50 |
+
"Redirect URL after a failed transaction, leave empty to use default.","Redirect URL na een gefaalde transactie, laat leeg om de standaard URL te gebruiken."
|
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>
|
| 15 |
<authors><author><name>Sisow</name><user>auto-converted</user><email>info@sisow.nl</email></author></authors>
|
| 16 |
-
<date>2016-04-
|
| 17 |
-
<time>07:
|
| 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="
|
| 19 |
<compatible/>
|
| 20 |
<dependencies/>
|
| 21 |
</package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
<package>
|
| 3 |
<name>sisowpayment</name>
|
| 4 |
+
<version>4.5.6</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 $_GET method</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>09:07: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="d6767aa22b7837807a908a2ec6d9ce66"/></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>
|
