adyen-android icon indicating copy to clipboard operation
adyen-android copied to clipboard

More flexibility to change the text in the pay_button

Open qmetzler-luna opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. In our application, we are using Adyen to pay but also have a screen in the user account to manage his/her credit cards. In this screen s/he can delete and add new cards. The issue is that we cannot override the text of the button for this screen so it's shown that the user will pay when in fact he his only register his/her credit card

During our reservation process we also can pay right now or take only an empreint and pay later if the user doesn't show up and didn't cancelled his reservation. We would like to have a different message in this case too

Describe the solution you'd like We would like to have more options to customise the text on the pay button

Describe alternatives you've considered Having a generic message but that's not optimal

qmetzler-luna avatar Aug 12 '22 07:08 qmetzler-luna

Hey @qmetzler-luna, thanks for the suggestion! We'll take it into consideration. For now, the best suggestion I can do is to override the two string resources that are used in the pay button. pay_button is used for when no amount is passed to the configuration and pay_button_with_value with amount. This probably doesn't cover your case, because this doesn't allow to have different texts in different use cases 🤔

OscarSpruit avatar Aug 12 '22 13:08 OscarSpruit

Closing due to inactivity in the issue.

ozgur00 avatar Dec 23 '22 13:12 ozgur00