Added Przelewy24 payment provider

This commit is contained in:
Wouter van Os
2019-04-24 17:09:48 +02:00
parent 95348ada82
commit 6d65280c6e
2 changed files with 86 additions and 19 deletions

View File

@@ -0,0 +1,22 @@
<?php
require_once __DIR__ . '/mollie/mollie.php';
function mollieprzelewy24_devapp_config()
{
$config = mollie_config();
$config = array_merge($config, array(
'FriendlyName' => array(
'Type' => 'System',
'Value' => 'Mollie Przelewy24'
)
));
return $config;
}
function mollieprzelewy24_devapp_link($params)
{
return mollie_link($params, \Mollie\Api\Types\PaymentMethod::PRZELEWY24);
}