mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Add support for Apple Pay
This commit is contained in:
parent
b159037969
commit
a9341b95da
@ -2566,6 +2566,7 @@ $LANG = array(
|
|||||||
'verification_file_missing' => 'The verification file is needed to accept payments.',
|
'verification_file_missing' => 'The verification file is needed to accept payments.',
|
||||||
'apple_pay_domain' => 'Use <code>:domain</code> as the domain in :link.',
|
'apple_pay_domain' => 'Use <code>:domain</code> as the domain in :link.',
|
||||||
'apple_pay_not_supported' => 'Sorry, Apple/Google Pay isn\'t supported',
|
'apple_pay_not_supported' => 'Sorry, Apple/Google Pay isn\'t supported',
|
||||||
|
'optional_payment_methods' => 'Optional Payment Methods',
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -186,11 +186,25 @@
|
|||||||
|
|
||||||
@if (!$accountGateway || $accountGateway->gateway_id == GATEWAY_STRIPE)
|
@if (!$accountGateway || $accountGateway->gateway_id == GATEWAY_STRIPE)
|
||||||
<div class="stripe-ach">
|
<div class="stripe-ach">
|
||||||
|
{!! Former::plaintext(' ')->value('<b>' . trans('texts.optional_payment_methods') . '</b>') !!}
|
||||||
|
|
||||||
{!! Former::checkbox('enable_ach')
|
{!! Former::checkbox('enable_ach')
|
||||||
->label(trans('texts.ach'))
|
->label(trans('texts.ach'))
|
||||||
->text(trans('texts.enable_ach'))
|
->text(trans('texts.enable_ach'))
|
||||||
->value(1) !!}
|
->value(1) !!}
|
||||||
|
|
||||||
|
{!! Former::checkbox('enable_sofort')
|
||||||
|
->label(trans('texts.sofort'))
|
||||||
|
->text(trans('texts.enable_sofort'))
|
||||||
|
->value(1) !!}
|
||||||
|
|
||||||
|
<!--
|
||||||
|
{!! Former::checkbox('enable_sepa')
|
||||||
|
->label('SEPA')
|
||||||
|
->text(trans('texts.enable_sepa'))
|
||||||
|
->value(1) !!}
|
||||||
|
-->
|
||||||
|
|
||||||
{!! Former::checkbox('enable_apple_pay')
|
{!! Former::checkbox('enable_apple_pay')
|
||||||
->label(trans('texts.apple_pay'))
|
->label(trans('texts.apple_pay'))
|
||||||
->text(trans('texts.enable_apple_pay'))
|
->text(trans('texts.enable_apple_pay'))
|
||||||
@ -208,18 +222,6 @@
|
|||||||
->label('verification_file') !!}
|
->label('verification_file') !!}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
{!! Former::checkbox('enable_sofort')
|
|
||||||
->label(trans('texts.sofort'))
|
|
||||||
->text(trans('texts.enable_sofort'))
|
|
||||||
->value(1) !!}
|
|
||||||
|
|
||||||
<!--
|
|
||||||
{!! Former::checkbox('enable_sepa')
|
|
||||||
->label('SEPA')
|
|
||||||
->text(trans('texts.enable_sepa'))
|
|
||||||
->value(1) !!}
|
|
||||||
-->
|
|
||||||
|
|
||||||
{!! Former::checkbox('enable_bitcoin')
|
{!! Former::checkbox('enable_bitcoin')
|
||||||
->label(trans('texts.bitcoin'))
|
->label(trans('texts.bitcoin'))
|
||||||
->text(trans('texts.enable_bitcoin'))
|
->text(trans('texts.enable_bitcoin'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user