@extends('layouts.dash') @section('title', 'My Orders') @section('content')

My Orders

Your package purchases & payment status.

New Order
@if($orders->isEmpty())
No orders yetBuy a package to see it here.
@else
@foreach($orders as $o) @endforeach
#API / PackageAmountPaymentStatusDateActions
{{ $o->id }} {{ $o->order_kind === 'wallet_topup' ? 'Wallet top-up' : ($o->service?->name ?? '—') }}
{{ $o->order_kind === 'wallet_topup' ? taka($o->amount).' wallet balance' : (($o->package?->name ?? 'Custom credits').' • '.number_format((int) ($o->credit_quantity ?: ($o->package?->requests ?? 0))).' credits') }}
{{ $o->amount > 0 ? taka($o->amount) : 'FREE' }} {{ $o->payment_method }}
{{ \Illuminate\Support\Str::limit($o->txn_id, 22) }}@if($o->expires_at && $o->status==='pending')
Expires {{ $o->expires_at->diffForHumans() }}@endif
{!! badge($o->status) !!} @if($o->status==='pending')
Pending verification@endif @if($o->status==='expired')
Expired — please retry@endif @if($o->admin_note)
{{ $o->admin_note }}@endif
{{ fmt_date($o->created_at, true) }}
Invoice @if($o->invoice) PDF@endif @if($o->status==='pending' && $o->payment_method==='nagorikpay')
@csrf
@endif @if($o->status==='pending' || $o->status==='expired') Retry @endif
@endif
Payment Statuses Explained
Pending verification Payment is being verified — usually within seconds. Use Recheck if needed.
Success — Credits Added Payment verified & invoice emailed.
Expired — Please Retry Timed out after {{ (int) setting('nagorikpay_expire_minutes',30) }} min.
Failed / Rejected Gateway declined — retry or contact support.
@endsection