Skip to content

Commit

Permalink
Merge pull request #43 from paynl/feature/PLUG-3812
Browse files Browse the repository at this point in the history
PLUG-3812 - Add Rotterdam Citycard
  • Loading branch information
woutse authored Sep 30, 2024
2 parents 4c24b6e + eff577c commit 3d22753
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir . '/Pay/Autoload.php';

require_once $autoload;

class ControllerExtensionPaymentPaynlRotterdamcitycard extends Pay_Controller_Admin
{
protected $_paymentOptionId = 3603;
protected $_paymentMethodName = 'paynl_rotterdamcitycard';

protected $_defaultLabel = 'Rotterdam Citycard';
}
1 change: 1 addition & 0 deletions upload/admin/language/de-de/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
'podiumcadeaukaart',
'postepay',
'przelewy24',
'rotterdamcitycard',
'shoesandsneakers',
'sodexo',
'sofortbanking',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay. - Rotterdam Citycard';
1 change: 1 addition & 0 deletions upload/admin/language/en-gb/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
'podiumcadeaukaart',
'postepay',
'przelewy24',
'rotterdamcitycard',
'shoesandsneakers',
'sodexo',
'sofortbanking',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay. - Rotterdam Citycard';
1 change: 1 addition & 0 deletions upload/admin/language/fr-fr/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@
'podiumcadeaukaart',
'postepay',
'przelewy24',
'rotterdamcitycard',
'shoesandsneakers',
'sodexo',
'sofortbanking',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay. - Rotterdam Citycard';
1 change: 1 addition & 0 deletions upload/admin/language/nl-nl/extension/payment/paynl3.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
'postepay',
'przelewy24',
'shoesandsneakers',
'rotterdamcitycard',
'sodexo',
'sofortbanking',
'sofortbankingds',
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

include 'paynl3.php';
// Heading
$_['heading_title'] = 'Pay. - Rotterdam Citycard';
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir . '/Pay/Autoload.php';

require_once $autoload;

class ControllerExtensionPaymentPaynlRotterdamcitycard extends Pay_Controller_Payment
{
protected $_paymentOptionId = 3603;
protected $_paymentMethodName = 'paynl_rotterdamcitycard';
}
12 changes: 12 additions & 0 deletions upload/catalog/model/extension/payment/paynl_rotterdamcitycard.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

$dir = dirname(dirname(dirname(dirname(dirname(__FILE__)))));
$autoload = $dir . '/Pay/Autoload.php';

require_once $autoload;

class ModelExtensionPaymentPaynlRotterdamcitycard extends Pay_Model
{
protected $_paymentOptionId = 3603;
protected $_paymentMethodName = 'paynl_rotterdamcitycard';
}
Binary file added upload/image/Pay/333.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3d22753

Please sign in to comment.