Orders
The Orders system is the heart of PremiumCDKeys. It tracks every order from your store, handles fulfillment, and ensures keys reach your customers.
Order Lifecycle
┌─────────┐ ┌──────────┐ ┌───────────┐ ┌───────────┐
│ Pending │───▶│Processing│───▶│ Fulfilled │───▶│ Delivered │
└─────────┘ └──────────┘ └───────────┘ └───────────┘
│ │ │
▼ ▼ ▼
┌─────────┐ ┌──────────┐ ┌───────────┐
│ Waiting │ │ Failed │ │ Refunded │
└─────────┘ └──────────┘ └───────────┘
Order Statuses
| Status |
Description |
| Pending |
Order received, awaiting processing |
| Processing |
Purchasing key from supplier |
| Fulfilled |
Key obtained, ready for delivery |
| Delivered |
Key sent to customer |
| Failed |
Error during fulfillment |
| Waiting |
Awaiting stock or manual action |
| Refunded |
Order was refunded |
Viewing Orders
Dashboard Overview
The Dashboard shows recent orders with:
- Order number
- Customer name
- Product
- Status
- Actions
Orders List
Go to Orders for the full list:
- Filter by status, date, product
- Search by order number or customer
- Sort by date, value, status
Order Details
Click any order to see:
- Customer information
- Product details
- Supplier and cost
- Delivery key
- Timeline of events
Automatic Processing
Enable Auto-Processing
- Go to Application → Control
- Enable Auto-process orders
- Configure options:
- Process delay (immediate or delayed)
- Notification settings
- Error handling
How It Works
New Order → Product Mapping Check → Stock Check → Purchase → Deliver
PremiumCDKeys automatically:
- Detects new orders via webhook
- Finds mapped supplier product
- Checks stock availability
- Purchases key from supplier
- Delivers to customer
Manual Processing
Process Single Order
- Go to Orders
- Find the pending order
- Click Process
- Confirm the action
Bulk Processing
- Select multiple orders (checkboxes)
- Click Process Selected
- Review and confirm
Manual Key Entry
For orders requiring manual fulfillment:
- Open order details
- Click Enter Key Manually
- Paste the key
- Save and deliver
Order Actions
View Key
See the purchased/stored key for an order.
Resend Delivery
Resend the key delivery email:
- Open order details
- Click Resend Email
- Optionally update email address
Mark as Delivered
For manual deliveries:
- Open order
- Click Mark Delivered
- Add notes if needed
Refund/Cancel
Cancel or refund an order:
- Open order
- Click Cancel or Refund
- Key is released back to inventory (if applicable)
Order Search
Basic Search
- Order number
- Customer email
- Product name
Advanced Filters
- Date range
- Status
- Supplier
- Application
- Price range
Order Notifications
Customer Notifications
Customers receive:
- Order confirmation
- Key delivery email
- Download page link
Admin Notifications
You receive alerts for:
- Failed orders
- Low stock warnings
- Manual action required
Reports & Analytics
Order Summary
View aggregated data:
- Total orders
- Revenue
- Costs
- Profit margins
Export Orders
Export to CSV or Excel:
- Apply desired filters
- Click Export
- Choose format
- Download file
Troubleshooting Orders
Order Stuck in Processing
- Check supplier API status
- Verify product mapping
- Check for errors in order details
- Retry or process manually
Key Not Delivered
- Verify customer email
- Check spam/junk folders
- Resend delivery
- Check SMTP settings
Wrong Key Delivered
- Document the issue
- Contact supplier for replacement
- Manually deliver correct key
- Update records
Supplier Out of Stock
- Wait for restock
- Use fallback supplier
- Refund customer
- Source key manually
Best Practices
- Monitor daily: Check orders dashboard regularly
- Handle failures quickly: Don't let failed orders sit
- Keep mappings current: Update when suppliers change
- Test regularly: Place test orders periodically
- Document issues: Track problems for pattern recognition
Order API
Access orders programmatically:
- List orders
- Get order details
- Update order status
- Trigger fulfillment
See API Documentation for details.