-
Notifications
You must be signed in to change notification settings - Fork 7
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 #7 from max-geraci/master
Add payment method KlarnaKP, static image URL's and change public name voor Billink and in3
- Loading branch information
Showing
15 changed files
with
56 additions
and
11 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
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
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
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
13 changes: 13 additions & 0 deletions
13
upload/admin/controller/extension/payment/paynl_klarnakp.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,13 @@ | ||
<?php | ||
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__))))); | ||
$autoload = $dir . '/Pay/Autoload.php'; | ||
|
||
require_once $autoload; | ||
|
||
class ControllerExtensionPaymentPaynlKlarnakp extends Pay_Controller_Admin | ||
{ | ||
protected $_paymentOptionId = 2265; | ||
protected $_paymentMethodName = 'paynl_klarnakp'; | ||
|
||
protected $_defaultLabel = 'KlarnaKP'; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
upload/admin/language/en-gb/extension/payment/paynl_billink.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Billink'; | ||
$_['heading_title'] = 'Pay.nl - Achteraf betalen via Billink'; |
2 changes: 1 addition & 1 deletion
2
upload/admin/language/en-gb/extension/payment/paynl_capayablegespreid.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Capayable Pay in Installments'; | ||
$_['heading_title'] = 'Pay.nl - in3 keer betalen, 0% rente'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/en-gb/extension/payment/paynl_klarnakp.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 | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - KlarnaKP'; |
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
2 changes: 1 addition & 1 deletion
2
upload/admin/language/nl-nl/extension/payment/paynl_billink.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Billink'; | ||
$_['heading_title'] = 'Pay.nl - Achteraf betalen via Billink'; |
2 changes: 1 addition & 1 deletion
2
upload/admin/language/nl-nl/extension/payment/paynl_capayablegespreid.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - Capayable Gespreid Betalen'; | ||
$_['heading_title'] = 'Pay.nl - in3 keer betalen, 0% rente'; |
4 changes: 4 additions & 0 deletions
4
upload/admin/language/nl-nl/extension/payment/paynl_klarnakp.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 | ||
include 'paynl3.php'; | ||
// Heading | ||
$_['heading_title'] = 'Pay.nl - KlarnaKP'; |
11 changes: 11 additions & 0 deletions
11
upload/catalog/controller/extension/payment/paynl_klarnakp.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,11 @@ | ||
<?php | ||
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__))))); | ||
$autoload = $dir . '/Pay/Autoload.php'; | ||
|
||
require_once $autoload; | ||
|
||
class ControllerExtensionPaymentPaynlKlarnakp extends Pay_Controller_Payment | ||
{ | ||
protected $_paymentOptionId = 2265; | ||
protected $_paymentMethodName = 'paynl_klarnakp'; | ||
} |
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,11 @@ | ||
<?php | ||
$dir = dirname(dirname(dirname(dirname(dirname(__FILE__))))); | ||
$autoload = $dir . '/Pay/Autoload.php'; | ||
|
||
require_once $autoload; | ||
|
||
class ModelExtensionPaymentPaynlKlarnakp extends Pay_Model | ||
{ | ||
protected $_paymentOptionId = 2265; | ||
protected $_paymentMethodName = 'paynl_klarnakp'; | ||
} |