From 4c31da5ba3f587a59601a5440f974998c01cbe95 Mon Sep 17 00:00:00 2001 From: Wouter van Os Date: Mon, 25 May 2020 15:42:05 +0200 Subject: [PATCH] Added support for the Mollie Payments checkout page --- README.md | 4 +++- src/mollie/lang/dutch.php | 3 ++- src/mollie/lang/english.php | 3 ++- src/molliecheckout_devapp.php | 23 +++++++++++++++++++++++ 4 files changed, 30 insertions(+), 3 deletions(-) create mode 100644 src/molliecheckout_devapp.php diff --git a/README.md b/README.md index 97c85f5..6e8d0f9 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,9 @@ All payment methods from Mollie are supported (which is also supported by their Support for new payment methods must be added manually, due to the structure of this gateway. It can therefore take a while before a new payment method is supported. Is it urgent? Contact our paid support or add support for it yourself and contribute it back using a pull request. +You can use `Mollie Checkout` to use the Mollie Payments checkout pages. In this case it'll use the Mollie Payments checkout screen and show all enabled payment methodes in your Mollie account. + ### Support Support is best-effort through the Github issue tracker. Business support (responsetime within 24 hours, normally less then 1 hour) through our [website](https://0100dev.nl/) against our hourly rate at € 75,- excl. VAT. Please create an account at our website before contacting us. -[More information through Mollie aobut Mollie Payments](https://www.mollie.com/en/payments) +[More information through Mollie about Mollie Payments](https://www.mollie.com/en/payments) diff --git a/src/mollie/lang/dutch.php b/src/mollie/lang/dutch.php index 5e482d0..bc4c376 100644 --- a/src/mollie/lang/dutch.php +++ b/src/mollie/lang/dutch.php @@ -22,4 +22,5 @@ $_GATEWAYLANG['payWithGiropay'] = 'Betaal met Giropay'; $_GATEWAYLANG['payWithInghomepay'] = 'Betaal met ING Home\'Pay'; $_GATEWAYLANG['payWithKbc'] = 'Betaal met KBC/CBC-betaalknop'; $_GATEWAYLANG['payWithPrzelewy24'] = 'Betaal met Przelewy24'; -$_GATEWAYLANG['payWithApplepay'] = 'Betaal met Apple Pay'; \ No newline at end of file +$_GATEWAYLANG['payWithApplepay'] = 'Betaal met Apple Pay'; +$_GATEWAYLANG['payWith'] = 'Betaal met Mollie'; diff --git a/src/mollie/lang/english.php b/src/mollie/lang/english.php index 24295f4..10e4a8b 100644 --- a/src/mollie/lang/english.php +++ b/src/mollie/lang/english.php @@ -22,4 +22,5 @@ $_GATEWAYLANG['payWithGiropay'] = 'Pay with Giropay'; $_GATEWAYLANG['payWithInghomepay'] = 'Pay with ING Home\'Pay'; $_GATEWAYLANG['payWithKbc'] = 'Pay with KBC/CBC Payment Button'; $_GATEWAYLANG['payWithPrzelewy24'] = 'Pay with Przelewy24'; -$_GATEWAYLANG['payWithApplepay'] = 'Pay with Apple Pay'; \ No newline at end of file +$_GATEWAYLANG['payWithApplepay'] = 'Pay with Apple Pay'; +$_GATEWAYLANG['payWith'] = 'Pay with Mollie'; diff --git a/src/molliecheckout_devapp.php b/src/molliecheckout_devapp.php new file mode 100644 index 0000000..451b350 --- /dev/null +++ b/src/molliecheckout_devapp.php @@ -0,0 +1,23 @@ + array( + 'Type' => 'System', + 'Value' => 'Mollie Checkout' + ) + )); + + return $config; +} + +function molliecheckout_devapp_link($params) +{ + return mollie_link($params, null); +} +