Learn

Checkout that works: why carts are abandoned

About seven in ten carts never become an order. Some of that you cannot change. The rest is surprise costs, forced accounts, long forms and things that simply do not work. This guide covers what to fix and how to test the whole path yourself.

Updated · For agents: Markdown · skill

Why people leave

The Baymard Institute collects studies of cart abandonment, and the average across them is about 70%. A large share of those shoppers were only browsing and were never going to buy today. The rest had decided to buy and gave up at the checkout. Those are the orders you can win back.

The reasons they give are consistent from study to study:

Price is rarely the cause at this stage. The shopper already accepted the price when they added the product to the cart. What stops them is surprise, effort or doubt.

Remove the surprises

Show the full cost as early as you can. If shipping depends on the address, give an estimate in the cart, or state your rates plainly. Keep an order summary visible on every step, with the items, shipping, taxes, discounts and the total, and make sure it does not change at the last step.

A total that rises on the payment page reads as a trick, even when it is only tax.

Remove the effort

Remove the doubt

Design for the phone first

Most shopping visits now happen on a phone, and a checkout built on a large monitor often fails there in small ways: a button under the keyboard, a field wider than the screen, a dropdown too small to tap. Go through your own checkout on a real phone, with one hand. Buttons should be large and well apart, text readable without zooming, and nothing should scroll sideways.

Test that it actually works

Everything above is about friction. The costliest problems are plainer: a button that does nothing, a discount code that errors, a payment that fails on one browser. Nobody reports these. The shopper just leaves.

So test the whole path, the way a customer walks it:

  1. Product page, with a variant chosen.
  2. Search, and a category page.
  3. Add to cart, change the quantity, remove an item.
  4. A valid discount code, and an invalid one.
  5. Checkout as a guest.
  6. Sign-up, login and the account page.
  7. Payment.
  8. The confirmation page and the email.

Do it on a phone and on a desktop. They fail in different places.

Paying without paying

Payment providers have a test mode with card numbers that are not real. Stripe’s test cards are typical:

Card number What it does
4242 4242 4242 4242 Payment succeeds
4000 0000 0000 0002 Card is declined
4000 0025 0000 3155 Asks for extra confirmation (3D Secure)

Use any future expiry date and any security code. Test all three cases. A declined card should show a clear message and let the shopper try again without retyping the address. A failed payment should never leave a paid-looking order behind.

Run these in test mode or on a staging copy of the shop, so no real order, stock change or email goes out.

Keep testing

A checkout that worked last month can break today: a theme update, a new payment plugin, an expired certificate, a script from a third party. The first sign is usually a quiet drop in orders. Walk the path after every change to the site, and on a schedule in between.

This is the work WitnessQA does for you: it walks these flows on a phone and a desktop, with test cards, and reports each step that fails with a screenshot. A free audit covers the public pages.

Watch

The checklist

Every step says what to do and how to verify it from outside. The tags are the WitnessQA checks that verify it for you in a free audit. Agents can load the same list as a skill file.

  1. Walk the whole path on a phone

    In a browser with a 390 px wide phone profile, go from a product page to the cart to the last checkout step. Every step works and nothing is wider than the screen.

    Verify: At each step the page loads without an error, the main button responds, and the page does not scroll sideways.

  2. Show the full price early

    Shipping, taxes and fees are visible in the cart, or as soon as the address is known. The total does not rise at the last step.

    Verify: Compare the total shown in the cart with the total on the payment step. Any difference was announced before the payment step.

  3. Let people buy without an account

    Guest checkout is offered and is at least as prominent as signing in. Creating an account is an option after the order.

    Verify: Start the checkout signed out. The order can be completed without choosing a password.

  4. Ask only for what the order needs

    Remove optional fields or mark them clearly. One field for the full name, billing address the same as shipping by default, and a reason next to any field that looks unnecessary, such as phone.

    Verify: Count the fields a guest must fill in. Each is needed to deliver or charge the order, or says why it is asked.

  5. Make forms easy to fill on a phone

    Every field has a visible label, the right autocomplete value and the right keyboard: type="email", type="tel", inputmode="numeric" for card and postcode numbers.

    Verify: Read the form fields. Each has a label and an autocomplete attribute, and the browser offers to fill in a saved address.

  6. Explain errors where they happen

    A wrong entry shows a message next to the field that says how to fix it, and keeps everything already typed.

    Verify: Submit the form with an invalid email and an empty required field. Each gets a message beside it and the other fields keep their values.

  7. Keep the checkout free of distractions

    The checkout shows the logo, the steps and the order summary. No main menu, no promotions, no pop-ups.

    Verify: Open the checkout. The header has no category navigation and nothing covers the form.

  8. Show where the shopper is

    A step indicator names the steps, for example Shipping, Payment, Review, and the order summary stays visible throughout.

    Verify: On each step, the indicator marks the current step and the summary lists the items, the costs and the total.

  9. Test discount codes

    A valid code lowers the total and says by how much. An invalid or expired code gets a clear message and changes nothing else.

    Verify: With write access, apply one valid and one invalid test code. The total and the message are right in both cases.

  10. Pay with test cards

    In the payment provider's test mode, an order goes through with a card that succeeds, a declined card shows a clear message and lets the shopper retry, and a card that needs extra confirmation completes.

    Verify: With write access and test mode, place an order with each kind of test card. Confirm the confirmation page, the message on decline, and that no failed payment creates an order.

  11. Confirm the order

    After payment the shopper sees a confirmation page with the order number and gets an email with the same details.

    Verify: After a test order, the confirmation page shows an order number and the confirmation email arrives at the test address.

See which of these your site passes, with evidence for each.

Run a free audit