@extends('site.layouts.app') @section('title', 'Checkout') @section('content')

Payment Checkout

@csrf

Details

@php $country = App\Models\Country::where( 'id', session()->get('visacart')['country_id'], )->first(); $visa = App\Models\VisaCategory::where( 'id', session()->get('visacart')['visa_category'], )->first(); @endphp
  • Visa
    {{ $visa->name }}
  • Cost
    {{ str_replace('_', '',auth()->user()->country->currency)}} {{ number_format(session()->get('visacart')['cost']) }}
  • Country
    {{ str_replace('_', '',$country->name)}}

Required Details

{!! $visa->description !!}

Total
@php $total = session()->get('visacart')['cost']; @endphp
Subtotal {{ str_replace('_', '',auth()->user()->country->currency) }} {{ number_format($total) }}
Total {{ str_replace('_', '',auth()->user()->country->currency) }} {{ number_format($total) }}
@include('site.bankSelection')
@php $banks = App\Models\BankAccount::where( 'country_id', '=', auth()->user()->country_id, )->get(); @endphp @foreach ($banks as $key => $bank) @if ($bank->type === 'Bank')
@endif @endforeach
@foreach ($banks as $key => $bank) @if ($bank->type === 'E-Wallet')
@endif @endforeach
@if (!empty($user_wallet->amount))
Your E-Wallet
You have {{ auth()->user()->country->currency }} {{ $user_wallet->amount }}. Do you want to pay?
@endif
Payment Receipt Upload your Payment Receipt
Trx ID
@auth @endauth @guest Login @endguest
@endsection