Files
WHMCS-Mollie-Payments/src/molliesofort_devapp.php
Wouter van Os 27d3ae1745 Reformatted code and added support for all payment methods
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.
2018-09-12 20:29:20 +02:00

23 lines
442 B
PHP

<?php
require_once __DIR__ . '/mollie/mollie.php';
function molliesofort_devapp_config()
{
$config = mollie_config();
$config = array_merge($config, array(
'FriendlyName' => array(
'Type' => 'System',
'Value' => 'Mollie Sofort Banking'
)
));
return $config;
}
function molliesofort_devapp_link($params)
{
return mollie_link($params, \Mollie\Api\Types\PaymentMethod::SOFORT);
}