@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.payment_type_credit_card'), 'card_title' => ctrans('texts.payment_type_credit_card')]) @section('gateway_head') @endsection @section('gateway_content')
@csrf
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')]) {{ ctrans('texts.credit_card') }} @endcomponent @include('portal.ninja2020.gateways.includes.payment_details') @component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.pay_with')]) @if(count($tokens) > 0) @foreach($tokens as $token) @endforeach @endisset @endcomponent @include('portal.ninja2020.gateways.includes.save_card') @include('portal.ninja2020.gateways.authorize.includes.credit_card') @include('portal.ninja2020.gateways.includes.pay_now') @endsection @section('gateway_footer') @if($gateway->company_gateway->getConfigField('testMode')) @else @endif @vite('resources/js/clients/payments/authorize-credit-card-payment.js') @endsection @push('footer') @endpush