Appearance
Orders & Tickets
Track and manage all customer orders and ticket entries.
Route
/admin/orders
Overview
The Orders page provides a centralized view of all customer transactions, ticket purchases, and instant win claims.
Page Tabs
The orders page has two main tabs:
- Orders - View and manage all customer orders
- Refunds - Monitor and manage refund requests (see Refunds Dashboard below)
Dashboard Statistics
- Total Orders - All-time order count
- Total Revenue - All-time revenue
- Completed Orders - Successfully processed
- Last 24 Hours - Recent activity
Orders Table
Order Information
Each order displays:
- Order ID - Unique identifier
- Customer - Name and email
- Amount - Order total
- Status - Payment status
- Date - Order timestamp
- Instant Wins - Number of instant prizes won
- Actions - View details, refund, etc.
Payment Status
Orders can have these statuses:
- Pending - Payment initiated but not confirmed
- Processing - Payment being processed
- Completed - Payment successful
- Failed - Payment failed
- Refunded - Order refunded to customer
- Cancelled - Order cancelled
Filtering & Search
Filter Options
- Payment Status - Filter by status
- Date Range - Filter by date
- Competition - Filter by specific competition
- Customer - Search by email or name
- Amount Range - Filter by order value
Search
Search orders by:
- Order ID
- Customer email
- Customer name
- Transaction ID
Order Details
Click an order to view full details:
Customer Information
- Name and email
- Phone number
- Billing address
- Order history
Order Items
- Competition name
- Ticket numbers
- Quantity
- Unit price
- Total price
Payment Information
- Payment method
- Transaction ID
- Payment provider
- Payment date/time
- Payment status
- Order Source - Marketing attribution (see Marketing Attribution below)
Order Timeline
View complete order lifecycle with timestamps:
- Order Created - When order was initiated
- Payment Initiated - When payment process started
- Payment Completed - When payment was confirmed
- Tickets Issued - When tickets were generated
- Instant Wins Claimed - When prizes were revealed (if applicable)
Ticket Entries
- All purchased ticket numbers
- Entry status
- Competition details
- Draw date (if applicable)
Instant Wins
If order includes instant wins:
- Prize name
- Prize value
- Claim status
- Fulfillment status
Actions
Refund Order
- Click order to view details
- Click "Refund" button
- Confirm refund amount
- Enter refund reason
- Process refund
- Customer notified automatically
Note: Refunding releases ticket numbers back to available pool.
View Customer Profile
- Click customer name in order
- View customer details:
- All orders
- Total spent
- Competition entries
- Wins
- Account status
Resend Confirmation
- Click order details
- Click "Resend Confirmation"
- Email sent to customer
Export Order Data
- Apply desired filters
- Click "Export"
- Choose format (CSV, Excel, PDF)
- Download file
Ticket Management
View all tickets across all orders:
- Ticket number
- Competition
- Purchase date
- Customer
- Status
- Entry validity
Ticket Status
- Available - Not yet purchased
- Reserved - In customer cart
- Purchased - Paid and confirmed
- Refunded - Ticket refunded
- Cancelled - Order cancelled
Payment Methods
Track orders by payment method:
- Card - Credit/debit card
- PayPal - PayPal account
- Apple Pay - Apple Pay
- Google Pay - Google Pay
View statistics per payment method:
- Total orders
- Total revenue
- Average order value
- Success rate
Instant Win Orders
View orders containing instant wins:
- Filter to show only instant win orders
- See prize details
- Track fulfillment status
- Export instant win list
Revenue Analytics
Daily Revenue
- Today's revenue
- Yesterday comparison
- Trend indicator
- Revenue chart
Monthly Revenue
- Current month total
- Month-over-month growth
- Daily breakdown
- Peak days
Revenue by Competition
See which competitions generate most revenue:
- Competition name
- Total revenue
- Number of orders
- Average order value
Failed Orders
Monitor and troubleshoot failed payments:
Failed Order Information
- Failure reason
- Payment provider error
- Customer details
- Retry attempts
Actions for Failed Orders
- Contact customer
- Retry payment
- Cancel order
- Mark as resolved
Refunds Dashboard
The Refunds tab provides a dedicated view for monitoring and managing all refund requests.
Accessing the Refunds Dashboard
- Navigate to
/admin/orders - Click the "Refunds" tab
- View pending refund count badge on the tab
Refunds Table
Each refund displays:
- Refund ID - Unique refund identifier
- Order - Link to original order
- Customer - Customer name and email
- Amount - Refund amount with breakdown
- Status - Current refund status
- Created - When refund was requested
- Duration - Time since creation (for pending refunds)
Refund Status
Refunds can have these statuses:
- Pending - Refund requested, awaiting processing
- Approved - Refund approved, processing payment return
- Completed - Refund fully processed and returned to customer
- Failed - Refund processing failed
Status Filtering
Filter refunds by status:
- Use the status dropdown filter
- Select desired status (Pending, Approved, Completed, Failed)
- View filtered results
Pending Refund Alerts
The dashboard highlights refunds that may need attention:
- Pending badge - Shows count of pending refunds on tab
- Duration warning - Refunds pending for more than 10 minutes are highlighted
- Use these indicators to prioritize refund processing
Refund Breakdown
Each refund shows payment method breakdown:
- Card Amount - Amount to be returned to card
- Wallet Amount - Amount to be credited to user wallet
This breakdown helps understand how the original payment was split.
Actions
From the refunds dashboard:
- View Order - Quick link to original order details
- Update Status - Change refund status as processing progresses
Refund Management
Track all refunds:
- Refund date
- Original order
- Amount refunded
- Reason
- Processed by
- Customer notification status
Refund Reports
Export refund data for:
- Accounting
- Customer service
- Compliance
- Analysis
Marketing Attribution
Track where your orders come from to measure marketing campaign effectiveness:
Order Source Tracking
Each order automatically captures:
- Source - Where the customer came from (e.g., email, social, direct)
- Medium - Marketing medium (e.g., email, cpc, organic)
- Campaign - Campaign name (if from a tracked campaign)
- Referrer - Full referrer URL
How It Works
When customers click links from your marketing campaigns, tracking parameters are captured:
https://yoursite.com/competitions/123?utm_source=newsletter&utm_medium=email&utm_campaign=summer2024This information is:
- Stored when customer visits the site
- Associated with their basket
- Saved to the order when they complete checkout
UTM Parameters
Use these standard UTM parameters in your marketing links:
utm_source- Traffic source (e.g., facebook, google, newsletter)utm_medium- Marketing medium (e.g., social, email, cpc)utm_campaign- Campaign name (e.g., spring_sale, black_friday)utm_content- Ad content/variation (optional)utm_term- Keyword term (optional for paid search)
Viewing Attribution Data
In Order Details:
- View source information for each order
- See which campaign generated the sale
In Analytics:
- Filter orders by source
- Group revenue by campaign
- Compare conversion rates by channel
Example Marketing Links
Email Campaign:
/competitions/123?utm_source=newsletter&utm_medium=email&utm_campaign=weekly_dealsFacebook Ad:
/competitions/123?utm_source=facebook&utm_medium=social&utm_campaign=summer_promoGoogle Ads:
/competitions/123?utm_source=google&utm_medium=cpc&utm_campaign=brand_keywordsUse Cases
- Measure ROI - Track which channels drive most revenue
- Optimize Spend - Focus budget on high-performing channels
- A/B Testing - Compare different campaign variations
- Campaign Performance - Measure success of specific campaigns
Best Practices
- Always use consistent naming for sources and campaigns
- Create a tracking spreadsheet to document your UTM strategy
- Use URL builders to ensure correct formatting
- Test links before deploying campaigns
- Review attribution data regularly to inform marketing decisions
Tips
- Monitor failed orders daily
- Process refunds promptly
- Keep customers informed
- Export data regularly for accounting
- Track instant win fulfillment
- Review payment method performance
- Set up automated notifications
- Monitor suspicious orders
- Use UTM parameters in all marketing campaigns
- Review order source data to optimize marketing spend