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

Multiple strings for card submit button #291

Open
lazarohcm opened this issue Oct 16, 2024 · 2 comments
Open

Multiple strings for card submit button #291

lazarohcm opened this issue Oct 16, 2024 · 2 comments
Assignees
Labels
enhancement Indicates new feature requests

Comments

@lazarohcm
Copy link

Is your feature request related to a problem? Please describe.

I'm currently in the migrating payment providers and My application has different flows that require interaction with the card component.

  • One is to replace the current payment method, which I want the submit button to have "Save changes"
  • Two is to make a payment when adding a new card, which I want the submit button to have "Pay now"

I can change it from or another with the localized strings (adyen.submitButton), but I'm failing to find a solution where I can have both contents and change it depending on the context.

Am I correct to assume that it is not possible with the Flutter SDK at the moment?

Describe the solution you'd like

Ideally when setting up the CardComponentConfiguration there should be an option in which we can pass that will use different localized strings based on the type, maybe similar to the Apple Pay configuration? .

This is it. I hope I'm mistaken and just missing something obvious, instead it being a feature request

@lazarohcm lazarohcm added the enhancement Indicates new feature requests label Oct 16, 2024
@Robert-SD Robert-SD self-assigned this Oct 16, 2024
@Robert-SD
Copy link
Collaborator

Hi @lazarohcm,
Thank you very much for opening the request and suggesting an enhancement.

You are correct, at the moment, the Flutter SDK does not offer this capability. We will discuss the feature request and will provide an update afterwards. Maybe introducing types similar to Apple Pay might actually be a feasible way in supporting context related strings. But we need to align the solution with the other Checkout SDKs as well.

Let's keep this issue open for future discussion.

@lazarohcm
Copy link
Author

Thanks for explaining it! Hope we can get this feature soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

2 participants