-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from max-geraci/master
Add payment methods Payconiq and Multibanco
- Loading branch information
Showing
8 changed files
with
711 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
class Pay_Payment_Block_Form_Multibanco extends Pay_Payment_Block_Form_Abstract { | ||
|
||
protected $paymentMethodId = Pay_Payment_Model_Paymentmethod_Multibanco::OPTION_ID; | ||
protected $paymentMethodName = 'Multibanco'; | ||
|
||
protected $methodCode = 'pay_payment_multibanco'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
class Pay_Payment_Block_Form_Payconiq extends Pay_Payment_Block_Form_Abstract { | ||
|
||
protected $paymentMethodId = Pay_Payment_Model_Paymentmethod_Payconiq::OPTION_ID; | ||
protected $paymentMethodName = 'Payconiq'; | ||
|
||
protected $methodCode = 'pay_payment_payconiq'; | ||
} |
8 changes: 8 additions & 0 deletions
8
app/code/community/Pay/Payment/Model/Paymentmethod/Multibanco.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
class Pay_Payment_Model_Paymentmethod_Multibanco extends Pay_Payment_Model_Paymentmethod { | ||
const OPTION_ID = 2271; | ||
protected $_paymentOptionId = 2271; | ||
protected $_code = 'pay_payment_multibanco'; | ||
protected $_formBlockType = 'pay_payment/form_multibanco'; | ||
} | ||
|
8 changes: 8 additions & 0 deletions
8
app/code/community/Pay/Payment/Model/Paymentmethod/Payconiq.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
class Pay_Payment_Model_Paymentmethod_Payconiq extends Pay_Payment_Model_Paymentmethod { | ||
const OPTION_ID = 2379; | ||
protected $_paymentOptionId = 2379; | ||
protected $_code = 'pay_payment_payconiq'; | ||
protected $_formBlockType = 'pay_payment/form_payconiq'; | ||
} | ||
|
4 changes: 4 additions & 0 deletions
4
app/code/community/Pay/Payment/Model/Source/Paymentmethod/Multibanco/Active.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
class Pay_Payment_Model_Source_Paymentmethod_Multibanco_Active extends Pay_Payment_Model_Source_Paymentmethod_Active{ | ||
protected $_option_id = Pay_Payment_Model_Paymentmethod_Multibanco::OPTION_ID; | ||
} |
4 changes: 4 additions & 0 deletions
4
app/code/community/Pay/Payment/Model/Source/Paymentmethod/Payconiq/Active.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?php | ||
class Pay_Payment_Model_Source_Paymentmethod_Payconiq_Active extends Pay_Payment_Model_Source_Paymentmethod_Active{ | ||
protected $_option_id = Pay_Payment_Model_Paymentmethod_Payconiq::OPTION_ID; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.