What happens on the payment step
Each action in Luma’s checkout calls an endpoint. Guests use guest-carts/{cartId}, logged-in customers use carts/mine:
| Action | Request | Typical failure |
|---|---|---|
| Address entered | POST …/estimate-shipping-methods | No methods returned for the country |
| Next from shipping | POST …/shipping-information | Address validation, region required |
| Payment method picked | POST …/set-payment-information | Totals or method not available |
| Place Order | POST …/payment-information | Payment error, reCAPTCHA, 500 |
Find the failing request
- Open DevTools. Network tab, filter by
rest, and keep Preserve log on. - Repeat the step. Click Next or Place Order again.
- Open the red request. The Response tab holds Magento’s message, for example a required field or a payment error.
- Check the console. If no request leaves at all, a JavaScript error stopped it before it was sent.
For a 500, Magento writes the stack trace to a report file. The response or the log names it:
# Newest error reports and exceptions
ls -t var/report | head -5
tail -n 50 var/log/exception.logThe usual causes
| Sign | Cause | Fix |
|---|---|---|
| Console error in a mixin, no request sent | Third-party checkout JS broken after an update | Disable the module on staging and compare |
| 400 “region is required” or similar | Address config differs from the form | Stores → Configuration → General → State Options |
| Place Order 400 with payment message | Provider rejected credentials or amount | Check the payment module log and keys |
| Place Order blocked, reCAPTCHA error | reCAPTCHA on checkout misconfigured | Security → Google reCAPTCHA Storefront |
| Request blocked, console “Refused to load” | Content Security Policy | Allow the domain in csp_whitelist.xml |
The two paths use different endpoints and different address handling. A checkout that works logged in can still fail for every guest.
Test both paths
After a fix, run a full checkout as a guest and as a logged-in customer, with a country you sell to most and one you sell to rarely. Related: checkout breaks after a deploy and one-step checkout extensions.
Check your own store now with the free Magento checkout test: it walks the checkout in a real browser, Luma or Hyvä, and shows the step where it stops.
Step-by-step fix when the order itself is refused: Magento 2 place order error.
Find out your checkout broke before your customers do.
Real checkout checks for Magento and WooCommerce · free plan · no card requiredMagento checkout monitoring →