-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Feature] Credit card scanner should scan expiration date and not only "pan" #2484
Comments
Hello @alessiolapenna, thanks for writing in! The card scan feature in PaymentSheet does attempt to read the expiration date, but can fail. I've added improving this to our list of feature requests. |
Any ETA on this? We're also using CardScanSheet without PaymentSheet. |
+1 |
) ## Summary Remove `@_spi` for `ScannedCard` properties. Fixes #2484 and #2875 ## Motivation In order to autofill our card entry form we need the scanned details, but for some reason they're blocked from being publicly visible. ## Testing N/A ## Changelog [Changed] `ScannedCard` to allow access for `expiryMonth`, `expiryYear` and `name`.
This was fixed in recent versions of PaymentSheet: The expiration date scanning performance was subpar on newer devices, but it should be working consistently now. Let us know if you notice any other issues. |
Is your feature request related to a problem? Please describe.
When using the credit card scan without the payment sheet, the resulting object returns only the credit card "pan" and not the expiration date.
Describe the solution you'd like
Make the expiration date available in the returning data.
Describe alternatives you've considered
Using a different card scanner library
The text was updated successfully, but these errors were encountered: