Onboarding Steps When Locale and Currency Disagree
An onboarding step that assumes billing region matches display language breaks for users who don't fit that assumption. Here's how to design it so it doesn't.
Most onboarding checklists have one step that touches billing: add a payment method, confirm a plan, enter a tax ID. That step is usually built on an assumption nobody wrote down — that the account's display language and its billing region are the same thing. A user with the interface set to French billing from a US-dollar card, or a US-based company paying in euros for a European subsidiary, breaks that assumption immediately, and the step either shows the wrong currency, applies the wrong tax rule, or crashes on a format it didn't expect.
The fix isn't a smarter locale detector. It's treating language and billing region as two separate fields from the start, because they already are two separate facts about the account, and the checklist step should ask for whichever one it actually needs rather than inferring it from the other.
Why the two get conflated
Browser locale headers report a language-region pair like fr-CA or en-GB, and it's tempting to split that string and use the region half for billing. That works for a lot of users and quietly fails for the rest: a French-reading support rep based in the US, a developer testing the product with their OS set to a language that isn't their own, an account shared across a distributed team where the display language is a personal preference and the billing region is a company fact fixed by legal entity. None of those are edge cases in a global product; they're a meaningful fraction of signups the moment the audience isn't local to one country.
Separate the fields in the step itself
The checklist step that asks for billing information should ask for billing region explicitly, with the browser's guess as a pre-filled default rather than a silent assumption. That's a one-field addition to the step's form, but it changes what the step promises: instead of "we detected your country," it's "confirm your billing country," which is also the version that holds up when the detection is wrong.
type BillingStepInput struct {
DisplayLocale string // from Accept-Language, drives UI copy only
BillingCountry string // explicit, defaults to a guess, never silently trusted
Currency string // derived from BillingCountry, not from DisplayLocale
}
func ResolveBillingCurrency(input BillingStepInput) (string, error) {
currency, ok := countryToCurrency[input.BillingCountry]
if !ok {
return "", fmt.Errorf("no currency mapping for billing country %q", input.BillingCountry)
}
return currency, nil
}The function above refuses to guess when the mapping is missing rather than falling back to a default currency, which matters: a wrong currency on a payment form is a failed charge or a dispute, not a cosmetic mismatch.
What changes when the step fails
If ResolveBillingCurrency can't resolve a country, that's the moment to fall back to a manual step — ask the user to pick from a short list instead of guessing — rather than defaulting to USD and hoping it's close enough. The same logic that marks an onboarding step's error state applies here: showing nothing, or showing a wrong currency silently, is worse than showing the user a short form asking them to confirm it themselves.
Don't let the mismatch block unrelated steps
A locale/currency mismatch on the billing step shouldn't stall every other step in the checklist. If your onboarding uses conditional steps, the billing step can be flagged "needs confirmation" while the rest of the checklist proceeds normally. Treating billing confirmation as a gate on the whole onboarding flow turns a one-field data problem into a blocked account, which is a worse outcome for a user who was otherwise ready to start.
What to measure instead of guessing it's fine
There's no honest number to put here without instrumentation: how often the billing country guess (from Accept-Language or IP) disagrees with what the user actually confirms is specific to your signup mix, and nobody should publish an industry rate for it because there isn't one that transfers between products. The fix is a counter that compares the pre-filled guess against the confirmed value at submit time, bucketed by whether they matched. If that counter doesn't exist yet, the honest statement is: this isn't measured, and that comparison is the first thing to build before tuning the detection logic further.
For the related case where the step itself depends on scheduling rather than billing, see the docs for how the step API represents per-account configuration generally.