@extends('layouts.frontlayout') @section('content') Checkout @if(isset($product) && $product) @else @endif @csrf Selected Payments @if(isset($subscrition) && $subscrition) {{ $subscrition->title }} {{ $subscrition->currency.' '.$subscrition->price }} @endif @if(isset($plan_features) && $plan_features) @foreach($plan_features as $key => $pf) {{ $pf['title'] }} {{ $pf['description'] }} {{ $pf['currency'].' '.$pf['price'] }} @endforeach @endif Total Amount {{ $currency.' '.$total }} Payment Method @if($user->stripe_card_id) @if (str_contains($user->card_type, 'Visa')) @elseif(str_contains($user->card_type, 'UnionPay')) @elseif(str_contains($user->card_type, 'Discover')) @elseif(str_contains($user->card_type, 'Japan')) @elseif(str_contains($user->card_type, 'MasterCard')) @elseif(str_contains($user->card_type, 'Mastercard')) @elseif(str_contains($user->card_type, 'American')) @else @endif {{-- Change Remove --}} *************{{ $user->card }} Expires {{ $user->holder_name }} {{ $user->exp_month }}/{{ $user->exp_year }} @else @for($i = 01; $i <= 12; $i++) 00 @endfor @php $current = date('Y'); $future = $current+20; @endphp @for($i = $current; $i <= $future; $i++) @endfor Please correct the errors and try again. @endif Pay {{ $currency.' '.$total }}
{{ $pf['description'] }}
Total Amount
{{ $currency.' '.$total }}
Payment Method
*************{{ $user->card }}
Expires
{{ $user->holder_name }}
{{ $user->exp_month }}/{{ $user->exp_year }}
Your plan has been activated