Skip to content

Commit

Permalink
Add payment method Belfius Direct Net
Browse files Browse the repository at this point in the history
  • Loading branch information
lvgunst committed Apr 28, 2015
1 parent ef3668c commit 4d771a9
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 0 deletions.
7 changes: 7 additions & 0 deletions admin/controller/payment/mollie_belfius.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");

class ControllerPaymentMollieBelfius extends ControllerPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_BELFIUS;
}
2 changes: 2 additions & 0 deletions admin/language/dutch/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
// These are called automatically by the Payment modules list - do not change the names
$method_list_logo = '<a href="https://www.mollie.com" target="_blank"><img src="https://www.mollie.com/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';
$_['text_mollie_banktransfer'] = $method_list_logo;
$_['text_mollie_belfius'] = $method_list_logo;
$_['text_mollie_bitcoin'] = $method_list_logo;
$_['text_mollie_creditcard'] = $method_list_logo;
$_['text_mollie_ideal'] = $method_list_logo;
Expand All @@ -51,6 +52,7 @@

// Module names
$_['name_mollie_banktransfer'] = "Overboeking";
$_['name_mollie_belfius'] = "Belfius Direct Net";
$_['name_mollie_bitcoin'] = "Bitcoin";
$_['name_mollie_creditcard'] = "Creditcard";
$_['name_mollie_ideal'] = "iDEAL";
Expand Down
4 changes: 4 additions & 0 deletions admin/language/dutch/payment/mollie_belfius.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_belfius'];
2 changes: 2 additions & 0 deletions admin/language/english/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
// These are called automatically by the Payment modules list - do not change the names
$method_list_logo = '<a href="https://www.mollie.com" target="_blank"><img src="https://www.mollie.com/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';
$_['text_mollie_banktransfer'] = $method_list_logo;
$_['text_mollie_belfius'] = $method_list_logo;
$_['text_mollie_bitcoin'] = $method_list_logo;
$_['text_mollie_creditcard'] = $method_list_logo;
$_['text_mollie_ideal'] = $method_list_logo;
Expand All @@ -51,6 +52,7 @@

// Module names
$_['name_mollie_banktransfer'] = "Bank transfer";
$_['name_mollie_belfius'] = "Belfius Direct Net";
$_['name_mollie_bitcoin'] = "Bitcoin";
$_['name_mollie_creditcard'] = "Creditcard";
$_['name_mollie_ideal'] = "iDEAL";
Expand Down
4 changes: 4 additions & 0 deletions admin/language/english/payment/mollie_belfius.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_belfius'];
2 changes: 2 additions & 0 deletions admin/language/french/payment/mollie.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
// These are called automatically by the Payment modules list - do not change the names
$method_list_logo = '<a href="https://www.mollie.com" target="_blank"><img src="https://www.mollie.com/images/logo.png" alt="Mollie" title="Mollie" style="border:0px" /></a>';
$_['text_mollie_banktransfer'] = $method_list_logo;
$_['text_mollie_belfius'] = $method_list_logo;
$_['text_mollie_bitcoin'] = $method_list_logo;
$_['text_mollie_creditcard'] = $method_list_logo;
$_['text_mollie_ideal'] = $method_list_logo;
Expand All @@ -51,6 +52,7 @@

// Module names
$_['name_mollie_banktransfer'] = "Virement bancaire";
$_['name_mollie_belfius'] = "Belfius Direct Net";
$_['name_mollie_bitcoin'] = "Bitcoin";
$_['name_mollie_creditcard'] = "Creditcard";
$_['name_mollie_ideal'] = "iDEAL";
Expand Down
4 changes: 4 additions & 0 deletions admin/language/french/payment/mollie_belfius.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_belfius'];
2 changes: 2 additions & 0 deletions catalog/controller/payment/mollie/helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ class MollieHelper

// All available modules. These should correspond to the Mollie_API_Object_Method constants.
const MODULE_NAME_BANKTRANSFER = "banktransfer";
const MODULE_NAME_BELFIUS = "belfius";
const MODULE_NAME_BITCOIN = "bitcoin";
const MODULE_NAME_CREDITCARD = "creditcard";
const MODULE_NAME_IDEAL = "ideal";
Expand All @@ -16,6 +17,7 @@ class MollieHelper
// List of all available module names.
static public $MODULE_NAMES = array(
self::MODULE_NAME_BANKTRANSFER,
self::MODULE_NAME_BELFIUS,
self::MODULE_NAME_BITCOIN,
self::MODULE_NAME_CREDITCARD,
self::MODULE_NAME_IDEAL,
Expand Down
7 changes: 7 additions & 0 deletions catalog/controller/payment/mollie_belfius.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");

class ControllerPaymentMollieBelfius extends ControllerPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_BELFIUS;
}
7 changes: 7 additions & 0 deletions catalog/model/payment/mollie_belfius.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php
require_once(dirname(__FILE__) . "/mollie/base.php");

class ModelPaymentMollieBelfius extends ModelPaymentMollieBase
{
const MODULE_NAME = MollieHelper::MODULE_NAME_BELFIUS;
}

0 comments on commit 4d771a9

Please sign in to comment.