Page MenuHomePhabricator

Bug: Invalid locale in ingenico
Open, Needs TriagePublic2 Estimated Story Points

Description

Seeing error hostedCheckoutSpecificInput.locale is invalid.

We just got another one of these with the locale set to '3den_'.

We should limit what we sent as the locale to only valid things, and fall back to 'en' when what we have would cause and error.

Original ticket: The code sent is qqx_U. I'm not sure where that's coming from but needs more investigation.

Event Timeline

As @Pcoombe said in IRC, qqx is a message testing language code - uselang=qqx will show the message keys instead of the translations.

We should still probably check the locales against a list of ones we know Ingenico can handle, and have a sane fallback for ones not on the list.

Ejegg set the point value for this task to 2.