@extends('layouts.dashboard') @section('content')
@if($payment->isCompleted())

Payment Successful!

Your payment has been processed and your order has been created.

@elseif($payment->isFailed())

Payment Failed

There was an issue processing your payment. Please try again.

@else

Payment Pending

Your payment is being processed. Please wait for confirmation.

@endif

Payment Details

Payment ID
{{ $payment->payment_id }}
Amount
${{ number_format($payment->amount, 2) }} {{ $payment->currency }}
Status
{{ ucfirst($payment->status) }}
@if($payment->paid_at)
Paid At
{{ $payment->paid_at->format('M j, Y g:i A') }}
@endif @if($payment->payment_method)
Payment Method
{{ ucfirst(str_replace('_', ' ', $payment->payment_method)) }}
@endif @if($payment->order_id)
Transaction ID
{{ $payment->order_id }}
@endif

Project Details

Project Type
{{ $payment->quoteRequest->project_type }}
Delivery Time
{{ $payment->quoteRequest->delivery_days }} days
Instructions
{{ $payment->quoteRequest->instructions }}
@if($payment->isCompleted()) View My Orders @elseif($payment->isFailed()) Try Again @endif Back to Quote
@if($payment->isCompleted())

Order Created Successfully

Your order has been created and work will begin shortly. You can track the progress in your orders dashboard.

@endif
@endsection