mirror of
https://github.com/0100Dev/WHMCS-Mollie-Payments.git
synced 2026-01-18 03:28:18 +01:00
This commit adds the following payment methods: - EPS - Giftcards - Giropay - ING Home'Pay - KBC/CBC I've also ran a reformatter to clean up the code and added composer instead of git modules. The latter enables us to keep up-to-date with the last Mollie library in a more modern manner.
23 lines
452 B
PHP
Executable File
23 lines
452 B
PHP
Executable File
<?php
|
|
|
|
require_once __DIR__ . '/mollie/mollie.php';
|
|
|
|
function mollieideal_devapp_config()
|
|
{
|
|
$config = mollie_config();
|
|
|
|
$config = array_merge($config, array(
|
|
'FriendlyName' => array(
|
|
'Type' => 'System',
|
|
'Value' => 'Mollie iDeal'
|
|
)
|
|
));
|
|
|
|
return $config;
|
|
}
|
|
|
|
function mollieideal_devapp_link($params)
|
|
{
|
|
return mollie_link($params, \Mollie\Api\Types\PaymentMethod::IDEAL);
|
|
}
|