mirror of
https://github.com/0100Dev/WHMCS-Mollie-Payments.git
synced 2026-01-18 03:28:18 +01:00
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.
This commit is contained in:
22
src/molliegiropay_devapp.php
Normal file
22
src/molliegiropay_devapp.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
require_once __DIR__ . '/mollie/mollie.php';
|
||||
|
||||
function molliegiropay_devapp_config()
|
||||
{
|
||||
$config = mollie_config();
|
||||
|
||||
$config = array_merge($config, array(
|
||||
'FriendlyName' => array(
|
||||
'Type' => 'System',
|
||||
'Value' => 'Mollie Giropay'
|
||||
)
|
||||
));
|
||||
|
||||
return $config;
|
||||
}
|
||||
|
||||
function molliegiropay_devapp_link($params)
|
||||
{
|
||||
return mollie_link($params, \Mollie\Api\Types\PaymentMethod::GIROPAY);
|
||||
}
|
||||
Reference in New Issue
Block a user