Skip to main content

Header

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 StateUI Status BadgeSystem Meaning & Escrow Condition
pending_paymentYellowOrder created; awaiting buyer payment verification (bKash, Nagad, etc.).
paidBluePayment verified; funds locked in BDX Escrow. Seller notified to deliver.
deliveredPurpleSeller uploaded item or code pool dispatched. 7-Day Protection Window Active.
completedGreenBuyer confirmed delivery or 7-day auto-completion timer expired. Payout released.
disputedRedBuyer initiated dispute. Escrow locked pending resolution.
cancelledGrayOrder 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​

  1. Payload Unseal Button: Renders unencrypted serial keys, vaulted login details, or signed file download links.
  2. 7-Day Countdown Timer: Displays real-time countdown to auto-completion.
  3. 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​

  1. When an order transitions to delivered, the database records delivered_at = NOW().
  2. The buyer is granted 7 calendar days (168 hours) to inspect, redeem, and test the delivered digital product.
  3. 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.
// 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.