
Online shopping looks completely simple today. You choose a product, enter your address, click “Buy” and a few moments later a confirmation arrives. What the customer does not see is that this click started a series of steps involving the web shop, the bank, the warehouse and the courier. All of them have to do their part without error for the purchase to go smoothly.
First, the web shop checks the order
When you click “Buy”, the web shop does not accept the order straight away. It first checks whether everything you see on the screen is still correct. It compares the price with the one in its database, because it may have changed while the product sat in your cart. It checks whether the product is in stock, whether the discount code you entered is valid and how much delivery to your address costs. Only when everything matches does it calculate the final amount.
In this step a good web shop also handles a very common situation. If the page loads slowly, many customers click “Buy” a second time. A poorly built system then creates two orders and charges twice. A well-built system recognises that it is the same request and processes it only once.
Fun fact: On 12 December 2014, between 7 and 8 pm, a software error in a tool that automatically adjusted prices for British Amazon sellers dropped the prices of thousands of products to just one penny. Within an hour mattresses, phones and game consoles were sold, and some small sellers warned that the error could cost them their entire business.
Then comes the payment
If you pay by card, your details do not pass through the web shop in plain form. They are sent over an encrypted connection to a specialised payment system, which forwards them to your bank. Within moments the bank checks whether the card is valid, whether there are enough funds on the account and whether the purchase looks normal for you. It often asks you to confirm the transaction in your app or with a code from an SMS. In the end it approves or declines the payment, and the answer goes back to the web shop.
One detail here is rarely noticed by customers. The web shop should receive the payment result directly from the payment system, not only when the customer returns to the confirmation page. Otherwise, if the customer closes the browser or loses their internet connection at that moment, the money may be reserved while the order was never created.
With cash on delivery, which is still very common here, this step does not exist. The customer pays the courier when collecting the parcel, and the web shop keeps the order as unpaid until delivery.
Fun fact: On 1 June 2018, a failure of a single network device in a Visa data centre caused ten hours of card payment problems across Europe. According to Visa itself, 5.2 million transactions did not go through correctly, and some customers were charged several times for a single purchase.

The order becomes real
Once the payment is approved, the web shop creates an order with a unique number, issues an invoice and reduces the stock. This step has to be very precise. Imagine two people buying the last item of the same product in the same second. If the system does not know exactly who was first, both will get a confirmation, but only one of them will get the product. The other customer then receives an apology instead of a parcel, and the web shop loses their trust.
Fun fact: In 2013 the American retail chain Target opened more than a hundred stores in Canada and withdrew from that market after only two years. One of the main reasons was inaccurate product and stock data: the system was correct in only about 30 percent of cases, and product dimensions were sometimes entered in inches instead of centimetres. The result was empty shelves on one side and overfull warehouses on the other.
The customer gets a confirmation
After that, the confirmation page appears on the screen, and soon an email arrives with the order number, the list of products, the amount, the delivery address and the expected delivery date. That is the moment the customer knows everything is fine.
That is why it matters that this email reliably reaches the main inbox and not spam. When the confirmation is missing, customers often think the order did not go through. Some order again, some call support and some give up. All of this can be avoided with correctly configured email sending.
Fun fact: Since February 2024, Gmail and Yahoo require senders to technically prove that an email really comes from their domain, using standards known as SPF, DKIM and DMARC. Web shops that have not set this up risk their order confirmations ending up in spam or not being delivered at all.
The order reaches the warehouse
At the same time the order is forwarded to the warehouse automatically. Staff receive information on which product to take from the shelf, pack it, label it with the delivery details and hand it to the courier. From that moment the customer can track where the parcel is.
Fun fact: In the warehouse of the British online supermarket Ocado in London, orders are assembled by hundreds of robots moving across a large grid. In July 2021 three robots collided and caused a fire. About 800 employees were evacuated and thousands of orders were cancelled, from a warehouse that normally processes up to 150,000 orders a week.
What if traffic is suddenly much higher
All of this has to work equally well when a web shop has ten orders a day and when it has several hundred in an hour, for example during Black Friday or a big sale. If the system is not built for higher load, the website becomes slow or stops working on the very day of the biggest sales. Such situations are planned and tested in advance, not after the problem has already happened.
Fun fact: Even the biggest are not immune. When Amazon’s Prime Day, one of the biggest sales days of the year, started on 16 July 2018, the website and app stopped working normally in the first minutes. Instead of offers, customers saw Amazon’s error pages with pictures of employees’ dogs and a message that something had gone wrong.
The most important part of a web shop is the one you cannot see
Of this whole process the customer sees only the “Buy” button, the confirmation page and an email. Everything else happens in the background and is noticed only when something does not work.
That is why a web shop is not just a nicely arranged product catalogue. Its real value is reliability: calculating the price correctly, completing the payment securely, not selling a product that is not there, and letting the customer know at every moment what is happening with their order. Whether the customer comes back depends on exactly these things.
If you are planning a new web shop or want an existing one to work more reliably, take a look at our web design and web shop development service or contact us, we would be glad to talk.

