Skip to content

Commit 754854b

Browse files
authored
Merge pull request #4 from paynl/feature/PLUG-1585
PLUG-1585 - Add biller
2 parents 13ddaee + 508f0ea commit 754854b

File tree

5 files changed

+332
-1
lines changed

5 files changed

+332
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
class Pay_Payment_Block_Form_Biller extends Pay_Payment_Block_Form_Abstract {
4+
5+
protected $paymentMethodId = Pay_Payment_Model_Paymentmethod_Biller::OPTION_ID;
6+
protected $paymentMethodName = 'Biller';
7+
protected $template = 'pay/payment/form/default.phtml';
8+
protected $methodCode = 'pay_payment_biller';
9+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
class Pay_Payment_Model_Paymentmethod_Biller extends Pay_Payment_Model_Paymentmethod {
3+
const OPTION_ID = 2931;
4+
protected $_paymentOptionId = 2931;
5+
protected $_code = 'pay_payment_biller';
6+
protected $_formBlockType = 'pay_payment/form_biller';
7+
}
8+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?php
2+
class Pay_Payment_Model_Source_Paymentmethod_Biller_Active extends Pay_Payment_Model_Source_Paymentmethod_Active{
3+
protected $_option_id = Pay_Payment_Model_Paymentmethod_Biller::OPTION_ID;
4+
}

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

+15-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<config>
33
<modules>
44
<Pay_Payment>
5-
<version>3.15.1</version>
5+
<version>3.16.0</version>
66
</Pay_Payment>
77
</modules>
88
<global>
@@ -798,6 +798,20 @@
798798
<ask_data_business>0</ask_data_business>
799799
<limit_shipping>0</limit_shipping>
800800
</pay_payment_applepay>
801+
<pay_payment_biller>
802+
<active>0</active>
803+
<invoice_email>1</invoice_email>
804+
<model>pay_payment/Paymentmethod_Biller</model>
805+
<title>Biller</title>
806+
<payment_action>authorize</payment_action>
807+
<order_status>pending_payment</order_status>
808+
<order_status_success>processing</order_status_success>
809+
<order_status_verify>pending_payment</order_status_verify>
810+
<send_mail>success</send_mail>
811+
<ask_data_personal>0</ask_data_personal>
812+
<ask_data_business>0</ask_data_business>
813+
<limit_shipping>0</limit_shipping>
814+
</pay_payment_biller>
801815
<pay_payment_focum>
802816
<active>0</active>
803817
<invoice_email>1</invoice_email>

0 commit comments

Comments
 (0)