File tree 5 files changed +329
-0
lines changed
5 files changed +329
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ class Pay_Payment_Block_Form_Googlepay extends Pay_Payment_Block_Form_Abstract {
4
+
5
+ protected $ paymentMethodId = Pay_Payment_Model_Paymentmethod_Googlepay::OPTION_ID ;
6
+ protected $ paymentMethodName = 'Google Pay ' ;
7
+ protected $ methodCode = 'pay_payment_googlepay ' ;
8
+ protected $ template = 'pay/payment/form/google.phtml ' ;
9
+ }
Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Pay_Payment_Model_Paymentmethod_Googlepay extends Pay_Payment_Model_Paymentmethod {
3
+ const OPTION_ID = 2558 ;
4
+ protected $ _paymentOptionId = 2558 ;
5
+ protected $ _code = 'pay_payment_googlepay ' ;
6
+ protected $ _formBlockType = 'pay_payment/form_googlepay ' ;
7
+ }
8
+
Original file line number Diff line number Diff line change
1
+ <?php
2
+ class Pay_Payment_Model_Source_Paymentmethod_Googlepay_Active extends Pay_Payment_Model_Source_Paymentmethod_Active{
3
+ protected $ _option_id = Pay_Payment_Model_Paymentmethod_Googlepay::OPTION_ID ;
4
+ }
Original file line number Diff line number Diff line change 835
835
<send_mail >success</send_mail >
836
836
<limit_shipping >0</limit_shipping >
837
837
</pay_payment_good4fun >
838
+ <pay_payment_googlepay >
839
+ <active >0</active >
840
+ <invoice_email >1</invoice_email >
841
+ <model >pay_payment/Paymentmethod_Googlepay</model >
842
+ <title >Google Pay</title >
843
+ <payment_action >authorize</payment_action >
844
+ <order_status >pending_payment</order_status >
845
+ <order_status_success >processing</order_status_success >
846
+ <order_status_verify >pending_payment</order_status_verify >
847
+ <send_mail >success</send_mail >
848
+ <limit_shipping >0</limit_shipping >
849
+ </pay_payment_googlepay >
838
850
<pay_payment_trustly >
839
851
<active >0</active >
840
852
<invoice_email >1</invoice_email >
You can’t perform that action at this time.
0 commit comments