@if ($order->status === 'paid')
Payment received
{{ money_full($order->total, $order->currency) }} for {{ $order->description }}.
{{ $order->checkoutPage?->thank_you_message ?: 'Thank you! A receipt has been emailed to you.' }}
@if ($order->registration)
Your ticket code: {{ $order->registration->code }}
@endif
@if ($order->checkoutPage?->redirect_url)
Continue
@endif
@elseif ($order->status === 'refunded')
This payment was refunded
@elseif ($order->status === 'cancelled')
This payment link is closed
Nothing more is needed here. If you think this is a mistake, please contact {{ $account->name }}.
@else
{{ money_full($order->total, $order->currency) }}
{{ $order->description }}
@error('payment')
{{ $message }}
@enderror
@if ($error)
{{ $error }}
@endif
@if ($status === 'cancelled')
Payment was cancelled. You can try again.
@endif
@if ($status === 'success')
Confirming your payment… this page refreshes by itself.
@endif
@switch($payment['type'] ?? null)
@case('checkout_js')
@break
@case('redirect')
Pay now
@break
@case('fake')
Test mode: no real money is charged.
@break
@default
@unless ($error)
{{ $account->name }} doesn't take online payments yet. They will contact you about payment.
@endunless
@endswitch
@endif