Basket and checkout: removing every reason to leave

TL;DR

Difficulty: Intermediate

Most checkout abandonment is caused by decisions the shop made, so the shop can fix it.

  • Measure each step and value it in money: the biggest leak is often the basket, not the payment page.
  • Show delivery cost, delivery date and the full total before the checkout starts.
  • Put "Continue as guest" first, cut the form to what the parcel needs, add an Eircode lookup with typing as a fallback.
  • Offer the payment methods your country uses, make the bank's authentication survive a phone, and write errors that say what to do.
  • Build the final page the way the law describes it, and test the whole path automatically on every release.

Seven in ten baskets are never paid for, and most of the reasons are decisions the shop made. This chapter takes every cause research has found, from late delivery costs to a bank check that loses the basket, puts a number on each one for an invented homeware shop in Limerick, and shows what to build so each leak closes and stays closed.

The checkout is where people who already said yes change their mind

Someone who puts a lamp in your basket has done the hard part. They found your shop, found the lamp, read the product page and decided. Then, somewhere between the basket and the confirmation page, most of them leave. Baymard Institute, which runs large usability studies of online shops, averages 50 published studies and arrives at a documented basket abandonment rate of 70.22%1. Roughly seven in ten baskets are never paid for.

This chapter answers one question: why do people abandon at the checkout, and how do I fix every cause? Not "the top three tips". Every cause that research has found, what each one costs, and what to build so it stops happening.

A few terms first, so nobody is left behind.

  • The basket (some shops say cart) is the page that lists what someone has chosen. It is not yet an order.
  • The checkout is the sequence of steps after the basket: who you are, where it goes, how it gets there, how you pay, and a final review.
  • Basket abandonment means someone added at least one product to the basket and did not complete the order. Checkout abandonment is narrower: they started the checkout and did not finish it.
  • The completion rate of a step is the share of people who reach the step and pass it.

Cart abandonment is a five figure problem already explains how to put a number on the leak, and when reminder emails are allowed. An accessible checkout covers how every customer, including people using a screen reader or a keyboard, gets through it. PCI DSS explained covers card security. I link to those three instead of repeating them. This chapter goes step by step through the basket and the checkout, with the fix for each cause, the law in Ireland, and how to test the whole path so it stays fixed.

Example: Shannonside Home's basket and checkout today

Shannonside Home is the invented homeware shop that runs through this series: ceramics, kitchen textiles, lamps and small furniture, sold from Limerick at shannonsidehome.example, about 1,400 products. Niamh owns it, Callum is her developer. The example's baseline figures: 110,000 sessions a month, a conversion rate of 1.8%, an average order value of €84, a gross margin of 52% on product.

That gives 1,980 orders and €166,320 of revenue a month. Callum pulls one month of basket and checkout numbers from the shop's own database and analytics (all invented for the example):

StepSessions reaching itPassed to the next step
Basket with at least one product9,90055.0%
Checkout started5,44565.0%
Delivery details submitted3,53974.0%
Payment details submitted2,61975.6%
Order placed1,980

The basket abandonment rate is the share of baskets that never become an order:

A=1−OB=1−1,9809,900=0.80A = 1 - \frac{O}{B} = 1 - \frac{1{,}980}{9{,}900} = 0.80

where AA is the basket abandonment rate, OO the number of orders and BB the number of sessions with at least one product in the basket. So 80% of Shannonside's baskets are abandoned, a little worse than Baymard's average. The checkout completion rate, from checkout started to order placed, is 1,980÷5,445=36.4%1{,}980 \div 5{,}445 = 36.4\%. The ratio is explained in Foundations: ratios and rates.

Invented example. Of 9,900 sessions with a product in the basket, 5,445 start the checkout, 3,539 submit delivery details, 2,619 submit payment details and 1,980 place an order. The biggest drop in people is between basket and checkout start, 4,455 sessions. Tap or click to open full screen and move around

Why people leave: the reasons, and which ones are yours to fix

You do not have to guess why people abandon. Baymard surveys US online shoppers about the last time they abandoned an order. The first finding is reassuring: 42% abandoned simply because they were just browsing or not ready to buy1. Nobody's checkout fixes that, and it should not try.

The rest is a different story. Among shoppers who abandoned for any other reason, these are the reasons they gave, and they could name more than one1:

Reason givenShare of these abandonersWhere this chapter fixes it
Extra costs too high (delivery, tax, fees)40%Delivery cost and date before the checkout
Delivery was too slow20%Delivery cost and date before the checkout
Did not trust the site with card details19%Payment methods, the basket page
The site wanted me to create an account18%Guest checkout
Checkout too long or complicated17%Form fields, address lookup
The site had errors or crashed17%Errors, testing
Returns policy was not satisfactory13%The basket page
Could not see or calculate the total up front12%Delivery cost and date before the checkout
The card was declined10%Strong customer authentication, errors
Not enough payment methods9%Payment methods

Baymard's page was last updated on 28 October 2026. The figures are from US shoppers. I have not found an Irish survey of the same size and method, so read them as a strong pointer to what goes wrong, not as an Irish measurement.

Survey of US online shoppers by Baymard Institute, page updated 28 October 2026. Extra costs too high 40%, delivery too slow 20%, did not trust the site with card details 19%, forced account creation 18%, checkout too long or complicated 17%, errors or crashes 17%, returns policy 13%, total cost not visible up front 12%, card declined 10%, not enough payment methods 9%. Shoppers could name several reasons. Tap or click to open full screen and move around

Notice the pattern. Almost every reason on that list is a decision the shop made: what delivery costs and when it shows, whether an account is required, how many fields there are, which payment methods exist, whether the site breaks. Baymard estimates that a large shop could raise its conversion rate by 35.26% by fixing only the checkout usability problems they have documented as solvable1. That is an estimate for large sites, not a promise for yours. It does say where the money is.

Example: matching the reasons to Shannonside's checkout

Niamh and Callum go through the list against their own checkout, one line at a time, and write down what a shopper actually meets today.

  • Extra costs and slow delivery: the delivery price (€5.95 standard, €49 for furniture) first appears on the delivery step, two screens into the checkout. No delivery dates anywhere, only "2 to 4 working days".
  • Account creation: the first checkout screen shows "Sign in" and "Create account" as two large buttons. "Continue as guest" is a small text link underneath.
  • Too long: 21 form fields before payment, including a second email field and a date of birth.
  • Errors: the Eircode field rejects Eircodes typed without the space in the middle.
  • Payment methods: card and PayPal only. No Apple Pay or Google Pay.
  • Card declined: the message says "Payment failed" and the card fields are emptied.
  • Total and returns: the basket shows a subtotal with no delivery and no word about returns.

Seven of the ten reasons have a direct, visible cause in Shannonside's checkout. That is typical, and it is good news: these are all in the shop's own hands.

Measure each step before you change anything

The temptation is to start fixing straight away. Measure first, for two reasons. You need to know where the most money leaks, and you need a "before" to compare the "after" with.

Google Analytics 4 (GA4) has standard events for exactly these steps: view_cart when someone views the basket, begin_checkout when they start the checkout, add_shipping_info when they submit delivery information (with a shipping_tier parameter for the delivery option), add_payment_info when they submit payment information (with a payment_type parameter), and purchase for the order2. Fire each one when the step is actually completed, not when the page loads. The tracking plan chapter of the tracking series sets out names and parameters, and the shop database as the source of truth shows why the order count should come from your own database, since analytics only sees people who agreed to it.

The share of people who pass a step is not the same as the money lost at it. A person lost early is worth less than a person lost late, because the early one still had several steps to fall out of. So value each step by what one extra person passing it is worth:

Vi=ONi+1×AOVV_i = \frac{O}{N_{i+1}} \times AOV

where ViV_i is the value of one more session passing step ii, OO the number of orders, Ni+1N_{i+1} the number of sessions that reach the next step, and AOVAOV the average order value. The fraction O÷Ni+1O \div N_{i+1} is the chance that someone who reached the next step goes on to order. It is the stage multiplication from the funnel chapter, and the idea of expected value is explained in Foundations: expected value.

Example: where Shannonside loses the most money

Callum works out the value of one more session passing each step, then what it would be worth to keep one in ten of the people currently lost there.

For the basket step, one more session reaching the checkout is worth:

V1=1,9805,445×84=0.364×84=30.55V_1 = \frac{1{,}980}{5{,}445} \times 84 = 0.364 \times 84 = 30.55

so €30.55, where V1V_1 is the value of one more session passing the basket step, 1,980 the orders, 5,445 the sessions that start the checkout and 84 the average order value in euro. The basket step loses 9,900−5,445=4,4559{,}900 - 5{,}445 = 4{,}455 sessions. Keeping one in ten of them, 445.5 sessions, is worth 445.5×30.55=€13,608445.5 \times 30.55 = €13{,}608 a month.

The same calculation for every step:

StepSessions lostValue of one more passingOne in ten of the lost kept, per month
Basket to checkout start4,455€30.55€13,608
Checkout start to delivery submitted1,906€47.00€8,957
Delivery to payment submitted920€63.51€5,842
Payment submitted to order639€84.00€5,368

The basket is the biggest leak in money, even though each person lost there is worth the least. That decides where Shannonside starts: on the basket page and with delivery costs, before touching the payment step.

The basket page is a summary, not a shop window

The basket page has one job: let someone check what they are buying and what it will cost, then move on. Everything on it either helps that check or gets in the way.

What a basket needs to show:

  • Each product with a small image, the name, the variant (colour, size), the quantity, the unit price and the line total. People check that they picked the right one.
  • A quantity control that is easy to change, and a clear way to remove a line. Baymard found that 95% of benchmarked sites do not use buttons, or buttons plus a text field, for updating quantities in the basket, the pattern that tested best3.
  • The delivery cost and the expected delivery date, or a clear range, before the checkout starts (the next section).
  • The total, including VAT and delivery. Not a subtotal that grows later.
  • One line on returns, linked to the full policy: Baymard's survey puts an unsatisfactory returns policy at 13% of abandonments1.
  • The payment methods you accept, as plain names or marks, near the checkout button.
  • One clear button to the checkout, repeated at the bottom on a long basket.

