@extends('checkout.layout') @section('content')

Plan Details

@if (session()->has('alert')) @slot('type', session('alert')['type']) @slot('msg', session('alert')['msg']) @endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(isset($activeOrder))
Upgrading from {{$activeOrder->plan_data['title']}} to {{ $plan->title }}
@endif
{{ $plan->title }}
@php $original = floatval($plan->non_discounted_price); $discounted = floatval($plan->price); if ($original > 0 && $original > $discounted) { $discountPercent = round((($original - $discounted) / $original) * 100); } else { // fallback to 0% off if invalid data $discountPercent = 0; } @endphp
{{$plan->symbol}}{{$plan->non_discounted_price}} {{$plan->symbol}}{{$plan->price}} @if($plan->days!="30") / {{$plan->days}} days @else / month @endif {{$discountPercent}}% OFF

Get access to all premium features and unlimited usage.

What's included:

Payment Details

@csrf
@error('couponCode') {{ $message }} @enderror
Original Price
{{$plan->symbol}}{{$plan->non_discounted_price}}
Plan Discount
-{{$plan->symbol}}{{($plan->non_discounted_price-$plan->price)}}
Subtotal
{{$plan->symbol}}{{$plan->price}}
Coupon Discount
-{{$plan->symbol}}0.00
Tax (0%)
+{{$plan->symbol}}0.00
@if($siteDetails['site_tax_rate_type']==="fixed")
Gateway Fee ({{$plan->symbol}} {{$siteDetails['site_tax_rate']}})
@else
Gateway Fee ({{$siteDetails['site_tax_rate']}}%)
@endif
+{{$plan->symbol}}0.00
Total
{{$plan->symbol}}{{$plan->price}}

Select Payment Gateway

{{-- Show validation error --}} @error('gateway_id') {{ $message }} @enderror
@endsection @section('scripts') @endsection