Ecommerce Checkout Flow Best Practices: A Checkout Optimisation Checklist
In this article
Ecommerce checkout flow best practice comes down to four rules. Show the full delivered cost before the checkout starts. Ask for nothing the order does not need. Let people pay the way their phone already knows how to. And never lose what a shopper has typed to an error, a reload or a declined card.
Everything below is a checklist item that follows from one of those rules, with the reason attached, because a reason tells you when the rule can be bent. Baymard Institute's long-running checkout research finds the same causes of abandonment year after year. They are extra costs revealed late, being made to create an account, slow delivery, not trusting the site with a card, and forms that are simply too long. The checklist is organised around removing each of them.
We build checkouts in Django with Stripe, so some items mention what that makes easy, but almost all of it applies to any shop that can change its own checkout.
Before the checkout starts
- Show the delivered total in the basket. Postage revealed at the last step is the biggest single cause of abandonment. Work it out in the basket from the destination country and the items, and show it before anyone clicks checkout. Stamp and Bake is a cookie cutter shop that ships from Bristol to the UK, Europe, the USA, Canada and Australia. It shows the Royal Mail postage in the cart for exactly this reason.
- Show prices in the shopper's currency. A shopper abroad who has to convert in their head will often leave to check and not come back. Stamp and Bake shows approximate prices in 22 currencies, and the checkout says exactly what the card will be charged before anyone pays.
- Confirm stock in the basket, not at payment. Finding out an item is unavailable after typing an address is a wasted five minutes and a lost customer. Check availability when the basket is shown and again when the checkout opens.
- Keep the basket. Store it against a long-lived cookie and merge it into the account if the shopper logs in later.
- Make the product page do its job first. Shoppers who arrive at checkout unsure about size, delivery time or returns go back to find out and often do not return. The guide to product pages that convert covers what belongs there.
Account and identity
- Guest checkout, offered first. Forced registration is the second biggest cause of abandonment. Ask for an email address, because you need it for the confirmation, and nothing more.
- Create the account afterwards. On the confirmation page, offer to set a password for the order they have just placed. The address and order history are already there, so the account is a one-field form. We create the customer record silently at order time and let the shopper claim it later.
- Recognise returning customers without blocking them. If the email matches an account, offer a login link next to the field. Do not redirect to a login page and do not hide the guest route.
The address and delivery step
- Postcode lookup for UK addresses. Typing a full address on a phone is slow and error-prone, and a mistyped address becomes a failed delivery and a support ticket. A lookup service such as Ideal Postcodes, getAddress or Loqate turns it into one field and a pick list. Keep a manual entry link for the addresses the lookup does not know.
- Let the browser autofill. Use the standard
autocompletevalues (given-name,postal-code,teland so on) on every field so saved details fill in one tap. Setinputmode="numeric"on the card and phone fields so the right keyboard appears. - Billing address defaults to the delivery address. One tick box, pre-ticked. Most shoppers never need the second form.
- Delivery options with a date, not just a name. "Tracked 48, arrives Thursday 22 October" answers the question the shopper actually has. Work the date out from your dispatch cut-off and the carrier's service.
- Explain any field that looks optional. If you ask for a phone number, say it is for the courier's delivery texts. An unexplained phone field reads as a marketing grab, and some shoppers leave over it.
Payment
- Wallet buttons at the top of the checkout. Apple Pay and Google Pay fill the address, the email and the card in one authentication. Offer them before the forms, as an express route, not as a payment method at the bottom.
- Card fields on the page, or a hosted page that looks like yours. Either is fine; what loses orders is a jarring hand-off to a page in another brand's colours with no order summary. With Stripe we use Checkout or Elements, and the post on secure payment integration with Stripe explains why neither lets a card number near your server.
- Inline validation, as the shopper types. An error shown next to the field, at the moment it is left, is fixed in seconds. A page reload with a list of red errors at the top is where people give up. Validate on the server too, because the browser can be bypassed.
- A declined card keeps everything else. Show the decline message beside the card field, keep the address and the basket, and let the shopper try another card or a wallet without starting again.
- Discount code behind a link. A prominent empty "promo code" box sends people off to search for a code, and some never return. A small "have a code?" link keeps it available without advertising it.
- The pay button states the obligation and the total. "Pay £42.50" or "Place order and pay". Under the Consumer Contracts Regulations the button that places the order has to make it clear that paying is what it does, and a button labelled "Continue" does not.
Trust at the moment of payment
- The padlock is the minimum, not the signal. Every page should already be on HTTPS. What reassures people is the detail around the card field. That means the business name and a UK address, a returns policy one click away, the delivery date, and the total that matches what they saw in the basket.
- Cancellation and returns stated where the decision is made. The 14-day right to cancel a distance purchase is a legal requirement and a selling point. One line next to the pay button does both jobs.
- Prices include VAT, everywhere. Consumer prices must be shown VAT-inclusive, and the checkout total must be the figure the shopper saw on the product page and in the basket.
- Badges only if they are real. A row of payment logos is fine; "secure checkout" shields and made-up trust seals look like the fake shops they are copied from.
Speed and layout
- Enclose the checkout. Remove the main navigation, the search box and the footer links. Leave the logo, which returns to the basket, and a help link. The shopper has one job on this page.
- One column, short steps, visible progress. A single column reads correctly on a phone and shows the shopper how far there is to go. Three steps (address, delivery, payment) with a progress line beats one enormous form or six tiny ones. The mobile-first design checklist covers the touch target and layout rules the checkout has to meet.
- Order summary always in view. Items, quantities, postage and total, collapsed on mobile with the total visible, so no one has to go back to the basket to check.
- Keep every checkout page under Google's 2.5 second LCP threshold. Checkout pages are often the slowest on a shop because of payment scripts and address libraries. Load the payment library when the payment step opens, not on the basket page. The post on Largest Contentful Paint and the 2.5 second rule explains how to measure it. The free website health check will run the speed checks on your live checkout.
After the order
- A confirmation page that answers the next question. What was ordered, where it is going, when it will arrive, how to cancel, and the order number. Then the account offer.
- The confirmation email within a minute. It is legally required for distance sales (the contract confirmed on a durable medium) and it is the thing shoppers check for. Send it from the webhook that marks the order paid, not from the success page.
- Measure the funnel. Record the standard GA4 events for each step (begin checkout, add shipping information, add payment information, purchase) so you can see which step loses people. The guide to tracking website performance with analytics tools covers the setup.
- Abandoned basket emails only where you may send them. They are marketing emails. Send them only where the shopper was told, when they typed their email, that you might, and had a chance to say no.
Questions people ask
Is a one-page checkout better than a multi-step one?
Neither wins by default. A one-page checkout with every field visible is intimidating on a phone. A step-by-step checkout with a visible summary and no reloads between steps usually performs better for shops with postage and delivery choices. What matters is that nothing is re-typed and nothing is hidden.
Should I offer PayPal as well as cards and wallets?
If your customers ask for it, yes. Some shoppers trust it more than typing a card into a shop they do not know. Put it alongside Apple Pay and Google Pay as an express option rather than as a separate flow.
How do I know which step of my checkout loses people?
Funnel reporting in your analytics, built from the step events above, and a few recorded sessions. The pattern is usually clear within a week. A drop after the delivery step points to postage or dates, and a drop at payment points to the card form or a decline problem.
Does a checkout need a phone number?
Only if a carrier or a collection point needs it. If you ask, say why, and never make it a condition of ordering unless the delivery method genuinely requires it.
What to do this week
Buy something from your own shop on your own phone, with a new email address, and write down every tap. Then do it with Apple Pay or Google Pay if the shop offers them, and with a card that will be declined. Those three runs find most of the items on this list.
If the checkout is on a platform you cannot change at this level, the comparison is between living with its defaults and moving to a shop you control. On the online shops we hand-code, every item above is a decision we can make for the shop rather than a setting we hope the platform exposes.