card-io / card.io-iOS-SDK

card.io provides fast, easy credit card scanning in mobile apps
Other
2.29k stars 553 forks source link

VISA Card not at all scanning and Expiry data always getting 00/0000 when we use the Card io Version 5.4.1 #224

Open rajesh57 opened 8 years ago

rajesh57 commented 8 years ago

We are using Card IO iOS SDK version 5.4.1 While scanning VISA card not at all recognise the Card IO SDK. But Master card information captured (Only card number) Is there any way to capture the Expiry date and card holder name ? Here is the Code snap. CardIOCreditCardInfo.h - This class contains following parameters to access the scanned card info but only card number always detectable other information like (expiryMonth,expiryYear,cardholderName) getting nil.

/// Card number. @property(nonatomic, copy, readwrite) NSString *cardNumber;

/// Card number with all but the last four digits obfuscated. @property(nonatomic, copy, readonly) NSString *redactedCardNumber;

/// January == 1 /// @note expiryMonth & expiryYear may be 0, if expiry information was not requested. @property(nonatomic, assign, readwrite) NSUInteger expiryMonth;

/// The full four digit year. /// @note expiryMonth & expiryYear may be 0, if expiry information was not requested. @property(nonatomic, assign, readwrite) NSUInteger expiryYear;

/// Security code (aka CSC, CVV, CVV2, etc.) /// @note May be nil, if security code was not requested. @property(nonatomic, copy, readwrite) NSString *cvv;

/// Postal code. Format is country dependent. /// @note May be nil, if postal code information was not requested. @property(nonatomic, copy, readwrite) NSString *postalCode;

/// Cardholder Name. /// @note May be nil, if cardholder name was not requested. @property(nonatomic, copy, readwrite) NSString *cardholderName;

/ Delegate method used /

Please assist me to resolve this. ! THANKS IN ADVANCE !

peacechen commented 7 years ago

Expiration dates are recognized sporadically. See #92

Name recognition is not supported yet. See #111