{{ __('Payment Details') }}

@if (session('success-payment')) @endif @if (session('info-booking-payment')) @endif
@if($payment->status === 'completed') @else @endif

Payment {{ $payment->status_label }}

@if($payment->status === 'completed') Your payment has been successfully processed and the booking is confirmed. @elseif($payment->status === 'pending') Your payment is being processed and will be confirmed shortly. @elseif($payment->status === 'refunded') This payment has been refunded to your original payment method. @else Payment processing {{ strtolower($payment->status_label) }}. @endif

Payment Information

Payment ID:

{{ $payment->id }}

Transaction ID:

{{ Str::limit($payment->stripe_payment_intent_id, 20) }}

Payment Date:

@userDate($payment->created_at)

Status:

{{ $payment->status_label }}

@if($payment->paid_at)
Paid At:

@userDateTime($payment->paid_at)

@endif

Payment Breakdown

@if($payment->subtotal)
Booking Amount {{ $payment->formatted_subtotal }}
@endif
Platform Service Fee 10%
{{ $payment->formatted_platform_fee }}
@if($payment->stripe_fee > 0)
Stripe Processing Fee 2.9% + $0.30
{{ $payment->formatted_stripe_fee }}
@endif
Total Paid

Total amount charged

{{ $payment->formatted_amount }}
@if(Auth::id() === $bookingRequest->golfer_id || Auth::id() === $bookingRequest->client_id)

Golfer Earnings: {{ $payment->formatted_golfer_share }}

(90% of booking amount, available for withdrawal after completion)

@endif @if($payment->receipt_url) @endif

Booking Details

@if(Auth::id() === $bookingRequest->client_id)
Golfer: {{ $bookingRequest->golfer->name }}
@else
Client: {{ $bookingRequest->client->name }}
@endif
Course: {{ $bookingRequest->course_name }}
Location: {{ $bookingRequest->course_location }}
Date: {{ $bookingRequest->formatted_proposed_date }}
Time: {{ $bookingRequest->formatted_proposed_time }}
Duration: {{ $bookingRequest->duration_minutes / 60 }} hour(s)
View Receipt @if(Auth::id() === $bookingRequest->client_id) Payment History @elseif(Auth::id() === $bookingRequest->golfer_id) My Earnings @endif Booking Details