Remove test orders from your store
While you're setting up payments and themes, you'll usually place a few test orders. Those rows pollute your analytics and customer list, so it's good practice to clean them up before launch.
Cancel a test order
You can only delete orders that have reached a final state (Delivered, Canceled, or Returned), so cancel any active test orders first.
- Go to Orders in the admin and open the test order.
- Click the Cancel Order button (shown while the order is still active, for example Confirmed). For an order you haven't accepted yet, you'll see Reject Order instead.
- Confirm in the popup. Inventory is restocked and the order moves to Canceled.
- If a real charge was captured (you used a live card by mistake), refund it from the same order screen.
Delete a test order
Cancellation moves the order out of fulfillment, but it still appears in the list. To remove it from your history and analytics permanently:
- Open the order. It must be Delivered, Canceled, or Returned.
- Click the Delete order button.
- Confirm in the popup that appears. The order and its line items are permanently removed from the list and from sales metrics.
Note: deletion is permanent. If you need an audit trail, leave the order Canceled instead of deleting it.
An order tied to an active subscription with upcoming renewals can't be deleted — cancel the subscription first, then delete the order.
Bulk-delete test orders
To clear several finished test orders at once:
- Go to Orders. Use the status filter (for example Canceled) or the search box to narrow the list to your test orders.
- Click Bulk Action to turn on selection mode.
- Tick the checkboxes next to the orders you want to remove. Checkboxes only appear on orders that are Delivered, Canceled, or Returned — active orders can't be selected, so cancel them first.
- Click Delete Orders and confirm. Any order that can't be deleted (for example, a subscription order with upcoming renewals) is skipped and reported back to you.
Test orders the right way
- Use a dedicated test customer with an email like
[email protected]so the orders are easy to find with the search box and clean up later. - Cancel test orders as you go, then bulk-delete the Canceled ones before launch.
- If your payment provider supports test mode (for example Stripe), keep it on until launch — test charges aren't real money and don't need refunding.
FAQ
Which orders can I delete?
Only orders in a final state — Delivered, Canceled, or Returned. Active orders (pending, confirmed, paid, shipped) must be canceled first.
Will deleting an order affect inventory?
Cancelling restocks inventory. Deleting an already-cancelled order doesn't change inventory again.
Will my analytics still show old test orders?
Deleted orders are removed from sales metrics. Cancelled orders are excluded from revenue but still appear in the order count — that's why we recommend deleting after launch.
Can I undo a delete?
No — deletion is permanent. Cancel first if you might need the record.
How do I get a real refund for a test order I placed on a live card?
Open the order, choose Refund, and confirm. The amount goes back to the buyer's card through your payment provider, typically within 5-10 business days.
Is there a "test mode" for the whole store?
Not as a single switch, but you can keep your payment provider in test mode and only flip to live when you're ready. Until then, every checkout will use test cards.