stripe / stripe-ios

Stripe iOS SDK
https://stripe.com
MIT License
2.12k stars 982 forks source link

[Feature] StripeCardScan ScanCard only has the card number and no expiration date #2875

Open littlematt opened 1 year ago

littlematt commented 1 year ago

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

seanzhang-stripe commented 1 year ago

Hi @littlematt . Can you share with us more about the problem that you are facing? Any relevant code snippet, screenshots or screen recordings, as well as the version of the SDK will be helpful here.

littlematt commented 1 year ago

Hi @littlematt . Can you share with us more about the problem that you are facing? Any relevant code snippet, screenshots or screen recordings, as well as the version of the SDK will be helpful here.

Hi,When the SDK recognizes the bank card, it only recognizes the bank card number, but it does not recognize the expiration date

littlematt commented 1 year ago

Hi @littlematt . Can you share with us more about the problem that you are facing? Any relevant code snippet, screenshots or screen recordings, as well as the version of the SDK will be helpful here.

Hi, the model ScanCard has only one field "pan"

seanzhang-stripe commented 1 year ago

Hi @littlematt are you referring to the ScannedCard structure?

I've added your request to our internal backlog.

sunshinejr commented 1 year ago

+1 on this one, as this is something we are also interested in :)

Belinskaya commented 12 months ago

+1 on this one. The bummer is that internal classes do recognize whole card information. But unfortunately ScannedCard has only 1 property for pan. And above mentioned classes are not public. I even can't override userDidScanCardSimple in CardScanSheet, because it's in extension. So no way to solve this on my own.

Belinskaya commented 12 months ago

hey @seanzhang-stripe do you know a timeline for this?

via-guy commented 8 months ago

This is an issue for us too. We're not sure why those other values are blocked. Also, is it possible to get the CVV as well? E.g. from an AMEX card?

via-guy commented 8 months ago

This is also a duplicate of https://github.com/stripe/stripe-ios/issues/2484

davidme-stripe commented 6 months ago

This was fixed in https://github.com/stripe/stripe-ios/pull/3539.