-
Notifications
You must be signed in to change notification settings - Fork 122
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
[Feature] Change Call-To-Action when storing credit cards #1646
Comments
Hi @miklselsoe However, since you can override the localization files of the SDK, you can change the title for each key. See localization We will discuss to make it programmatic in the future. Hope this helps! |
Thanks. We still need it to say "Pay" in other scenarios, so I don't think the custom localization will work, but maybe a list of predefined CTA's to choose from would be nice. |
If the scenario you want to change the title is for 0 amounts, you can still use the localization route. Maybe the 0 amount option suits your case and you can override the related localization key. |
Thank you! I understand it a bit better now and think I can make it work with custom localization although it's not too pretty. I don't know how to use the function you refer to in the Localization.swift file. I only can find reference to LocalizationParameters on the |
I meant still overriding the localized keys but linked the logic we use to determine which localized key we are using for which case. (not meant for you to use the function directly) Hope it's more clear now! |
We have a flow where we allow users to store a credit card for later use in our app. It would be nice if the CTA on the button was something other than "Pay" since the user is not actually paying anything at this point.
I haven't found a way to change the CTA (to ex. "Save"). It would be really nice to have this option when storing credit cards.
We are using a styled
CardComponent
.The text was updated successfully, but these errors were encountered: