Skip to content
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.

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

@rajesh57

Description

@rajesh57

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 /

  • (void)cardIOView:(CardIOView *)cardIOView didScanCard:(CardIOCreditCardInfo *)cardInfo {
    NSLog(@"Card holder name : %@", cardInfo.cardholderName);
    NSLog(@"Cardnumber : %@", cardInfo.cardNumber);
    NSLog(@"expiryYear : %lu", (unsigned long)cardInfo.expiryYear);
    NSLog(@"expiryMonth : %lu", (unsigned long)cardInfo.expiryMonth);
    NSLog(@"cardType : %ld", (long)cardInfo.cardType);
    NSLog(@"cvv : %@", cardInfo.cvv);
    }

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions