Skip to content

Commit

Permalink
Added Przelewy24 payment provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Wouter0100 committed Apr 24, 2019
1 parent 95348ad commit 6d65280
Show file tree
Hide file tree
Showing 2 changed files with 86 additions and 19 deletions.
83 changes: 64 additions & 19 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions src/mollieprzelewy24_devapp.php
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit 6d65280

Please sign in to comment.