mirror of
https://github.com/0100Dev/WHMCS-Mollie-Payments.git
synced 2026-01-18 03:28:18 +01:00
This because the gateway had issues with an autoloader or such in WHMCS. Don't know the exact cause, but this fixed it.
21 lines
408 B
PHP
Executable File
21 lines
408 B
PHP
Executable File
<?php
|
|
|
|
require_once __DIR__ . '/mollie/mollie.php';
|
|
|
|
function molliedirectdebit_config() {
|
|
$config = mollie_config();
|
|
|
|
$config = array_merge($config, array(
|
|
'FriendlyName' => array(
|
|
'Type' => 'System',
|
|
'Value'=> 'Mollie Direct Debit'
|
|
)
|
|
));
|
|
|
|
return $config;
|
|
}
|
|
|
|
function molliedirectdebit_link($params) {
|
|
return mollie_link($params, Mollie_API_Object_Method::DIRECTDEBIT);
|
|
}
|