Start a project ↗
TREN
← LMC / ECOMMERCE

How do you test an ecommerce checkout before launch?

An ivory parcel sits beside deep blue ceramic tiles.

The short answer

Run an end-to-end order in the payment provider’s test environment. Compare what the shopper sees with the payment record and the store’s order record. Repeat the exercise for a decline, interrupted authentication and a refund. A good checkout test follows the order past the confirmation page.

Start with the order your team has to fulfil

Imagine a shopper buying two sizes of the same item on a phone, applying a discount and choosing delivery. Before pressing Pay, write down the expected total and the selected variants. After checkout, ask the warehouse or operations team to read the resulting order. Could they pick and ship exactly what the shopper bought?

Shopify’s test-order guide covers stock, delivery calculations, customer messages and fulfilment as well as payment. Start with the provider’s supported test setup and controlled test data. Keep real customer details and payment credentials out of the exercise, and make sure a test record cannot trigger a real dispatch.

Collect evidence from the shopper, the store and the provider

Record the order reference and the provider’s transaction reference together. Compare amount, currency and status across the storefront, administration panel and provider dashboard. If the business authorises payments before capturing them, make that distinction part of the expected result. An authorised amount and a captured payment are different milestones.

Next, open the confirmation email. Check whether its items, order reference and delivery choice match the record. Inspect the stock movement and the handoff to dispatch. A beautiful confirmation page cannot reveal a wrong product variant in the warehouse queue.

Make the failure path a separate acceptance test

Stripe’s sandbox documentation describes supported scenarios for declines, authentication and refunds. Use equivalent test data from your chosen provider rather than assuming that the same test values work everywhere.

  • Decline: Does the shopper get a clear next step while the order remains unpaid?
  • Interrupted authentication: Can the shopper understand whether the order is unresolved or needs another attempt?
  • Delayed result or repeated action: What happens if the browser is refreshed, the button is pressed twice or the same notification is received again? Check that stock and fulfilment do not advance twice.

A customer returning to the store is not proof of a completed payment. For example, iyzico documents distinct Checkout Form result retrieval and notification steps. Ask the integration owner how the store confirms payment, matches it to an order and handles repeat notifications. Test that agreed behaviour rather than treating the browser screen as the source of truth.

Give refunds their own sign-off

Put a refund through the supported test flow. Compare the amount and status in both systems, read the customer message, and check the intended stock outcome. For a partial refund, check that the remaining order balance and line items make sense. Agree separately whether stock should return when a refund is approved or only after the item has arrived back.

For the handover, ask for a short record of the environment, scenario, expected outcome, actual result and owner. Check the switch to the approved live configuration without sending test notifications or orders to customers. Any live verification should follow the provider’s rules and the merchant’s approval.

Use the project brief to define delivery, payment and refund responsibilities before build work begins. If you’re commissioning a store, tell us what happens after Pay so the checkout and operations can be scoped together.

Sources

Sources checked on 10 November 2026. The scenario and sign-off workflow are LMC editorial recommendations.