Skip to content

Commit 81dec4f

Browse files
authored
Merge pull request #11 from paynl/feature/PLUG-4202
PLUG-4202 - Remove iDEAL issuers
2 parents b107c0e + 65420a3 commit 81dec4f

File tree

5 files changed

+1
-99
lines changed

5 files changed

+1
-99
lines changed

app/code/community/Pay/Payment/Block/Form/Ideal.php

-26
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,5 @@ class Pay_Payment_Block_Form_Ideal extends Pay_Payment_Block_Form_Abstract {
1010
protected $paymentMethodId = 10;
1111
protected $paymentMethodName = 'iDEAL';
1212
protected $methodCode = 'pay_payment_ideal';
13-
1413
protected $template = 'pay/payment/form/default.phtml';
15-
16-
/**
17-
* Constructor. Set template.
18-
*/
19-
protected function _construct() {
20-
$bankSelectType = Mage::getStoreConfig('payment/pay_payment_ideal/bank_select_type', Mage::app()->getStore());
21-
22-
if ($bankSelectType == 'radio') {
23-
$this->template = 'pay/payment/form/ideal.phtml';
24-
} elseif($bankSelectType == 'select') {
25-
$this->template = 'pay/payment/form/idealSelect.phtml';
26-
} else {
27-
$this->template = 'pay/payment/form/default.phtml';
28-
}
29-
30-
return parent::_construct();
31-
}
32-
33-
protected function getBanks() {
34-
$helper = Mage::helper('pay_payment');
35-
$option = $helper->getOption(Pay_Payment_Model_PaymentMethod_Ideal::OPTION_ID);
36-
$banks = $option->getSubs();
37-
return $banks;
38-
}
39-
4014
}

app/code/community/Pay/Payment/etc/config.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<config>
33
<modules>
44
<Pay_Payment>
5-
<version>3.18.0</version>
5+
<version>3.18.1</version>
66
</Pay_Payment>
77
</modules>
88
<global>

app/code/community/Pay/Payment/etc/system.xml

-27
Original file line numberDiff line numberDiff line change
@@ -9262,33 +9262,6 @@
92629262
<show_in_store>1</show_in_store>
92639263
<config_path>payment/pay_payment_ideal/title</config_path>
92649264
</title>
9265-
<bank_select_type translate="label">
9266-
<depends>
9267-
<active>1</active>
9268-
</depends>
9269-
<label>Bank selectie type</label>
9270-
<comment>Kies of je de bankselectie met een selectbox of met radiobuttons wilt weergeven in checkout
9271-
</comment>
9272-
<frontend_type>select</frontend_type>
9273-
<source_model>pay_payment/source_paymentmethod_ideal_selecttype</source_model>
9274-
<sort_order>3</sort_order>
9275-
<show_in_default>1</show_in_default>
9276-
<show_in_website>1</show_in_website>
9277-
<show_in_store>1</show_in_store>
9278-
<config_path>payment/pay_payment_ideal/bank_select_type</config_path>
9279-
</bank_select_type>
9280-
<text_bankselect translate="label">
9281-
<depends>
9282-
<active>1</active>
9283-
</depends>
9284-
<label>Text bij bankselectie</label>
9285-
<frontend_type>text</frontend_type>
9286-
<sort_order>4</sort_order>
9287-
<show_in_default>1</show_in_default>
9288-
<show_in_website>1</show_in_website>
9289-
<show_in_store>1</show_in_store>
9290-
<config_path>payment/pay_payment_ideal/text_bankselect</config_path>
9291-
</text_bankselect>
92929265
<sort_order translate="label">
92939266
<depends>
92949267
<active>1</active>

app/design/frontend/base/default/template/pay/payment/form/ideal.phtml

-20
This file was deleted.

app/design/frontend/base/default/template/pay/payment/form/idealSelect.phtml

-25
This file was deleted.

0 commit comments

Comments
 (0)