What usually gets in the way: a large empty voucher field (it tells everyone without a code that other people pay less, and some leave to search for one), rows of recommendations that reopen the decision (see recommendations at the right moment), and anything that moves the checkout button out of sight on a phone. If you run vouchers, keep the field, but as a small "Add a voucher code" link that opens it.

Example: Shannonside's basket, before and after

Before: a table of products, a subtotal of €64.00, a prominent "Enter promo code" box, a row of eight bestsellers, and a "Checkout" button. Nothing on delivery, dates, returns or payment methods.

After, for a basket with two Shannon stoneware mugs (€18 each) and a linen tea towel (€28):

  • Two lines with images, colours, quantity buttons and line totals: €36.00 and €28.00.
  • "Standard delivery with An Post €5.95, arrives Thursday 14 to Saturday 16. Free delivery over €70, you are €6.00 away."
  • "Total €69.95 including VAT."
  • "Free returns within 30 days" linked to the returns page.
  • "Pay by card, Apple Pay, Google Pay or PayPal."
  • A small "Add a voucher code" link, and the checkout button.

Nothing was added that makes the decision harder. Everything added answers a question a shopper would otherwise have to go into the checkout to find out.

Show delivery cost and date before the checkout starts

The largest single reason in Baymard's list is extra costs that were too high, at 40%, and another 12% left because they could not see or work out the total up front1. Most of that is delivery. People do not mind paying for delivery nearly as much as they mind finding out late.

Three rules:

  1. Show the delivery price on the product page and in the basket, for the shopper's country. If it depends on weight or size, show the price for this product, and for furniture show the two person delivery price on the product page itself.
  2. Show a delivery date, not only a speed. "Arrives Thursday" is easier to judge than "2 to 4 working days". Baymard's benchmark found that 48% of sites do not use delivery dates instead of delivery speeds, and 83% do not show the order cutoff time as a countdown3. The countdown must be true: if you say "order within 3 hours for dispatch today", the warehouse has to dispatch today.
  3. If there is a free delivery threshold, show how far away the shopper is, in euro.

The law points the same way. Under the Consumer Rights Act 2022, before a consumer is bound by a distance contract the trader must give the information in Schedule 3 of the Act, which includes the total price inclusive of taxes and all freight, delivery or postal charges, or, where those cannot reasonably be calculated in advance, the fact that they may be payable4. The same section requires a trading website to indicate clearly and legibly, at or before the beginning of the ordering process, whether any delivery restrictions apply and which means of payment are accepted4.

Example: what late delivery costs do to a two mug basket

Take a shopper with two Shannon mugs, €36 in the basket. Today, the first time they see delivery is on the delivery step, where €5.95 appears. That is a jump of:

J=DS=5.9536=0.165J = \frac{D}{S} = \frac{5.95}{36} = 0.165

where JJ is the jump in the price as a share of the basket, DD the delivery charge and SS the basket subtotal. A 16.5% surprise on the second checkout screen. The same €5.95 shown on the product page is not a surprise at all: the shopper decides with the full price in front of them. The percentage is explained in Foundations: percentages.

Furniture is worse. A €219 oak side table with €49 two person delivery jumps by 49÷219=22.4%49 \div 219 = 22.4\%. Shannonside also delivers furniture within Ireland only, which today a customer with an address in Britain finds out on the delivery step. After the change, the product page says "Two person delivery €49, Ireland only, arrives in 5 to 7 working days, you choose the day", and the basket repeats it.

Let people buy as a guest

Many shops want an account from every customer. Customers often do not. In Baymard's survey, 18% of those who abandoned for reasons other than browsing did so because the site wanted them to create an account1. In a 2022 Baymard study of 4,384 US adults, 24% had abandoned at least one basket in the previous quarter because of forced account creation5.

Offering guest checkout is not enough on its own. It has to be easy to see. Baymard's benchmark found that 47% of sites fail to make guest checkout the most prominent option, and in testing, participants who wanted to skip the account looked for the word "guest": vague labels such as "Continue" were missed, and an option below the first screen on a phone was often assumed not to exist5. The same research team found that 56% of sites do not save account creation for the confirmation step, where it belongs3.

What works:

  • The first checkout screen asks for an email address and offers "Continue as guest" as a full button, at the top.
  • Returning customers can sign in from the same screen, with a plain link.
  • After the order, the confirmation page offers to save the details as an account with one field: a password. You already have everything else.

Example: Shannonside moves the account to the end

Today, 5,445 sessions a month start Shannonside's checkout and 3,539 submit delivery details, so 1,906 are lost on the first screens. Callum's recordings (consented sessions only) and a short exit survey suggest that the account screen is where most of them stop.

After the change, the first screen reads: "Email address" (one field), a large "Continue as guest" button, and below it "Have an account? Sign in". On the confirmation page: "Save your details for next time? Choose a password" and a "Save" button.

Niamh's worry is that fewer people will create accounts. In practice, more people complete the order, and a share of them create an account afterwards, when they have a reason to. An account created after a happy purchase is worth more than one forced out of someone who nearly left.

Every form field has to earn its place

Each field is a question. Each question is a moment where someone can hesitate, mistype or leave. Baymard's checkout benchmark found that the average US checkout shows 23.48 form elements by default, 14.88 of them form fields, while their ideal checkout needs 12 to 14 form elements, 7 to 8 of them fields1.

