@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Credit card', 'card_title' => 'Credit card']) @section('gateway_head') @if($gateway->getConfigField('account_id')) @else @endif @endsection @section('gateway_content')
@csrf
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.method')]) {{ ctrans('texts.credit_card') }} @endcomponent @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') }} @endcomponent @endsection @section('gateway_footer') @vite('resources/js/clients/payments/stripe-credit-card.js') @endsection