@extends('portal.ninja2020.layout.payments', ['gateway_title' => ctrans('texts.paypal'), 'card_title' => ctrans('texts.paypal')]) @section('gateway_head') @endsection @section('gateway_content')
@csrf
@component('portal.ninja2020.components.general.card-element', ['title' => ctrans('texts.payment_type')]) {{ ctrans('texts.paypal') }} @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') @component('portal.ninja2020.components.general.card-element-single')
@endcomponent @include('portal.ninja2020.gateways.includes.pay_now', ['id' => 'pay-now-with-token', 'class' => 'hidden']) @endsection @section('gateway_footer') @vite('resources/js/clients/payments/braintree-paypal.js') @endsection