Payment Reconciliation

Do ShurjoPay transactions, payments, invoices and payment links agree with each other?

Back to payments
@if (session('success'))
{{ session('success') }}
@endif
@if($sweepEnabled && $sweepPending > 0)

{{ number_format($sweepPending) }} open transaction(s) to check with ShurjoPay

Payments that were started and never came back. Most were simply abandoned, but a customer who paid and then closed the tab looks exactly the same from here โ€” only asking ShurjoPay tells them apart. This page never asks; the sweep is a scheduled command so its rate stays bounded:

php artisan bcp:reconcile-payments --gateway-sweep
@endif @if($findings->isEmpty())

Everything reconciles.

No discrepancies between transactions, payments, invoices and payment links.

@else
Findings
{{ number_format($findings->count()) }}
Critical
{{ number_format($criticalCount) }}
Fixable Automatically
{{ number_format($repairableCount) }}
@if($repairableCount > 0)

Finish the outstanding work

Settles payments ShurjoPay already verified, and writes any missing ledger entries. It collects nothing new and re-checks every record under a lock, so running it twice is safe.

@csrf
@endif
@foreach($findings as $finding) @endforeach
Severity Check Business Record Reference Detail
{{ ucfirst($finding->severity) }} {{ $finding->label() }} @if($finding->repairable) ยท fixable @endif {{ $finding->tenantId ? ($tenants->firstWhere('id', $finding->tenantId)?->name ?? '#'.$finding->tenantId) : 'โ€”' }} {{ str_replace('_', ' ', $finding->subjectType) }} #{{ $finding->subjectId }} {{ $finding->reference ?? 'โ€”' }} {{ $finding->detail }}
@endif

Reconciliation reads the records and recomputes every finding from scratch on each run. It never contacts ShurjoPay.