@extends('layouts.admin') @section('admin-content')

Payment Details

Back to Payments

Payment Info

Transaction ID:{{ $payment->transaction_id }}
Gateway:{{ $payment->payment_gateway }}
Method:{{ $payment->payment_method }}
Amount:${{ number_format($payment->amount, 2) }}
Status: {{ ucfirst($payment->status) }}
Date:{{ $payment->created_at->format('M d, Y H:i') }}
@if($payment->paid_at)
Paid At:{{ $payment->paid_at->format('M d, Y H:i') }}
@endif

Order Info

@if($payment->order)
Customer:{{ $payment->order->customer->name }}
Order Status:{{ $payment->order->status }}
Order Total:${{ number_format($payment->order->total, 2) }}
@endif

Customer

@if($payment->customer)

{{ $payment->customer->name }}

{{ $payment->customer->email }}

{{ $payment->customer->phone ?: 'N/A' }}

@endif
@if($payment->gateway_response)

Gateway Response

{{ json_encode(json_decode($payment->gateway_response), JSON_PRETTY_PRINT) }}
@endif @endsection