forked from clone/WHMCS-Mollie-Payments
Added Apply Pay
This commit is contained in:
@@ -21,3 +21,5 @@ $_GATEWAYLANG['payWithGiftcard'] = 'Betaal met een cadeaukaart';
|
|||||||
$_GATEWAYLANG['payWithGiropay'] = 'Betaal met Giropay';
|
$_GATEWAYLANG['payWithGiropay'] = 'Betaal met Giropay';
|
||||||
$_GATEWAYLANG['payWithInghomepay'] = 'Betaal met ING Home\'Pay';
|
$_GATEWAYLANG['payWithInghomepay'] = 'Betaal met ING Home\'Pay';
|
||||||
$_GATEWAYLANG['payWithKbc'] = 'Betaal met KBC/CBC-betaalknop';
|
$_GATEWAYLANG['payWithKbc'] = 'Betaal met KBC/CBC-betaalknop';
|
||||||
|
$_GATEWAYLANG['payWithPrzelewy24'] = 'Betaal met Przelewy24';
|
||||||
|
$_GATEWAYLANG['payWithApplepay'] = 'Betaal met Apple Pay';
|
||||||
@@ -21,3 +21,5 @@ $_GATEWAYLANG['payWithGiftcard'] = 'Pay with a gift card';
|
|||||||
$_GATEWAYLANG['payWithGiropay'] = 'Pay with Giropay';
|
$_GATEWAYLANG['payWithGiropay'] = 'Pay with Giropay';
|
||||||
$_GATEWAYLANG['payWithInghomepay'] = 'Pay with ING Home\'Pay';
|
$_GATEWAYLANG['payWithInghomepay'] = 'Pay with ING Home\'Pay';
|
||||||
$_GATEWAYLANG['payWithKbc'] = 'Pay with KBC/CBC Payment Button';
|
$_GATEWAYLANG['payWithKbc'] = 'Pay with KBC/CBC Payment Button';
|
||||||
|
$_GATEWAYLANG['payWithPrzelewy24'] = 'Pay with Przelewy24';
|
||||||
|
$_GATEWAYLANG['payWithApplepay'] = 'Pay with Apple Pay';
|
||||||
22
src/mollieapplepay_devapp.php
Normal file
22
src/mollieapplepay_devapp.php
Normal 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);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user