@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.payment_type_credit_card'), 'card_title' => '']) @php $gateway_instance = $gateway instanceof \App\Models\CompanyGateway ? $gateway : $gateway->company_gateway; $token_billing_string = 'true'; if($gateway_instance->token_billing == 'off' || $gateway_instance->token_billing == 'optin'){ $token_billing_string = 'false'; } if (isset($pre_payment) && $pre_payment == '1' && isset($is_recurring) && $is_recurring == '1') { $token_billing_string = 'true'; } @endphp @section('gateway_head') @endsection @section('gateway_content')
@csrf
@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.includes.pay_now', ['id' => 'pay-now'])
@include('portal.ninja2020.gateways.includes.pay_now', ['id' => 'pay-now-token']) @endsection @section('gateway_footer') @endsection @push('footer') @if(isset($merchantId)) @else @endif @endpush