mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Hide "Save payment method" on Stripe credit card authorize page
This commit is contained in:
parent
51ae534b94
commit
945250dab8
@ -30,7 +30,7 @@
|
||||
{{ ctrans('texts.credit_card') }}
|
||||
@endcomponent
|
||||
|
||||
@include('portal.ninja2020.gateways.stripe.includes.card_widget')
|
||||
@include('portal.ninja2020.gateways.stripe.includes.card_widget', ['show_save_method' => false])
|
||||
|
||||
@component('portal.ninja2020.gateways.includes.pay_now', ['id' => 'authorize-card'])
|
||||
{{ ctrans('texts.add_payment_method') }}
|
||||
@ -40,4 +40,4 @@
|
||||
@section('gateway_footer')
|
||||
<script src="https://js.stripe.com/v3/"></script>
|
||||
<script src="{{ asset('js/clients/payments/stripe-credit-card.js') }}"></script>
|
||||
@endsection
|
||||
@endsection
|
||||
|
@ -12,4 +12,6 @@
|
||||
@endunless
|
||||
</div>
|
||||
|
||||
@include('portal.ninja2020.gateways.includes.save_card')
|
||||
@unless(isset($show_save_method) && $show_save_method == false)
|
||||
@include('portal.ninja2020.gateways.includes.save_card')
|
||||
@endunless
|
||||
|
Loading…
Reference in New Issue
Block a user