Files
WHMCS-Mollie-Payments/src/molliemistercash.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
403 B
PHP
Executable File

<?php
require_once __DIR__ . '/mollie/mollie.php';
function molliemistercash_config() {
$config = mollie_config();
$config = array_merge($config, array(
'FriendlyName' => array(
'Type' => 'System',
'Value'=> 'Mollie Mistercash'
)
));
return $config;
}
function molliemistercash_link($params) {
return mollie_link($params, Mollie_API_Object_Method::MISTERCASH);
}