How to cut:

  • Ask only what the order needs. A date of birth, a title or a second email field does not deliver a parcel.
  • Use one "Billing address is the same as delivery" checkbox, ticked by default, instead of a second address form.
  • Hide rarely used fields behind a link: "Add company name" or "Add flat number or building".
  • Explain any field people distrust. Baymard found that 68% of surveyed shoppers are reluctant to give a phone number at checkout and 47% of sites do not explain why they ask for it3. If the courier needs it, say so next to the field: "For the courier, only if there is a problem with delivery".
  • Mark both required and optional fields. Baymard found that 32% of participants skipped at least one required field when only the optional ones were marked3.

Then help the browser fill in the rest. The HTML autocomplete attribute tells the browser and password managers what each field is, so they can fill it from saved details6. This is a small change with a large effect on a phone.

<%# Delivery details on the first checkout step. %>
<%= form.email_field :email, autocomplete: "email", required: true %>
<%= form.text_field :firstname, autocomplete: "shipping given-name", required: true %>
<%= form.text_field :lastname,  autocomplete: "shipping family-name", required: true %>
<%= form.text_field :address1,  autocomplete: "shipping address-line1", required: true %>
<%= form.text_field :address2,  autocomplete: "shipping address-line2" %>
<%= form.text_field :city,      autocomplete: "shipping address-level2", required: true %>
<%= form.text_field :zipcode,   autocomplete: "shipping postal-code", required: true %>
<%= form.telephone_field :phone, autocomplete: "shipping tel" %>

Each line is one field. The value of autocomplete names what the field holds, with shipping in front so the browser knows it is the delivery address and not the billing address. The field names (firstname, address1, zipcode) are the ones Solidus uses on its address model, so the form maps straight onto it. The labels and the "optional" marks are left out here to keep the lines short, and every field still needs a visible label.

Example: Shannonside goes from 21 fields to 10

Shannonside's checkout asks, before payment: email, confirm email, title, first name, last name, company, address lines 1, 2 and 3, town, county, Eircode, country, phone, mobile, date of birth, password, confirm password, a "how did you hear about us" dropdown, a newsletter checkbox and a gift message. That is 21.

Callum keeps: email, first name, last name, address line 1, town, county, Eircode, phone (optional, with the courier reason) and the delivery option. Country is set from the shop's market and can be changed with a link. Address line 2 and company sit behind "Add flat, building or company". The newsletter checkbox stays, unticked, because consent has to be a free choice, and the gift message moves to a link. Password moves to the confirmation page. The rest goes.

BeforeAfter
Fields shown by default before payment2110
Of those, required178
Fields behind a link03

Ten fields, eight of them required, close to Baymard's ideal. The "how did you hear about us" question moves to an optional one question survey on the confirmation page, where it costs nothing.

Address lookup helps, as long as typing still works

Typing an address on a phone is slow and error prone. In one round of Baymard's testing, 9% of manually entered addresses contained typos or misspellings, and their benchmark found that 55% of sites do not offer a fully automatic address lookup7. A lookup lets the shopper start typing the street or Eircode and pick the full address from a list.

Ireland has an advantage here. Every postal address has its own Eircode, a seven character code made of a three character routing key and a four character unique identifier, and more than 2.2 million addresses received one at launch in 20158. That matters, because over 35% of addresses in Ireland share their written address with at least one other property8. Ask for the Eircode first and let the lookup fill in the rest: the parcel then goes to the right house even when three houses on the road have the same name.

Two rules from the research. Show the normal address fields by default and let the lookup fill them, rather than hiding them behind the lookup7. And always let people type the address by hand: a new build street, a farm, or a flat the database does not know must never block an order. Check the Eircode format kindly, accept it with or without the space and in lower case, and normalise it yourself. And since some people do not know their Eircode by heart, never make it the only way in.

Example: what typos cost Shannonside

Shannonside has no lookup, so all 1,980 monthly orders have typed addresses. If the 9% from Baymard's testing held for Shannonside, about 1,980×0.09=1781{,}980 \times 0.09 = 178 orders a month would carry a typo. Most typos do no harm, because the Eircode still leads the courier to the door. Suppose, as an invented assumption, that one in five causes a failed or late delivery, with a redelivery, a customer service conversation and sometimes a refund, at an average cost of €16. That is:

C=O×t×f×c=1,980×0.09×0.2×16=570C = O \times t \times f \times c = 1{,}980 \times 0.09 \times 0.2 \times 16 = 570

where CC is the monthly cost of address errors, OO the number of orders, tt the share of addresses with a typo, ff the share of those that cause a failed or late delivery, and cc the average cost of one. So about €570 a month, before counting the customers who never order again after a lost parcel. If a lookup service costs less than that for about 2,000 orders a month, it pays for itself on delivery costs alone. The multiplication of independent shares is explained in Foundations: probability.

Offer the payment methods your customers expect, and show them early

In Baymard's survey, 9% of non browsing abandoners left because there were not enough payment methods, and 19% did not trust the site with their card details1. Both point the same way: people want to pay with something they already use, without typing a card number into a site they have never heard of.

