Payment status
@if ($payment->status === 'paid')

Payment verified

Your course is unlocked.

{{ $payment->course?->title }} is now part of your Money-Wise learning path.

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

Payment not completed

Your course is still waiting.

{{ $payment->failure_reason ?: 'No charge was confirmed. You can safely try again.' }}

@else

Waiting for confirmation

Almost there.

{{ session('checkout_message', 'The payment provider has not confirmed this transaction yet. This page will check again automatically.') }}

Reference{{ $payment->reference }}
Amount{{ $payment->currency }} {{ number_format($payment->amountMajor(), 2) }}
@push('scripts') @endpush @endif