
Checkout Architecture
Part of Ecommerce platform implementation
Testing the order lifecycle before opening a store
Use a focused test matrix to check payment, order records, fulfilment, failures and refunds before a new store opens.
Test orders from product selection through payment, staff handling and customer resolution before opening a store. Set each expected result first, then compare the customer view, commerce order and relevant connected records. A successful payment screen alone does not show that an order can be fulfilled.
Prepare the test route
Use the payment provider's documented test method and an isolated environment where the setup permits it. Check whether test orders send emails, reduce stock, request fulfilment or reach accounting.
WooCommerce says its test orders can send normal emails, appear in analytics and look like real orders to extensions. It advises running test payments on staging. Review each connection's test behaviour before placing an order.
Record the configuration used for each result: a sandbox result does not establish how an untested live gateway or connection will behave.
Testing the Order Lifecycle: Key Steps Before Launch
- Set up a staging environmentUse test mode with payment providers to isolate testing from live data
- Configure test connectionsEnsure emails, stock levels, accounting and fulfilment systems respond as expected
- Run test orders across scenariosInclude successful payments, declines, out-of-stock items, delivery issues, refunds
- Verify post-checkout flowConfirm order appears in admin, stock updates, dispatch tasks are created
- Document results and assign fixesLog configuration, expected vs actual, reviewer and defect owner; retain failed runs
Run a focused case matrix
Case / Evidence to inspect
- Successful order
- Item, total, expected payment state, confirmation and fulfilment task
- Declined or incomplete payment
- Customer message, payment record and whether fulfilment remains on hold
- Unavailable item
- Whether the intended purchase is blocked
- Delivery exception
- Intended eligible option or clear refusal for the address
- Order correction
- Permitted change, updated order and customer explanation
- Refund or cancellation
- Commerce and payment records, customer message and stock outcome
Use products, payment methods and delivery areas planned for opening. Add a delayed-payment case if a method does not confirm immediately. State whether an authorised payment may be released for fulfilment, or whether capture or confirmation is required, according to the chosen setup.
WooCommerce documents an on-hold state for some orders awaiting payment confirmation. Check the payment provider record as well as the commerce status.
Test Case Outcomes: Expected vs Actual Results
- Successful Order
- Item, total, payment state, confirmation, fulfilment task all match expectations
- Declined/Incomplete Payment
- Customer message clear, payment record shows issue, fulfilment on hold
- Unavailable Item
- Purchase blocked at checkout with appropriate message
- Delivery Exception
- Eligible option shown or clear refusal for address
- Order Correction
- Change permitted, order updated, customer informed
- Refund or Cancellation
- Commerce and payment records updated, stock restored, customer notified
Follow the order beyond checkout
For a successful case, compare the chosen item and quantity with the order line, stock change and fulfilment instruction. Have the intended operator find the order in the normal queue. Check the customer message and the dispatch or completion update.
For a payment discrepancy, inspect the order notes and provider transaction before asking a customer to retry or releasing the order. Use the chosen gateway's instructions to check the payment status and determine whether fulfilment is appropriate.
Log the configuration, expected and actual result, order identifier, reviewer and defect owner. After a fix, record a new run while retaining the earlier failure.
Review the paths that may open
Operations, payments and customer service should review the case results together. Approve only the product, payment and delivery combinations whose complete paths have been checked. Name who monitors the first real orders and what triggers a pause. Keep test results separate from live-order observations.



