-
Notifications
You must be signed in to change notification settings - Fork 645
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
[BUG] CardInputWidget does not autofill card's expiry date or CVC depending on the autofill software #8889
Comments
Hey @mvettosi, as part of |
Hi @tjclawson-stripe , thanks for the reply! Funny enough, despite this issue being opened several months ago, I was working again on this just now! I did in the meantime found about the new capabilities of the
Could you clarify in practice what difference are between Apologies if this is not the correct place to ask for this! Either way, we did realise the |
@seanzhang-stripe could you help with this request? @mvettosi we also have a discord server you can get real time help in: https://discord.com/invite/stripe |
@jaynewstrom-stripe awesome, thanks! I did end up figuring out in the meantime which was better for our flow, but I'll definitely use the discord server if I need more help. Happy to close this issue for now, since it was remarked that there is no plan to fix the old CardsInputWidget and that PaymentSheet can be used instead. Thanks all! |
Summary
When attempting to autofill credit card details with Google's password manager, all fields are correctly filled except for the CVC.
When using a third party one like 1Password, the CVC is filled but the expiry date isn't.
Code to reproduce
The
example
project in this repo already reproduces the issue.Android version
Tried on both Android 10 and Android 14
Impacted devices
Not a device specific issue
Installation method
Reproducible on the
example
project.Dependency Versions
Reproducible on the latest version of this repo, which is
v20.48.1
at the time of writingSDK classes
CardInputWidget
Video
Using Google's password manager:
https://github.com/user-attachments/assets/ca4cd2e7-eefb-4d6d-af24-6b7e70ddb0c9
Using 1Password:
https://github.com/user-attachments/assets/cf79d443-c28a-40dd-8db2-07e6131799bc
Other information
Because our flow requires us to collect card details at an earlier stage than the payment step, among with other issues, we are currently unable to migrate to
PaymentSheet
, which we understand is the most developed UI component at the moment.We are also planning to use
CardInputWidget
inside anAndroidView
to allow it to work in our Jetpack Compose screens. It would be great to hear if there's any alternative or component to achieve this result, or if there's any workaround for the reported issue.The text was updated successfully, but these errors were encountered: