E-commerce and payment testing
Testing online shops end to end: catalogue, cart, prices, promotions, checkout, payments, refunds and integrations.
In an online shop every bug has a price: a broken checkout loses sales immediately, a wrong discount loses margin, a payment error loses trust. E-commerce testing follows the money and the customer through every step.
The customer journey
Catalogue and search
- Search finds products by name, synonyms, typos and product codes
- Filters and sorting combine correctly and don't show empty results without explanation
- Out-of-stock products, variants (size, colour) and their prices are correct
- Product pages load fast and images work on mobile
Cart and prices
| Check | Why it matters |
|---|---|
| Prices, taxes and rounding match in cart, checkout, email and invoice | Customers notice cents; accountants notice more |
| Quantity limits and stock | Selling items you don't have creates refunds |
| Cart persists after login and on another device | Lost carts mean lost sales |
| Currency and region | Correct currency, tax and shipping rules per country |
Promotions
Promo rules are a classic source of expensive bugs. Use decision tables: minimum order value, expiry date and time zone, one code per order, exclusions for sale items, stacking with automatic discounts, usage limits per customer, and what happens to the discount when an item is returned.
Checkout and payments
Use the payment provider's test mode and test cards (Stripe, PayPal, Adyen and others publish them). Check:
- Successful payment with different methods: cards, wallets, local methods
- Declined card, insufficient funds, expired card
- 3-D Secure authentication passed, failed and abandoned
- Double-click on “Pay” and browser Back after payment — no double charges
- Lost connection during payment, and the provider's webhook arriving late or twice
- Order status, stock and confirmation email updated exactly once
After the purchase
Order history, cancellation, partial and full refunds, returns, invoices and delivery tracking are part of the product. Check that a refund updates the payment, the order, the stock and the customer's notification consistently.
Integrations
Shops connect to payment providers, warehouses, delivery services, CRM, analytics and marketplaces. Test what happens when one of them is slow or unavailable: the customer should get a clear message, and no order should be lost or duplicated. We walk through a full checkout test plan in How we test e-commerce checkouts.