Across the euro area, Ireland included, cards are still the most used way to pay online, but payment apps and wallets are catching up. The European Central Bank's 2024 study of consumer payment attitudes found that cards made up 48% of online payments by number, and electronic payment solutions such as PayPal and other payment apps 29%9. A wallet such as Apple Pay or Google Pay also removes the typing: the card is already stored on the phone and confirmed with a fingerprint or face.

Two practical rules:

  • Show the payment methods you accept in the basket and on the first checkout screen, not only on the payment step. The Consumer Rights Act 2022 requires it at or before the beginning of the ordering process4.
  • Offer what the country expects, not everything. An Irish homeware shop needs cards, Apple Pay, Google Pay and PayPal. If Shannonside started selling to Germany, invoice and Klarna would matter far more: DACH payments in Solidus and pricing and payment in Germany cover that market.

Every method has a fee and some work behind it, from refunds to reconciliation. Adding one is worth it when it brings orders that would otherwise not happen, which you find out by measuring, not by counting how many people used it.

Example: Shannonside adds wallets and checks they pay

Shannonside offers card and PayPal. Callum adds Apple Pay and Google Pay through the same payment provider, which shows each wallet only on devices where it is set up.

The wrong way to judge it: "a quarter of orders now use Apple Pay, so Apple Pay brought a quarter of our orders". Most of those people would have paid by card. The right way: for four weeks, a random half of sessions sees the wallets and the other half does not, and Callum compares the share of payment step sessions that end in an order. Today that share is 1,980÷2,619=75.6%1{,}980 \div 2{,}619 = 75.6\%. If the half with wallets reaches 77.6% and the confidence interval of the difference stays above zero, the wallets earn their place. Experiments inside your own shop shows how to run that split and how big a sample it needs.

Strong customer authentication without losing the sale

Strong customer authentication (SCA) is the rule that most online card payments in Ireland and the rest of the European Economic Area must be confirmed with two of three things: something the customer knows (a passcode), something they have (their phone) and something they are (a fingerprint or face)10. For cards, this happens through 3D Secure, the step where the bank opens a screen or the banking app asks the customer to approve the payment10.

The shop does not decide whether a payment needs it. Your payment provider can ask for an exemption, for example for a low value payment or after its own risk analysis, but the cardholder's bank decides whether to accept it10. What the shop does decide is everything around that moment:

  • Send the provider complete data (the billing address, the email, the amount and the basket), so the bank can approve more payments without a challenge.
  • On a phone, the customer often switches to the banking app and back. The checkout must survive that: the same page, the same basket, no expired session and no doubled order.
  • If authentication fails or times out, say so plainly and offer to try again or pay another way. Never empty the form.
  • Count it. Track how many payments are challenged, how many challenges succeed, and how many people leave during one, per payment method and per device.

Example: where Shannonside's 639 lost payments go

Of 2,619 sessions that submit payment details, 1,980 order, so 639 are lost at the very last step. Callum splits them using the payment provider's records and the shop's own logs (invented numbers):

What happenedSessionsShare of the 639
Card declined by the bank21033%
Authentication started but not completed18028%
Left on the review page without paying14022%
Technical error or timeout10917%
Total639100%

The authentication row stands out. Watching consented session recordings, Callum sees that on iPhones the browser tab often reloads when the customer comes back from the banking app, and the checkout then shows an empty payment step. He fixes the return path so the shop checks the payment status when the page comes back and continues to the confirmation page if the bank approved it.

If that halves the abandoned authentications, from 180 to 90, Shannonside gains 90 orders a month, worth 90×84=€7,56090 \times 84 = €7{,}560. Callum plans for less, 60 orders or €5,040, because some of those 180 changed their mind for other reasons.

Express checkout is a fast lane, not a short cut around the rules

An express checkout lets someone pay with a wallet button (Apple Pay, Google Pay, PayPal and similar) straight from the product page or the basket. The wallet supplies the name, the delivery address and the payment in one sheet, so the shopper skips most of the form. Payment providers offer this as a ready made component: Stripe's Express Checkout Element, for example, shows the wallets that are set up and supported on the customer's device and can collect the delivery address11.

Three things to get right:

  • The delivery cost changes with the address. When the wallet hands over the address, the shop must recalculate delivery (and say if it cannot deliver there, for example furniture to an address in Britain) before the customer confirms.
  • The shop still owes the customer the same information and the same clear final button as in the normal checkout (next section). The safest design routes the wallet back to your own short review page before the order is placed, unless your provider's flow already shows the total, the delivery charge and an order button that meets the rules.
  • Keep the normal checkout. Express is for people with a wallet set up. Everyone else still needs the full path.

Example: Shannonside's express buttons

On the basket page, above the normal checkout button, Callum adds the wallet row. A shopper taps Apple Pay, confirms the delivery address in the wallet sheet, and the shop recalculates: €5.95 standard, or "Two person delivery €49" if there is furniture in the basket. The shopper then lands on Shannonside's review page with every line, the delivery charge and the total already filled in, and one button: "Place order and pay €69.95".

Two screens instead of five. The legal and the practical checks still happen, they just take seconds.

Errors should say what went wrong and how to fix it

In Baymard's survey, 17% of non browsing abandoners left because the site had errors or crashed, and 10% because their card was declined1. An error is the moment a shopper is most likely to give up, so the message has to do real work.

