Josh from card.io here. The sample code you're probably looking at reads:
- (void)userDidProvideCreditCardInfo:(CardIOCreditCardInfo *)info inPaymentViewController:(CardIOPaymentViewController *)scanViewController {
// The full card number is available as info.cardNumber, but don't log that!
NSLog(@"Received card info. Number: %@, expiry: %02i/%i, cvv: %@.", info.redactedCardNumber, info.expiryMonth, info.expiryYear, info.cvv);
// Use the card info...
[scanViewController dismissModalViewControllerAnimated:YES];
}
Note the comment above the NSLog call. What is being logged is info.redactedCardNumber
. You want info.cardNumber
instead. See the header files, which are pretty well documented, for more details.
The older version of the SDK is has been publicly deprecated for nearly a year and will be shut down on August 1st, 2013.