stripe-ios icon indicating copy to clipboard operation
stripe-ios copied to clipboard

[Feature] Credit card scanner should scan expiration date and not only "pan"

Open alessiolapenna opened this issue 1 year ago • 3 comments

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

alessiolapenna avatar Apr 18 '23 09:04 alessiolapenna

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.

yuki-stripe avatar Apr 28 '23 20:04 yuki-stripe

Any ETA on this? We're also using CardScanSheet without PaymentSheet.

jksk avatar Sep 27 '23 09:09 jksk

+1

via-guy avatar Feb 28 '24 11:02 via-guy

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.

davidme-stripe avatar May 01 '24 20:05 davidme-stripe