@extends('donations.layout') @section('title', 'Donation Status') @section('content')
Donation update

Your donation

@if ($donation->status === 'paid')

Thank you, {{ $donation->donor_name }}!

Thank you. Your donation has been received and confirmed by Paystack. A receipt will be sent to your email address.

@elseif ($donation->status === 'refunded')

This donation was refunded

Your donation has been refunded. Contact DFHA if you have questions.

@elseif ($donation->status === 'failed')

Payment not completed

Paystack was unable to confirm this donation. You can try again securely.

@elseif ($donation->status === 'cancelled' || $donation->status === 'expired')

No donation was completed

This checkout was cancelled or expired. You can return to the donation form if you would like to try again.

@else

Confirming your donation

We’re verifying your payment with Paystack. This page will update automatically; please don’t submit another payment.

@endif
Donor
{{ $donation->donor_name }}
Donation amount
{{ $donation->formattedAmount() }} {{ strtoupper($donation->currency) }}
Reference
{{ $donation->public_id }}
Transaction status
{{ ucfirst($donation->status) }}
@if ($donation->paid_at)
Payment date
{{ $donation->paid_at->format('M j, Y g:i A') }} UTC
@endif
@if ($donation->status === 'failed') View payment options @elseif ($donation->status !== 'paid') Return to donation form @endif Return to DFHA home
@if ($donation->status === 'pending' || $donation->status === 'processing') @endif @endsection