Files
WHMCS-Mollie-Payments/src/molliesofort.php
Wouter van Os 10c4f045ee Fixed requires with __PATH__
This because the gateway had issues with an autoloader or such in
WHMCS. Don't know the exact cause, but this fixed it.
2015-10-20 22:53:52 +02:00

21 lines
395 B
PHP
Executable File

<?php
require_once __DIR__ . '/mollie/mollie.php';
function molliesofort_config() {
$config = mollie_config();
$config = array_merge($config, array(
'FriendlyName' => array(
'Type' => 'System',
'Value'=> 'Mollie Sofort Banking'
)
));
return $config;
}
function molliesofort_link($params) {
return mollie_link($params, Mollie_API_Object_Method::SOFORT);
}