Skip to content

[ECP-9564]Use payment method titles from /paymentMethods response for translations#2923

Merged
khushboo-singhvi merged 8 commits intodevelop-10from
ECP-9564
Apr 4, 2025
Merged

[ECP-9564]Use payment method titles from /paymentMethods response for translations#2923
khushboo-singhvi merged 8 commits intodevelop-10from
ECP-9564

Conversation

@khushboo-singhvi
Copy link
Contributor

@khushboo-singhvi khushboo-singhvi commented Mar 25, 2025

Description

Previously, payment method titles were hardcoded in config.xml, which prevented proper localization of the payment method names in the checkout, even when shopperLocale was passed to the /paymentMethods API call.

To support localized payment method names, the frontend should now use the name field provided in the /paymentMethods response. These titles are dynamically localized based on the shopperLocale passed in the API call.
If the shopperLocale is set to "fi_FI", the names returned will be localized accordingly (if supported by Adyen).
Tested scenarios

Fixes
#2858

@khushboo-singhvi khushboo-singhvi changed the title Use payment method titles from /paymentMethods response for translations [ECP-9564]Use payment method titles from /paymentMethods response for translations Mar 27, 2025
candemiralp
candemiralp previously approved these changes Apr 4, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 4, 2025

@khushboo-singhvi khushboo-singhvi merged commit ded03f6 into develop-10 Apr 4, 2025
14 of 15 checks passed
@khushboo-singhvi khushboo-singhvi deleted the ECP-9564 branch April 4, 2025 10:05
@khushboo-singhvi khushboo-singhvi added Breaking change Indicates a change that has caused a major version update Feature Indicates a new feature addition labels Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking change Indicates a change that has caused a major version update Feature Indicates a new feature addition

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ECP-9564][ECP-9693] Provide adminhtml configuration option for Payment Methods

3 participants