@extends('portal.ninja2020.layout.payments', ['gateway_title' => 'Credit card', 'card_title' => 'Credit card']) @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') @if($gateway->company_gateway->getConfigField('account_id')) @else @endif @endsection @section('gateway_content')
@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')])