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