Skip to content

Commit

Permalink
Merge pull request #2 from IvoWams/WEB-146
Browse files Browse the repository at this point in the history
WEB-146 Added Creditclick, Tikkie and Przelewy24
  • Loading branch information
IvoWams authored Jun 26, 2019
2 parents 7d1f082 + 8c699a1 commit fb98751
Show file tree
Hide file tree
Showing 17 changed files with 139 additions and 0 deletions.
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_creditclick.php
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 ControllerExtensionPaymentPaynlCreditclick extends Pay_Controller_Admin
{
protected $_paymentOptionId = 2107;
protected $_paymentMethodName = 'paynl_creditclick';

protected $_defaultLabel = 'CreditClick';
}
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_przelewy24.php
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 ControllerExtensionPaymentPaynlPrzelewy24 extends Pay_Controller_Admin
{
protected $_paymentOptionId = 2151;
protected $_paymentMethodName = 'paynl_przelewy24';

protected $_defaultLabel = 'Przelewy 24';
}
13 changes: 13 additions & 0 deletions upload/admin/controller/extension/payment/paynl_tikkie.php
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 ControllerExtensionPaymentPaynlTikkie extends Pay_Controller_Admin
{
protected $_paymentOptionId = 2104;
protected $_paymentMethodName = 'paynl_tikkie';

protected $_defaultLabel = 'Tikkie';
}
5 changes: 5 additions & 0 deletions upload/admin/language/en-gb/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
$_['entry_status'] = 'Status';
$_['entry_sort_order'] = 'Sort Order';

$_['text_extension'] = 'Pay.nl';

$paynl_logo = '<a href="https://www.pay.nl" target="paynl"><img src="view/image/payment/paynl.png" alt="Pay.nl" title="Pay.nl" /></a>';

$arrPaymentMethods = array(
Expand All @@ -49,6 +51,7 @@
'capayablegespreid',
'cartebleue',
'cashly',
'creditclick',
'eps',
'fashioncheque',
'fashiongiftcard',
Expand All @@ -67,8 +70,10 @@
'phone',
'podiumkadokaart',
'postepay',
'przelewy24',
'sofortbanking',
'spraypay',
'tikkie',
'visamastercard',
'vvvgiftcard',
'webshopgiftcard',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - CreditClick';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Przelewy 24';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Tikkie';
4 changes: 4 additions & 0 deletions upload/admin/language/nl-nl/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
$_['entry_status'] = 'Status';
$_['entry_sort_order'] = 'Sort Order';

$_['text_extension'] = 'Pay.nl';

$paynl_logo = '<a href="https://www.pay.nl" target="paynl"><img src="view/image/payment/paynl.png" alt="Pay.nl" title="Pay.nl" /></a>';

Expand All @@ -52,6 +53,7 @@
'capayablegespreid',
'cartebleue',
'cashly',
'creditclick',
'eps',
'fashioncheque',
'fashiongiftcard',
Expand All @@ -70,8 +72,10 @@
'phone',
'podiumkadokaart',
'postepay',
'przelewy24',
'sofortbanking',
'spraypay',
'tikkie',
'visamastercard',
'vvvgiftcard',
'webshopgiftcard',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - CreditClick';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Przelewy24';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay.nl - Tikkie';
$_['text_extension'] = 'Pay.nl';
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_creditclick.php
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 ControllerExtensionPaymentPaynlCreditclick extends Pay_Controller_Payment
{
protected $_paymentOptionId = 2107;
protected $_paymentMethodName = 'paynl_creditclick';
}
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_przelewy24.php
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 ControllerExtensionPaymentPaynlPrzelewy24 extends Pay_Controller_Payment
{
protected $_paymentOptionId = 2151;
protected $_paymentMethodName = 'paynl_przelewy24';
}
11 changes: 11 additions & 0 deletions upload/catalog/controller/extension/payment/paynl_tikkie.php
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 ControllerExtensionPaymentPaynlTikkie extends Pay_Controller_Payment
{
protected $_paymentOptionId = 2104;
protected $_paymentMethodName = 'paynl_tikkie';
}
11 changes: 11 additions & 0 deletions upload/catalog/model/extension/payment/paynl_creditclick.php
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 ModelExtensionPaymentPaynlCreditclick extends Pay_Model
{
protected $_paymentOptionId = 2107;
protected $_paymentMethodName = 'paynl_creditclick';
}
11 changes: 11 additions & 0 deletions upload/catalog/model/extension/payment/paynl_przelewy24.php
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 ModelExtensionPaymentPaynlPrzelewy24 extends Pay_Model
{
protected $_paymentOptionId = 2151;
protected $_paymentMethodName = 'paynl_przelewy24';
}
11 changes: 11 additions & 0 deletions upload/catalog/model/extension/payment/paynl_tikkie.php
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 ModelExtensionPaymentPaynlTikkie extends Pay_Model
{
protected $_paymentOptionId = 2104;
protected $_paymentMethodName = 'paynl_tikkie';
}

0 comments on commit fb98751

Please sign in to comment.