Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PW-8180] Fix wrong language on checkout component #356

Merged
merged 1 commit into from Mar 3, 2023
Merged

Conversation

candemiralp
Copy link
Member

Summary

Obtaining locale from the sales channel repository was being resulted in getting the default locale value even if the selected language was different. That behaviour caused wrong locale was being sent to the Adyen Web components configuration.

Instead of fetching the locale from DB according to the sales channel default values, now it is being fetched from sales channel context.

Tested scenarios

  • Different language setups on the store with correct component language setup

@candemiralp candemiralp changed the title [PW-8180] [PW-8180] Fix wrong language on checkout component Mar 3, 2023
@candemiralp candemiralp added the Fix Indicates a bug fix label Mar 3, 2023
@candemiralp candemiralp merged commit af3acda into develop Mar 3, 2023
@candemiralp candemiralp deleted the PW-8180 branch March 3, 2023 09:37
@candemiralp candemiralp mentioned this pull request Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fix Indicates a bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants