@php($effective = $link->effectiveStatus())
Back to payment links

{{ $link->title }}

{{ $effective->label() }}

{{ $link->tenant?->name }}@if($link->customer) · {{ $link->customer->name }}@endif

@if (session('success'))
{{ session('success') }}
@endif @error('payment_link')
{{ $message }}
@enderror @unless($gatewayEnabled)
ShurjoPay is switched off on this installation, so this link cannot be paid yet.
@endunless
Amount
{{ number_format($link->amount, 2) }} {{ $link->currency }}
@if($effective === \App\Enums\PaymentLinkStatus::ACTIVE)

Share this link

Send this URL to the customer. Anyone holding it can pay; nothing else is needed.

A QR code is not generated: this installation has no QR encoder available. The URL above is the whole link.

@endif

Details

Reference
{{ $link->reference ?? '—' }}
Created
{{ $link->created_at?->format('M d, Y H:i') }}@if($link->creator) by {{ $link->creator->name }}@endif
Expires
{{ $link->expires_at?->format('M d, Y H:i') ?? 'Never' }}
Paid
{{ $link->paid_at?->format('M d, Y H:i') ?? '—' }}
Payment reference
{{ $link->payment_reference ?? '—' }}
Collects invoice
@if($link->invoice) {{ $link->invoice->invoice_number }} @else No — generic custom payment @endif
@if($link->description)
Description
{{ $link->description }}
@endif

Payment attempts

@forelse($transactions as $transaction) @empty @endforelse
Our reference ShurjoPay order Bank transaction Status Settled Note
{{ $transaction->merchant_order_id }} {{ $transaction->sp_order_id ?? '—' }} {{ $transaction->bank_trx_id ?? '—' }} {{ $transaction->status }} {{ $transaction->settled_at?->format('M d, Y H:i') ?? '—' }} {{ $transaction->last_error ?? '—' }}
Nobody has started a payment yet.
@if(! $link->isPaid() && ! $link->isCancelled())

Deactivate

The link keeps resolving, but nobody can pay it. This cannot be undone.

@csrf
@endif
@if($effective === \App\Enums\PaymentLinkStatus::ACTIVE) @verbatim @endverbatim @endif