Secure Checkout

{{-- Alerts --}} @if(session('error') || $errors->any())
{{ session('error') ?? $errors->first() }}
@endif
@csrf
{{-- LEFT: Form --}}
{{-- Step 1: Customer Information --}}
1
Customer Information
{{-- Step 2: Payment Method --}}
2
Payment Method
@forelse($gateways as $gateway) @empty

No Payment Methods Available

Our payment gateway is currently undergoing maintenance. Please check back shortly or contact our support team for assistance.

@endforelse
{{-- Info note --}}

After completing your purchase, your digital books will be instantly available in your account dashboard. All transactions are secured with SSL encryption.

{{-- RIGHT: Order Summary --}}

Order Summary

{{-- Items --}}
@foreach($cart->items as $item) @php $isPlan = !empty($item->plan_id); $title = $isPlan ? ($item->plan->name ?? 'Subscription Plan') : ($item->product->name ?? $item->product->title ?? 'Digital Product'); $thumb = !$isPlan ? ($item->product->thumbnail_url ?? $item->product->thumbnail) : null; @endphp
@if($thumb) @else
@if($isPlan) @else @endif
@endif
{{ $title }}
${{ number_format($item->price_snapshot, 2) }}
@endforeach
{{-- Totals --}}
Subtotal ${{ number_format($totals['subtotal'], 2) }}
Tax ${{ number_format($totals['tax'], 2) }}
Total ${{ number_format($totals['total'], 2) }}
{{-- Place Order Button --}} {{-- Trust Badges --}}
SSL Secured
Instant Delivery
Encrypted
{{-- Hidden Remove Form --}}