File tree 5 files changed +344
-0
lines changed
5 files changed +344
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ class Pay_Payment_Block_Form_Afterpayint extends Pay_Payment_Block_Form_Abstract {
4
+
5
+ protected $ paymentMethodId = Pay_Payment_Model_Paymentmethod_Afterpayint::OPTION_ID ;
6
+ protected $ paymentMethodName = 'Afterpay International ' ;
7
+ protected $ methodCode = 'pay_payment_afterpayint ' ;
8
+
9
+ protected $ template = 'pay/payment/form/afterpay.phtml ' ;
10
+
11
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Pay_Payment_Model_Paymentmethod_Afterpayint extends Pay_Payment_Model_Paymentmethod {
3
+ const OPTION_ID = 2561 ;
4
+ protected $ _paymentOptionId = 2561 ;
5
+ protected $ _code = 'pay_payment_afterpayint ' ;
6
+ protected $ _formBlockType = 'pay_payment/form_afterpayint ' ;
7
+ }
8
+
Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Pay_Payment_Model_Source_Paymentmethod_Afterpayint_Active extends Pay_Payment_Model_Source_Paymentmethod_Active{
3
+ protected $ _option_id = Pay_Payment_Model_Paymentmethod_Afterpayint::OPTION_ID ;
4
+ }
Original file line number Diff line number Diff line change 609
609
<send_mail >success</send_mail >
610
610
<limit_shipping >0</limit_shipping >
611
611
</pay_payment_afterpayem >
612
+ <pay_payment_afterpayint >
613
+ <active >0</active >
614
+ <invoice_email >1</invoice_email >
615
+ <model >pay_payment/Paymentmethod_Afterpayint</model >
616
+ <title >Afterpay International</title >
617
+ <payment_action >authorize</payment_action >
618
+ <order_status >pending_payment</order_status >
619
+ <order_status_success >processing</order_status_success >
620
+ <order_status_verify >pending_payment</order_status_verify >
621
+ <send_mail >success</send_mail >
622
+ <limit_shipping >0</limit_shipping >
623
+ </pay_payment_afterpayint >
612
624
<pay_payment_telefoon >
613
625
<active >0</active >
614
626
<invoice_email >1</invoice_email >
You can’t perform that action at this time.
0 commit comments