Order History & Tracking Workspace
The Order History & Tracking Workspace (/orders) is the centralized operational panel where buyers manage active purchases, review completed digital deliveries, track delivery status, download invoices, access vaulted credentials, and initiate post-delivery support or disputes.
Built for transparency and accountability, the workspace maintains immutable records of every transaction completed on BDX.market, enforcing BDXβs 7-Day Buyer Protection workflow.
1. Dashboard Layout & Order Lifecycle Statesβ
The Order Workspace categorizes transactions by their state within the BDX escrow lifecycle, allowing buyers to quickly identify orders requiring attention.
+------------------------------------------------------------------------+
| Order Lifecycle Pipelines |
| |
| [ Pending Payment ] -> [ Paid / Processing ] -> [ Delivered ] |
| | |
| v |
| [ Disputed ] <-------------------------------> [ Completed ] |
+------------------------------------------------------------------------+
Detailed Order States Matrixβ
| Order State | UI Status Badge | System Meaning & Escrow Condition |
|---|---|---|
pending_payment | Yellow | Order created; awaiting buyer payment verification (bKash, Nagad, etc.). |
paid | Blue | Payment verified; funds locked in BDX Escrow. Seller notified to deliver. |
delivered | Purple | Seller uploaded item or code pool dispatched. 7-Day Protection Window Active. |
completed | Green | Buyer confirmed delivery or 7-day auto-completion timer expired. Payout released. |
disputed | Red | Buyer initiated dispute. Escrow locked pending resolution. |
cancelled | Gray | Order voided prior to delivery. Funds returned to buyer's BDX Wallet. |
2. Dynamic Order Details View (/orders/{order_id})β
Clicking any order entry opens the dedicated Order Details Workspace, a single-page view combining transaction meta-data, digital asset payload displays, countdown timers, and integrated chat.
+------------------------------------------------------------------------+
| Order #BDX-2026-99481 Status: DELIVERED |
+------------------------------------------------------------------------+
| Item: Steam Gift Card $20 Global |
| Seller: JoyGamersHub (Verified β
5.0) |
| Total Paid: ΰ§³2,250 BDT (Via bKash) |
+------------------------------------------------------------------------+
| [ DIGITAL ASSET PAYLOAD ] |
| Key: STEAM-XXXX-YYYY-ZZZZ [ COPY CODE ] |
+------------------------------------------------------------------------+
| β±οΈ Buyer Protection Remaining: 4 Days 18 Hours |
| |
| [ CONFIRM RECEIPT ] [ OPEN DISPUTE / REPORT ] |
+------------------------------------------------------------------------+
Key Interactive Elementsβ
- Payload Unseal Button: Renders unencrypted serial keys, vaulted login details, or signed file download links.
- 7-Day Countdown Timer: Displays real-time countdown to auto-completion.
- Action Triggers:
- Confirm Receipt: Immediately completes the order and releases payout to seller.
- Open Dispute: Pauses the countdown timer and initiates seller arbitration.
3. Integrated Order Messaging & File Exchange (/messages)β
Every order in the workspace incorporates a dedicated, logged chat thread connecting the buyer and seller directly.
Operational Protocols for Order Chatβ
- Evidence Storage: All chat messages, code pastes, and uploaded image screenshots are stored immutably in the database.
- Automated Anti-Fraud Filtering: Chat inputs are continuously scanned by regex pattern matchers to detect and redact off-platform contact attempts (e.g., phone numbers, WhatsApp links, personal bkash accounts).
- Delivery Logging: When a seller delivers custom digital items manually inside chat, the delivery event is timestamped and flagged for admin audit.
4. Automatic Completion Engine & 7-Day Protection Windowβ
BDX operates an automated schedule job (bdx:orders:auto-complete) to settle delivered orders efficiently while protecting buyers.
Auto-Completion Logic Scheduleβ
- When an order transitions to
delivered, the database recordsdelivered_at = NOW(). - The buyer is granted 7 calendar days (168 hours) to inspect, redeem, and test the delivered digital product.
- If the buyer takes no action (neither confirming receipt nor opening a dispute) within 7 days:
- The scheduled job automatically transitions order status to
completed. - The sellerβs wallet ledger is credited with net earnings.
- The transaction is finalized, preventing retrospective disputes.
- The scheduled job automatically transitions order status to
// Daily Scheduled Job (bdx:orders:auto-complete)
public function handle(): void
{
$expiredOrders = BdxOrder::where('status', 'delivered')
->where('delivered_at', '<=', now()->subDays(7))
->get();
foreach ($expiredOrders as $order) {
DB::transaction(function () use ($order) {
$order->update(['status' => 'completed', 'completed_at' => now()]);
// Release funds from escrow to seller wallet ledger
$order->sellerWallet->releaseEscrowFunds($order);
});
}
}
5. Invoice Generation & Tax Compliance Recordsβ
Buyers frequently require formal proof of transaction for business expense reporting or personal record-keeping.
Printable PDF & Digital Invoicesβ
- Every completed order provides a Download PDF Invoice link.
- Invoices contain standardized transaction data: BDX Order ID, seller trading name, buyer account details, item description, category breakdown, tax/fee itemization (base price, flat fee, percentage fee), and payment method reference.
- All pricing and fee calculations strictly adhere to Bangladesh trade licensing and digital commerce operating guidelines.