Rules for form errors:

  • Check a field when the shopper leaves it, not while they are still typing. Baymard found that 31% of sites have no inline validation, and that participants were frustrated by validation that flagged a mistake before they had a chance to finish typing12.
  • Remove the error as soon as the input is fixed12.
  • Say what is wrong and how to fix it, next to the field and in a summary at the top. "Enter your Eircode, like V94 X2R7" beats "Invalid input".
  • Keep everything the shopper typed. Never clear a form because one field is wrong. The card fields are the exception only when the payment provider requires it.

Rules for payment declines: tell the shopper what they can do, without exposing details that help fraud. Stripe's documentation, for example, lists a code for each decline reason and says which ones you must not reveal: a card reported lost or stolen, or a payment blocked as suspected fraud, should be shown as a generic decline13.

# app/services/payment_error_message.rb
# Turns a payment provider's decline code into a message the shopper can act on.
class PaymentErrorMessage
  MESSAGES = {
    "insufficient_funds" => "Your bank declined the payment. Try another card or pay with PayPal.",
    "expired_card"       => "This card has expired. Please use another card.",
    "incorrect_cvc"      => "The security code does not match. Check the 3 digits on the back and try again.",
    "incorrect_number"   => "The card number does not look right. Check it and try again."
  }.freeze

  GENERIC = "Your bank declined the payment. Try again, use another card, or choose another way to pay."

  # Codes such as "fraudulent", "lost_card" and "stolen_card" fall through to GENERIC on purpose.
  def self.for(decline_code)
    MESSAGES.fetch(decline_code.to_s, GENERIC)
  end
end

The class is a simple lookup. Known, harmless reasons get a specific message with a next step. Everything else, including the codes that must stay vague, gets the generic message, which still tells the shopper what to do. The basket and the delivery details stay as they are.

Example: Shannonside's error messages, rewritten

SituationMessage todayMessage after
Eircode typed as "v94x2r7""Invalid Eircode" (and the field is cleared)Accepted and shown as V94 X2R7
Email missing the "@""Error" at the top of the page"Enter an email address like name@example.com", next to the field
Card has expired"Payment failed""This card has expired. Please use another card."
Bank declined, reason not shared"Payment failed""Your bank declined the payment. Try again, use another card, or choose another way to pay."
Server error on the payment stepA blank page"Something went wrong on my side, and you have not been charged. Your basket is saved. Try again in a minute."

The last line only works if it is true. Before the shop says "you have not been charged", the code has to check with the payment provider. And the order must be protected against a double charge when the shopper tries again, which payment providers support with an idempotency key, a unique value sent with each payment attempt so a repeat is recognised.

The final step is where the law is most specific. This is general information, not legal advice, and a shop with an unusual model should check it with a solicitor. The Competition and Consumer Protection Commission (CCPC) sums up the same rules for businesses: the order button must be clearly labelled with words indicating an obligation to pay, and pre ticked boxes for additional payments are not allowed14.

The Consumer Rights Act 2022, section 10815, applies to distance contracts concluded by electronic means:

  • Directly before the customer places the order, the shop must make them aware, clearly and prominently, of key information, including the main characteristics of the goods and the total price with delivery charges.
  • The customer must explicitly acknowledge that the order means an obligation to pay.
  • If the order is placed with a button, the button must be labelled, in an easily legible way, only with the words "order with obligation to pay" or a corresponding unambiguous formulation.
  • If the shop gets the acknowledgement or the button wrong, the consumer is not bound by the contract or order.
  • A trader who breaks subsections (3), (4) or (5) commits an offence.
  • Separately, section 106 requires the website to say, at or before the beginning of the ordering process, whether any delivery restrictions apply and which means of payment are accepted4.

On top of that sits the duty to give the total price and delivery charges before the contract, described earlier4. And no box that adds something paid to the order may be ticked in advance: recommendations at the right moment explains why.

Example: Shannonside's review page

Callum builds the final page so that one look answers every question, and the button carries the obligation:

  • Every product with image, variant, quantity and price.
  • Delivery address, delivery option and the expected date, each with a "Change" link.
  • Delivery charge as its own line, then the total including VAT.
  • The payment method chosen.
  • A line on the 14 day right to cancel and Shannonside's 30 day returns, linked.
  • The button: "Place order and pay €69.95".

"Place order and pay" plus the amount says, in plain words, that pressing it means paying. Under the button, one line: "By placing your order you agree to the terms of sale", linked. Nothing pre ticked, nothing extra in the basket that the customer did not choose.

Test the whole checkout on every release

A checkout can be perfect on Monday and broken on Tuesday because someone changed an Eircode rule or updated a payment library. In Baymard's survey, 17% of non browsing abandoners cite errors or crashes1. The only reliable defence is to test the whole path automatically, every time code is released.

I build shops test first: the test describes what a customer must be able to do, and the code is written to pass it. Every release then goes through a test gate, and nothing reaches the live shop if the checkout tests fail. Rails has system tests for exactly this, tests that drive a real browser through the application16. In Solidus, an order moves through the checkout states address, delivery, payment (when there is something to pay) and confirm, before it is complete17. Solidus also ships a test payment method that accepts a known test card number and declines every other18.

