Skip to content

Commit

Permalink
Added EPS, Giropay
Browse files Browse the repository at this point in the history
  • Loading branch information
QualityWorks authored and Martijn Smit committed Jun 29, 2018
1 parent 77d99dc commit 3079f13
Show file tree
Hide file tree
Showing 31 changed files with 117 additions and 3 deletions.
6 changes: 6 additions & 0 deletions admin/controller/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ControllerExtensionPaymentMollieEPS extends ControllerExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_EPS;
}
6 changes: 6 additions & 0 deletions admin/controller/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ControllerExtensionPaymentMollieGIROPAY extends ControllerExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_GIROPAY;
}
4 changes: 4 additions & 0 deletions admin/language/dutch/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
$_['text_mollie_sofort'] = $method_list_logo;
$_['text_mollie_giftcard'] = $method_list_logo;
$_['text_mollie_inghomepay'] = $method_list_logo;
$_['text_mollie_eps'] = $method_list_logo;
$_['text_mollie_giropay'] = $method_list_logo;

// Heading
$_['heading_title'] = "Mollie";
Expand All @@ -68,6 +70,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'Pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Bewerk Mollie";
Expand Down
3 changes: 3 additions & 0 deletions admin/language/dutch/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
3 changes: 3 additions & 0 deletions admin/language/dutch/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
4 changes: 4 additions & 0 deletions admin/language/en-gb/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
$_['text_mollie_sofort'] = $method_list_logo;
$_['text_mollie_giftcard'] = $method_list_logo;
$_['text_mollie_inghomepay'] = $method_list_logo;
$_['text_mollie_eps'] = $method_list_logo;
$_['text_mollie_giropay'] = $method_list_logo;

// Heading
$_['heading_title'] = "Mollie";
Expand All @@ -68,6 +70,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Edit";
Expand Down
4 changes: 4 additions & 0 deletions admin/language/en-gb/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
4 changes: 4 additions & 0 deletions admin/language/en-gb/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
2 changes: 2 additions & 0 deletions admin/language/english/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Edit";
Expand Down
3 changes: 3 additions & 0 deletions admin/language/english/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
3 changes: 3 additions & 0 deletions admin/language/english/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
4 changes: 4 additions & 0 deletions admin/language/fr-fr/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
$_['text_mollie_sofort'] = $method_list_logo;
$_['text_mollie_giftcard'] = $method_list_logo;
$_['text_mollie_inghomepay'] = $method_list_logo;
$_['text_mollie_eps'] = $method_list_logo;
$_['text_mollie_giropay'] = $method_list_logo;

// Heading
$_['heading_title'] = "Mollie";
Expand All @@ -68,6 +70,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Éditer Mollie";
Expand Down
3 changes: 3 additions & 0 deletions admin/language/fr-fr/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
3 changes: 3 additions & 0 deletions admin/language/fr-fr/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
4 changes: 4 additions & 0 deletions admin/language/french/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
$_['text_mollie_sofort'] = $method_list_logo;
$_['text_mollie_giftcard'] = $method_list_logo;
$_['text_mollie_inghomepay'] = $method_list_logo;
$_['text_mollie_eps'] = $method_list_logo;
$_['text_mollie_giropay'] = $method_list_logo;

// Heading
$_['heading_title'] = "Mollie";
Expand All @@ -68,6 +70,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Éditer Mollie";
Expand Down
4 changes: 4 additions & 0 deletions admin/language/french/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
4 changes: 4 additions & 0 deletions admin/language/french/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
4 changes: 4 additions & 0 deletions admin/language/nl-nl/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@
$_['text_mollie_sofort'] = $method_list_logo;
$_['text_mollie_giftcard'] = $method_list_logo;
$_['text_mollie_inghomepay'] = $method_list_logo;
$_['text_mollie_eps'] = $method_list_logo;
$_['text_mollie_giropay'] = $method_list_logo;

// Heading
$_['heading_title'] = "Mollie";
Expand All @@ -68,6 +70,8 @@
$_['name_mollie_sofort'] = "SOFORT Banking";
$_['name_mollie_giftcard'] = 'Giftcard';
$_['name_mollie_inghomepay'] = 'ING Home\'pay';
$_['name_mollie_eps'] = 'EPS';
$_['name_mollie_giropay'] = 'Giropay';

// Text
$_['text_edit'] = "Bewerk Mollie";
Expand Down
3 changes: 3 additions & 0 deletions admin/language/nl-nl/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_eps'];
3 changes: 3 additions & 0 deletions admin/language/nl-nl/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php
require(dirname(__FILE__) . "/mollie.php");
$_['heading_title'] .= " &ndash; " . $_['name_mollie_giropay'];
8 changes: 6 additions & 2 deletions catalog/controller/extension/payment/mollie/helper.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
class MollieHelper
{
const PLUGIN_VERSION = "8.3.2";
const PLUGIN_VERSION = "8.4.0";

// All available modules. These should correspond to the Mollie_API_Object_Method constants.
const MODULE_NAME_BANKTRANSFER = "banktransfer";
Expand All @@ -17,6 +17,8 @@ class MollieHelper
const MODULE_NAME_KBC = "kbc";
const MODULE_NAME_GIFTCARD = "giftcard";
const MODULE_NAME_INGHOMEPAY = "inghomepay";
const MODULE_NAME_EPS = "eps";
const MODULE_NAME_GIROPAY = "giropay";


// List of all available module names.
Expand All @@ -33,7 +35,9 @@ class MollieHelper
self::MODULE_NAME_SOFORT,
self::MODULE_NAME_KBC,
self::MODULE_NAME_GIFTCARD,
self::MODULE_NAME_INGHOMEPAY
self::MODULE_NAME_INGHOMEPAY,
self::MODULE_NAME_EPS,
self::MODULE_NAME_GIROPAY
);

static protected $api_client;
Expand Down
6 changes: 6 additions & 0 deletions catalog/controller/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ControllerExtensionPaymentMollieEps extends ControllerExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_EPS;
}
6 changes: 6 additions & 0 deletions catalog/controller/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ControllerExtensionPaymentMollieGiropay extends ControllerExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_GIROPAY;
}
2 changes: 2 additions & 0 deletions catalog/language/dutch/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
2 changes: 2 additions & 0 deletions catalog/language/en-gb/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
2 changes: 2 additions & 0 deletions catalog/language/english/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Webshop Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
4 changes: 3 additions & 1 deletion catalog/language/fr-fr/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,6 @@
$_['method_paypal'] = 'PayPal';
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
2 changes: 2 additions & 0 deletions catalog/language/french/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
2 changes: 2 additions & 0 deletions catalog/language/nl-nl/extension/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,5 @@
$_['method_paysafecard'] = 'paysafecard';
$_['method_giftcard'] = 'Giftcard';
$_['method_inghomepay'] = 'ING Home\'Pay';
$_['method_eps'] = 'Giropay';
$_['method_giropay'] = 'EPS';
6 changes: 6 additions & 0 deletions catalog/model/extension/payment/mollie_eps.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ModelExtensionPaymentMollieEPS extends ModelExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_EPS;
}
6 changes: 6 additions & 0 deletions catalog/model/extension/payment/mollie_giropay.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");
class ModelExtensionPaymentMollieGIROPAY extends ModelExtensionPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_GIROPAY;
}

0 comments on commit 3079f13

Please sign in to comment.