How to monitor a Magento checkout properly
Checking that the checkout page loads is not enough. Here is what a real checkout check has to prove, step by step, and how to run one without placing orders.
Most Magento stores find out their checkout is broken from a customer. The home page loads, the uptime monitor is green, and nobody can pay. That gap exists because the checkout page is not the checkout: it is a chain of steps, and any one of them can fail while every page still answers.
This guide covers what a checkout check has to prove, how often to run it, and the mistakes that make checks noisy or blind.
Why "the checkout page loads" proves almost nothing
Magento's checkout pulls together the cart, the customer session, stock, shipping rates, tax, coupons and one or more payment extensions. A request to /checkout can return a normal page while:
- Add to cart looks fine but no cart is created behind it.
- Shipping methods never appear for the address entered, because a rate provider times out.
- The payment step shows no methods, or shows them and fails when they load.
- A JavaScript error from a new extension stops the page from moving on.
None of these take the site down, so none of them trip an uptime check.
What a real checkout check should prove
A useful check walks the path a customer walks and confirms each step, in order:
- A product page opens and shows a price and an add to cart button.
- Add to cart works, and the cart really contains the product afterwards.
- Checkout opens with that cart.
- Shipping options appear for a realistic test address.
- The payment step is reached, with payment methods shown.
Then it stops. It does not place an order. A check that stops before payment never creates fake orders, never charges a card and never touches stock, which is why it is safe to run all day on a live store.
How often to run it
Often enough that a broken checkout is found before many customers hit it, and rarely enough that the check itself is not a burden. Every 15 minutes is a common balance: a failure is noticed within a quarter of an hour, and the store sees a few dozen extra product views a day.
Avoid alerts that cry wolf
Checks that alert on every hiccup get ignored. Three habits keep them trustworthy:
- Check twice before alerting. A single failure is often a slow network or a brief blip. Two failures in a row is a real problem.
- Choose the product carefully. Do not pick "the first product on the home page". Merchandising changes will turn into false alarms. Pick a simple, always-in-stock product, or let the check choose one it can buy.
- Say which step failed. "Checkout failed" is not enough. "Shipping options did not appear for a UK address" tells the developer where to look.
What to check after every deployment
Most checkout failures start with a change: a deployment, an extension update, a setting. Running the same check a couple of minutes after every release catches these while the person who made the change is still at their desk. On Magento, a deploy hook or a bin/magento command in the pipeline can wait for the result and fail the release if checkout broke.
What an outside check cannot see
A browser test sees what a customer sees. It cannot see why. For that you need signals from inside the store: whether cron is running, whether indexes are current, whether orders for each payment method are completing, and what changed just before the problem started. The outside check tells you that customers cannot buy; the inside view tells you why.
How StoreOnCall does it
StoreOnCall runs this exact check every 15 minutes on paid plans and on the free trial: product page, add to cart, checkout, shipping options and the payment step, stopping before payment. A failure is confirmed twice before anyone is alerted, and the alert names the step that failed and, on Magento, the change that came just before it. The same check runs after every deployment.
You can see what it finds on your store today with the free store scan, which needs no sign-up, or read exactly when the checkout test alerts.