Added Apply Pay

This commit is contained in:
Wouter van Os
2019-05-27 16:23:55 +02:00
parent e356f9cfc1
commit c2857294b3
3 changed files with 26 additions and 0 deletions

View File

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