How to get the country name from the card.io SDK ? - iOS

326 Views Asked by At

Card.io SDK provides the following details :

Card number, expiryMonth, year, CVV and Postal code.

How to get the country name from this SDK.

- (void)userDidProvideCreditCardInfo:(CardIOCreditCardInfo *)info inPaymentViewController:(CardIOPaymentViewController *)paymentViewController {
    NSLog(@"Scan succeeded with info: %@", info);
}

Is there any way to get country name from this SDK?

Please note that I am using Objective-C.

1

There are 1 best solutions below

1
Dave Goldman On BEST ANSWER

Dave from card.io here.

No, the SDK does not ask the user to enter their country (and, of course, the country is not available from scanning the front of their credit card).

Re postal code: If when you create the CardIOPaymentViewController you set the collectPostalCode property to YES, then the user will be prompted to enter their postal code.