You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CardInputWidget only relays its error state visually by coloring the text in red :
The issue is that for many users (including myself) this is almost impossible to differentiate from the black font used in the normal case, so the error state is not visible.
A possible fix would be to rely on the error icon of the TextInputLayouts these fields are wrapped with.
(the widget also correctly adds an error message for blind users, 💯 for that !)
Android version
API 29
Impacted devices
Pixel 4xl
Installation method
stripe 13.2.0 dependency in instacart app
also the sample app in this repo
SDK version
stripe 13.2.0
The text was updated successfully, but these errors were encountered:
Summary
After validating `CardInputWidget` input (i.e. when a params object is
attempted to be created), if validation fails, show an error icon for
the brand icon.
Motivation
Fixes#2200
Testing
Unit test
Manual validation
CardInputWidget only relays its error state visually by coloring the text in red :
The issue is that for many users (including myself) this is almost impossible to differentiate from the black font used in the normal case, so the error state is not visible.
A possible fix would be to rely on the error icon of the TextInputLayouts these fields are wrapped with.
(the widget also correctly adds an error message for blind users, 💯 for that !)
Android version
API 29
Impacted devices
Pixel 4xl
Installation method
stripe 13.2.0 dependency in instacart app
also the sample app in this repo
SDK version
stripe 13.2.0
The text was updated successfully, but these errors were encountered: