问题描述
我目前正在使用从。
它很好用,但是到期日期和Cvv编号必须手动输入。我进行了搜索,发现
It works great, but the expiry date and the cvv number has to be entered manually. I searched for that and finds that
但是,返回值显示给我
Received card info. Number: ••••••••••••xxxx, expiry: 09/2015, cvv: 123.
是否可以获得信用卡的完整数量,而不是获得点?
Is it possible to get the full number of the credit-card than getting dots?
是否可以下载此SDK的较旧版本以使其失效日期扫描?
Is it possible to download the older version of this SDK for expiration date scanning?
任何建议将不胜感激。
推荐答案
来自card.io的Josh在这里。您可能正在查看的示例代码为:
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];
}
请注意NSLog调用上方的注释。正在记录的是 info.redactedCardNumber
。您需要 info.cardNumber
。有关更多详细信息,请参见头文件,该文件已被很好地记录。
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.
较早版本的SDK已公开弃用了将近一年,并将被关闭。在2013年8月1日。
The older version of the SDK is has been publicly deprecated for nearly a year and will be shut down on August 1st, 2013.
这篇关于Card.io SDK提供了部分信用卡号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!