What should you test in a store's checkout before launch?

Place test orders that cover every payment method, every shipping region and tax situation you sell into, your discount codes, guest and account checkout and a real phone, then follow each order through its emails, a refund or cancellation and the stock count. Then clear out the test orders and switch test mode off, because a store left in test mode cannot take real card payments.

Shopify describes test orders as the way to make sure your checkout and your settings for order processing, inventory, shipping, email notifications and taxes are all correct (Shopify: test orders). Most of my store builds are on Shopify, so the steps follow its docs, with a note for Stripe. This is the last check I run on a Shopify store build before launch.

How do you place test orders without real money?

Shopify gives three ways: its Test payment gateway, Shopify Payments' test mode, or a real order through your live provider that you cancel and refund straight away, which can involve fees from the payment processor (Shopify: test orders). The first two work like this:

  • Shopify Payments test mode: while it is on, real credit cards cannot pay for orders, and it does not cover Shopify POS card readers, Shop Pay Installments or PayPal Wallet. Test card 4242 4242 4242 4242 with any future expiry date succeeds, and 4000 0000 0000 0002 is declined (Shopify: payments test mode).
  • Test payment gateway: activated after deactivating your credit card provider; every order is then a test order. Entering 1 as the card number simulates an approved transaction, 2 a decline and 3 a gateway failure. The purchase must be above the equivalent of $1 USD, and subscription products are not supported (same page).

Use an email address ending in @example.com for routine test orders; Shopify says that domain is safe for test orders and won't trigger spam detection (Shopify: processing a test order). For orders whose emails you want to read, use an inbox you check.

On a WooCommerce or custom store that takes payments through Stripe, testing happens in a sandbox, where transactions use test values and don't move funds. Stripe's rule is "Don't use real card details", and it lists 4000 0000 0000 3220 as a card that triggers 3D Secure authentication, worth one test order of its own (Stripe: testing).

How do you check taxes and shipping rates by region?

Start from numbers your side has confirmed. Shopify says "Tax is your responsibility" (Shopify: taxes), and even with Shopify Tax you should consult local tax authorities or a tax professional to verify the rates you charge (Shopify Tax). Testing proves the store charges what your accountant told you; it does not choose the rates.

  • One address per shipping zone. Zones are groups of countries or regions that share the same rates (Shopify: shipping rates). Also try an address outside every zone: that customer gets a notice that no shipping rate is available for their region (Shopify: setting up shipping rates).
  • Each tier edge. With price-based or weight-based rates, test a cart just under and just over each tier, including a free shipping threshold. Weight-based rates need accurate product weights, or rates don't calculate correctly at checkout (same page).
  • Tax on shipping. With manual tax settings, tax on shipping is not calculated automatically and has to be set up for each region that needs it (Shopify: manual tax settings).

What does a checkout test plan look like?

Write down the expected total for each order before you place it, then compare. For a store selling into two regions, it might start like this:

OrderSet-upWhat to confirm
1Guest, home region, one item, a test card that succeedsTax, shipping and total match your numbers; the confirmation email arrives
2Customer account, second region, several itemsThe second region's shipping rate and tax apply
3A discount code on top of an automatic discountThey combine only if both are set to
4A test card that is declinedA clear error, and the customer can try another card
5On a phone, the last unit in stockStock drops to zero and the product shows as sold out
6Refund part of order 2, cancel order 1Refund and cancellation emails, stock returned

How should you test discount codes?

Test each code alone, then in the combinations customers will try. In Shopify, multiple discounts apply only when the setting on each discount allows the combination, and customers can use at most 5 product or order discount codes and 1 shipping discount code on the same order. When automatic discounts are active too, the best discount or combination applies to the cart automatically (Shopify: discount combinations), so check that the result is the one you meant.

  • A code with a minimum spend, just under and just over it. For amount off discounts, the minimum counts product prices only, not shipping or taxes (Shopify: amount off discounts).
  • A one-use-per-customer code used twice. Shopify tracks it by the customer's email address or phone number (same page).
  • A code with an end date: timing follows the time zone selected in your Shopify admin (same page).

Which order emails should you check?

Follow one order through its whole life and read every email. Shopify sends the Order confirmation when an order is placed and the Shipping confirmation when you fulfill it, plus shipping update, delivery, cancellation and refund notifications; most are sent automatically and can't be deactivated (Shopify: customer notifications). Its test steps include adding tracking information to the order and checking the shipping notification (Shopify: processing a test order).

  • Your team's copy: account owners get new order notifications by default, so anyone else who packs orders has to be added as a recipient (Shopify: staff notifications).
  • Edited templates: Send test email delivers one to the account you used to log in to the admin (Shopify: customizing notification templates). Check the logo, the policy links and that links open the live store.

How do you test refunds, cancellations and stock levels?

Shopify's inventory steps suggest a test order to confirm that the inventory decreases correctly, then cancelling it to verify that it returns to the previous quantity (Shopify: setting up inventory). Then go further:

  • Refunds: Restock items is selected by default when you track inventory, and the customer gets an email unless you deselect it. You can refund part of an order, refund shipping, and refund to the original payment method, store credit or both (Shopify: refunding orders).
  • Cancellations: by default a full refund goes to the original payment method, with Restock inventory and the customer notification selected. A partially fulfilled order can't be cancelled (Shopify: canceling orders).
  • Sold out: by default, at zero inventory customers can't add the product to their cart (Shopify: setting up inventory). Set a test product to one unit, buy it and check its page.

If orders flow into an accounting tool, a CRM or an email platform, test orders usually reach them too, so checking each connected system is part of the automation and integration work.

Do guest checkout, accounts and mobile need separate tests?

Yes, because each changes what the customer sees. If Shopify's setting to require customers to sign in before checkout is on, customers can only use an email address to check out, and accelerated options such as Apple Pay aren't displayed in the cart. The same page warns that setting address line 2 to Required or Don't include means some customers might not be able to proceed (Shopify: checkout form options). Test each checkout you allow, then run the whole thing on a real phone, from the cart to the thank-you page.

What should you clean up before launch?

  • Switch test mode off. Shopify's instruction is to deactivate test mode after testing to allow live orders again (Shopify: payments test mode). If you used the Test payment gateway, reactivate your real provider.
  • Remove test orders. Orders paid with the Test payment gateway or test mode can be deleted; others can be archived. Cancel and refund any real-card test as soon as possible (Shopify: processing a test order).
  • Reset what testing changed: stock counts, test discount codes and test customer records.

Put each item on the go-live checklist with a name next to it, as in my article on reviewing a staging site.