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

[ECP-9564] Alternative Payment Methods | Payment method title is not translatable on website or store view level #2854

Open
aschrammel opened this issue Jan 17, 2025 · 2 comments
Assignees
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@aschrammel
Copy link
Contributor

Describe the bug
For the payment method CC, it is possible to override the default title shown on in the payment step on website or store view level utilizing the config path payment/adyen_cc/title.

For alternative payment methods this only works on default scope but not when set for on website or store view level. As payment methods may be translated for different countries, configurations on this more specific levels also should be taken into account correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Configure e.g. "Klarna" payments to be shown in your store. By default it will be shown as Klarna
  2. In the database (as this config is not available via backend) add following:
    INSERT INTO core_config_data SET scope="default", scope_id=0, path="payment/adyen_klarna/title", value="Test title";
  3. Clear the config cache
  4. Go to checkout
  5. The title "Test title" is shown for the payment method
  6. Adjust the config value to store view level:
    `UPDATE core_config_data SET scope="stores", scope_id=<your_store_id_here> WHERE path="payment/adyen_klarna/title";
  7. Repeat steps 4 and 5
  8. The default title "Klarna" is shown for the payment method

Expected behavior
When a title for an alternative payment method is configured on website or store view level, this configuration is taken into account correctly, as it is already done for the CC payment method.

Magento version
2.4.6-p8

Plugin version
9.12.2

Additional context

  • The title for CC payment methods is set in \Adyen\Payment\Model\Ui\AdyenCcConfigProvider::getConfig
  • No equivalent could be found for alternative payment (PM) methods
@aschrammel aschrammel added the Bug report Indicates that issue has been marked as a possible bug label Jan 17, 2025
@candemiralp
Copy link
Member

Hello @aschrammel,

Thank you for creating this issue. It's a known issue and we already have an internal investigation about this issue. I am linking these two together and you will be informed once we make a decision.

Best Regards,
Can

@candemiralp candemiralp changed the title Alternative Payment Methods | Payment method title is not translatable on website or store view level [ECP-9564] Alternative Payment Methods | Payment method title is not translatable on website or store view level Jan 20, 2025
@aschrammel
Copy link
Contributor Author

aschrammel commented Jan 20, 2025

Hi @candemiralp,

Thanks a lot for your timely feedback. Do you have a rough estimation on when you could provide a feedback on the decision? Our customer is planning to roll out new payment methods in the very near future and having the titles not translated is a show stopper here.

As the rollout is planned in multiple stores with different languages simultaneously, a workaround be just setting the title in DEFAULT scope doesn't work ufortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
Development

No branches or pull requests

2 participants