# spec/system/guest_checkout_spec.rb
require "rails_helper"

RSpec.describe "Guest checkout", type: :system do
  let!(:mug) { create(:product, name: "Shannon stoneware mug", price: 18) }
  let!(:shipping) { create(:shipping_method, name: "Standard delivery", cost: 5.95) }
  let!(:card) { create(:credit_card_payment_method) } # Solidus test gateway

  it "lets a guest buy a mug and see the total before paying" do
    visit "/products/#{mug.slug}"
    click_button "Add to basket"
    visit "/cart"
    expect(page).to have_content("Standard delivery €5.95")

    click_button "Checkout"
    fill_in "Email address", with: "sam@example.com"
    click_button "Continue as guest"

    fill_in_delivery_address(eircode: "v94x2r7") # helper fills the address fields
    click_button "Continue to payment"
    fill_in "Card number", with: "4111111111111111"
    click_button "Review order"

    expect(page).to have_button("Place order and pay €23.95")
    click_button "Place order and pay €23.95"
    expect(page).to have_content("Thank you, your order is confirmed")
    expect(Spree::Order.complete.last.ship_address.zipcode).to eq("V94 X2R7")
  end

  it "keeps the basket and explains a declined card" do
    # ... same steps, with the card number 4000000000000002 ...
    expect(page).to have_content("Your bank declined the payment")
    expect(page).to have_field("Email address", with: "sam@example.com")
  end
end

The first test walks a guest from the product page to the confirmation page, checks that the delivery price is visible in the basket, that the Eircode typed without the space and in lower case is accepted and stored properly (Solidus keeps it in the zipcode field), and that the final button carries the words and the total. The second checks that a declined card (any number other than the test number) gives the helpful message and keeps what the shopper typed. The factories (create(:product) and the others) come from Solidus's own testing support. The labels are Shannonside's own front end, so a different shop uses its own.

Example: the checkout cases Shannonside tests on every release

Callum's list, each one an automated test that must pass before a release goes live:

CaseWhat it proves
Guest buys one product with a cardThe main path works end to end
Returning customer signs in and buysSaved addresses and sign in work
Basket with furniture, delivery to an address in BritainThe restriction is shown and the order is stopped kindly
Basket over €70Free delivery is applied and shown
Eircode typed in lower case without a spaceIt is accepted and normalised
Card declinedMessage is helpful, the form keeps its data
Payment needs authentication, customer returns from the bankThe order completes once, never twice
Express checkout with a walletDelivery is recalculated and the review page shows the total
Phone sized screenThe checkout button and the order button are visible without scrolling past content

One case caught something before it shipped: a library update made the Eircode rule accept only routing keys of a letter and two digits, which rejects D6W, the Dublin 6W routing key. Dublin 6W is about 1% of Shannonside's orders, around 20 a month. Three days of that bug would have lost two orders and, worse, two customers who think the shop does not deliver to them. Small numbers, but exactly the kind of fault nobody notices without a test.

Putting it together: Shannonside's plan, in order of money

With the leaks measured and the fixes known, the last step is to choose the order. I rank fixes by expected value: what a fix would bring if it works, multiplied by how likely it is to work, compared with what it costs to build. The method is the same as in the funnel chapter and explained in Foundations: expected value.

E=p×ΔRE = p \times \Delta R

where EE is the expected monthly gain of a fix, pp the probability that it works as hoped, and ΔR\Delta R the monthly revenue gain if it does.

Example: Shannonside's four fixes

Callum estimates what each fix would change in the step rates (his hypotheses, to be tested, not promises), and what each would bring if it works. Each fix is calculated on top of the ones before it:

FixStep rates it changesΔR\Delta R per month if it worksppEE per month
Delivery cost and date in the basket and on product pagesBasket to checkout 55% to 58%, checkout start to delivery 65% to 66%€11,7660.7€8,236
Guest checkout first, account after the orderCheckout start to delivery 66% to 69%€8,0920.6€4,855
Ten fields and address lookupDelivery to payment 74% to 77%€7,5450.5€3,773
Wallets, authentication return path, error messagesPayment to order 75.6% to 79%€8,7830.5€4,392
All four€36,186about €21,260

Take the first row. With the basket step at 58% and the next at 66%, the other two unchanged, orders become 9,900×0.58×0.66×0.74×0.7557=2,119.49{,}900 \times 0.58 \times 0.66 \times 0.74 \times 0.7557 = 2{,}119.4, up 140.1 from 1,979.3 (the product of the rounded rates). At €84 each that is €11,766 a month. Multiplied by a 70% chance of working, the expected gain is €8,236.

If all four work as hoped, Shannonside goes from 1,980 to about 2,410 orders a month, a conversion rate of about 2.2% instead of 1.8%, and the checkout completion rate rises from 36.4% to 42.0%. The expected value, allowing for the fixes that will disappoint, is about €21,260 a month in revenue. At a 52% gross margin on product, before delivery and payment costs, that is roughly €11,050 of gross profit a month. Not a fortune overnight, but a good few thousand a month that stays every month. Every fix goes live behind a split, so the "after" is measured, not assumed.

Invented example in euro per month. Today 166,320. Delivery cost and date shown early adds 11,766, guest checkout first adds 8,092, ten fields and address lookup add 7,545, wallets with a fixed authentication return path and better error messages add 8,783. Total if all work 202,506. The expected value allowing for fixes that disappoint is about 21,260 a month, not 36,186. Tap or click to open full screen and move around
Tap or click to open full screen and move around

Conclusion

People who abandon a checkout are not fickle. Most of them hit something the shop decided: a delivery cost that appeared late, an account they did not want, a form that asked too much, a payment method they did not have, a bank check that lost their basket, an error that blamed them. Each of those has a known fix, and none of them needs a clever trick.

Measure each step and value it in money, so you start where the most is lost. Show the full price and the delivery date before the checkout. Put the guest option first and the account at the end. Cut the fields to what the parcel needs, and let a lookup help without blocking anyone. Offer the payment methods your country uses, and make the authentication round trip survive a phone. Write errors that tell people what to do. Build the final page the way the law describes it. Then test the whole path automatically, on every release, so what you fixed stays fixed.

The next chapter, offers and promotions, looks at the other lever people pull at the checkout, the discount, and works out whether it makes money or gives margin away.

If your checkout loses more people than it should and you are not sure which step costs the most, book the free workshop: I map your basket and checkout step by step and price every leak, and the first two weeks of work are on me.

Sources

  1. 1.

    Richard Lam, Baymard Institute, "Cart Abandonment Rate: 50 Statistics and Why People Abandon (2026)", average of 50 studies published 2006 to 2025, reasons for abandonment among US online shoppers, checkout form elements and the 35.26% estimate, updated 28 October 2026, https://baymard.com/lists/cart-abandonment-rate

  2. 2.

    Google, "Recommended events" reference for Google Analytics 4 (view_cart, begin_checkout, add_shipping_info, add_payment_info, purchase), Google for Developers, 2026, https://developers.google.com/analytics/devguides/collection/ga4/reference/events

  3. 3.

    Edward Scott, Baymard Institute, "The Current State of Checkout UX", 2026 checkout benchmark, published 13 November 2024, updated 3 November 2026, https://baymard.com/blog/current-state-of-checkout-ux

  4. 4.

    Consumer Rights Act 2022, section 106 (information requirements for distance contracts, including subsection (8) on delivery restrictions and means of payment) and Schedule 3, Irish Statute Book, https://www.irishstatutebook.ie/eli/2022/act/37/section/106/enacted/en/html

  5. 5.

    Edward Scott, Baymard Institute, "Make Guest Checkout Prominent", including the 2022 survey of 4,384 US adults, 17 January 2023, https://baymard.com/blog/make-guest-checkout-prominent

  6. 6.

    MDN Web Docs, "HTML attribute: autocomplete", Mozilla, 2026, https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/autocomplete

  7. 7.

    Edward Scott, Baymard Institute, "Fully Automatic Address Lookup", 24 March 2023, https://baymard.com/blog/automatic-address-lookup

  8. 8.

    Eircode, "What is Eircode", eircode.ie, 2026, https://www.eircode.ie/what-is-eircode

  9. 9.

    European Central Bank, Study on the payment attitudes of consumers in the euro area (SPACE) 2024, section on online payments, Chart 10, ECB, 19 December 2024, https://www.ecb.europa.eu/stats/ecb_surveys/space/html/ecb.space2024~19d46f0f17.en.html

  10. 10.

    Stripe, "Strong Customer Authentication" guide (the three elements, scope in Europe, exemptions and who decides, 3D Secure 2), Stripe, 2026, https://stripe.com/guides/strong-customer-authentication

  11. 11.

    Stripe, "Express Checkout Element", Stripe documentation, 2026, https://docs.stripe.com/elements/express-checkout-element

  12. 12.

    Edward Scott, Baymard Institute, "Usability Testing of Inline Form Validation", 9 January 2024, https://baymard.com/blog/inline-form-validation

  13. 13.

    Stripe, "Decline codes", Stripe documentation, 2026, https://docs.stripe.com/declines/codes

  14. 14.

    Competition and Consumer Protection Commission (CCPC), "Selling products to consumers, your legal obligations", ccpc.ie, 2026, https://www.ccpc.ie/information-for-businesses/selling-goods-and-services/selling-products

  15. 15.

    Consumer Rights Act 2022, section 108, Additional information requirements for distance contract concluded by electronic means, Irish Statute Book, https://www.irishstatutebook.ie/eli/2022/act/37/section/108/enacted/en/html

  16. 16.

    Ruby on Rails Guides, "Testing Rails Applications", section on system tests, 2026, https://guides.rubyonrails.org/testing.html

  17. 17.

    Solidus, core/app/models/spree/order.rb (checkout_flow with the states address, delivery, payment and confirm), solidusio/solidus on GitHub, 2026, https://github.com/solidusio/solidus/blob/main/core/app/models/spree/order.rb

  18. 18.

    Solidus, core/app/models/spree/payment_method/bogus_credit_card.rb (the test gateway and its valid test card numbers), solidusio/solidus on GitHub, 2026, https://github.com/solidusio/solidus/blob/main/core/app/models/spree/payment_method/bogus_credit_card.rb