All posts

Multi-store Magento: the checkout that only fails in one country

A Magento instance that runs several countries is several checkouts sharing one codebase. A setting overridden at the wrong scope, or never set for a new website, breaks one market only. Your own tests in the main store pass.

Free checkout scan

Enter your store address. A real browser adds a product to the cart and walks the checkout up to the payment step, like a customer, and shows you every step with a screenshot.

  • Free, no account
  • Stops before payment, no order
  • Nothing to install
· Updated · 2 min read
A white world globe

How scope mistakes happen

Magento reads configuration from default, then website, then store view. A value set lower wins, and it stays when the default changes later. Someone fixes a payment setting at default scope, and the website that had an override months ago keeps the old one.

SettingScopeMistakeEffect
Payment methods and keysWebsiteSandbox keys or disabled on one websiteNo way to pay
Shipping methodsWebsiteMethod not active or no rates for the countryStuck at shipping
Allowed countriesWebsite or store viewCountry missingAddress rejected
Base currency and displayWebsite / store viewCurrency without ratesWrong totals or errors
Base URLsStore viewMixed domains or HTTPCart lost between domains

Find the override

Compare the same setting across scopes from the command line:

bash
# Default value
bin/magento config:show payment/checkmo/active

# The same value for one website and one store view
bin/magento config:show --scope=websites --scope-code=gr payment/checkmo/active
bin/magento config:show --scope=stores --scope-code=gr_el general/country/allow

Or list every override at once in the database:

sql
SELECT scope, scope_id, path, value
FROM core_config_data
WHERE scope <> 'default'
  AND (path LIKE 'payment/%' OR path LIKE 'carriers/%' OR path LIKE 'general/country/%')
ORDER BY path, scope, scope_id;
Payment keys are often stored encrypted; compare whether a value exists, not the value itself.
Lock what must not drift

Values set with bin/magento config:set --lock-env live in env.php and cannot be changed in the admin, per scope.

Monitor each market

Run a checkout per website, with an address in that country and its currency. A check of the main store says nothing about the others. Related: why payment methods disappear and shipping rates fail silently.

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.

Find out your checkout broke before your customers do.

Real checkout checks for Magento and WooCommerce · free plan · no card requiredMagento checkout monitoring →
FAQ

Common questions

Still have a question?More answers, and a way to reach us.Support →
01Why does Magento checkout fail in only one store?

Usually a setting overridden at website or store view scope: a disabled payment method, sandbox keys, no shipping method or a missing country.

02How do I see configuration per scope in Magento?

Use bin/magento config:show --scope=websites --scope-code=<code> <path>, or query core_config_data for rows where scope is not default.

03How do I monitor a multi-store Magento?

Run a checkout for each website with a local address and currency; one check of the main store does not cover the others.