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.
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
CardIOPaymentViewControlleryou set thecollectPostalCodeproperty toYES, then the user will be prompted to enter their postal code.