card.io-iOS-SDK icon indicating copy to clipboard operation
card.io-iOS-SDK copied to clipboard

Reading expiration dates

Open Natelegreat1 opened this issue 10 years ago • 13 comments

I heard that v5.0+ can supposedly detect expiration dates on iOS. Is there something special to enable beyond what I had in v4.* ? Or should it just start working? Currently, it is still only reading the card number... :(

Natelegreat1 avatar Jan 22 '15 01:01 Natelegreat1

@Natelegreat1 card.io 5.0 is our first release which attempts to scan expiration dates. Expiry-scanning is definitely a work in progress, but we feel that it's currently good enough to release to developers while we continue to work on it.

So far our impression is that there are many cards for which this version usually reads the expiry correctly, many cards for which it never succeeds, and many cards for which its performance varies considerably depending on lighting conditions etc. Part of our reason for releasing now is to collect feedback such as yours.

In fact, let's keep this github issue open as a place where others can report their impressions over the coming weeks.

dgoldman-pdx avatar Jan 22 '15 02:01 dgoldman-pdx

Thanks! I kept trying with other cards. I guess my first try was just unlucky. So far... Working : BMO SPC MC, BMO Enterprise MC, Costco AMEX No luck : MBNA HABS MC, SCENE VISA, AMEX (frosted white), Scotiabank ScotiaGold, RBC Visa

Natelegreat1 avatar Jan 22 '15 04:01 Natelegreat1

I've tested this on both a Visa credit card and a Mastercard debit card. Both seem to work about 90% of the time

mitchellporter avatar May 21 '15 04:05 mitchellporter

Thanks for the additional data points, @mitchellporter !

dgoldman-pdx avatar May 21 '15 09:05 dgoldman-pdx

Does the sample Swift app automatically scan the expiry date as well? It doesnt seem to be working on my VISA card.

debarundhar avatar Jun 03 '15 08:06 debarundhar

@debo2372 yes, the Swift sample app behaves just like the ObjC sample app in this regard. As noted above, expiry-scanning does not currently work for all cards.

dgoldman-pdx avatar Jun 03 '15 16:06 dgoldman-pdx

Hi @dgoldman-ebay. i am using card.io for my android app. its scanning card number exactly sometimes expiry date also i am getting & one question, whether its scanning Card on name? is this possible?

Vijayakumr avatar Jun 15 '15 05:06 Vijayakumr

We didn't get any update on this so far. So... scanning card on name is in progress I guess... http://stackoverflow.com/questions/16844028/reading-card-holders-name-by-card-io-library @dgoldman-ebay Am I correct Dave ?

FeminaErnest avatar Jun 15 '15 06:06 FeminaErnest

@Vijayakumr this issue is about expiration dates. Questions regarding other features, such as scanning cardholder names, should be addressed in their own issues.

That said, please see https://github.com/card-io/card.io-iOS-SDK/issues/111.

dgoldman-pdx avatar Jun 15 '15 09:06 dgoldman-pdx

Thanks @FeminaErnest,@dgoldman-ebay

Vijayakumr avatar Jun 16 '15 07:06 Vijayakumr

My test results on Expiry Date scanning. Tested 5.2.2 on iPhone 6:

Expiry date scans - Cap1 Quicksilver Expiry date doesn't scan- Wells Fargo VISA (date is MM/DD/YY format), Alliant VISA debit card, Bluebird card

CaptainScavo avatar Dec 03 '15 15:12 CaptainScavo

Expiration not scanning for these cards on iOS with CardIO 5.4.1.

  • BoA MC (red background)
  • BoA Visa (red background)
  • DCU Visa (flat, which as expected doesn't scan)
  • Citi MC (blue background)
  • PlainsCapitalBank MC (red background)

Works for:

  • Discover (silver background)
  • BoA Visa (blue background)

It's interesting that the blue background BoA card recognizes the expiry, but the red background BoA cards don't. I've tried multiple red BoA cards. Also the PlainsCapitalBank MC with a red background fails. The expiration dates are in the same relative positions between the red & blue cards.

Update: Tested outdoors to get as much light exposure as possible, and the red BoA card got the expiry ~50% of the time.

Back indoors, I found that rotating the tablet from portrait (our normal operating mode) to landscape increased the expiry recognition from 0% to ~33% (very rough figures).

Would there by any particular reason that landscape offers better expiry recognition?

peacechen avatar May 18 '17 15:05 peacechen

is there any update on the issue? is this fixed? I was getting the card number but not getting the expiry date....

JoshuvaGeorge03 avatar Aug 14 '18 05:08 JoshuvaGeorge03