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

[BUG] CardInputWidget does not autofill card's expiry date or CVC depending on the autofill software #8889

Open
mvettosi opened this issue Jul 24, 2024 · 0 comments
Labels

Comments

@mvettosi
Copy link

mvettosi commented Jul 24, 2024

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 writing

SDK 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 an AndroidView 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.

@mvettosi mvettosi added the bug label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant