-
Notifications
You must be signed in to change notification settings - Fork 554
Setting collectExpiry to NO not respected when scanExpiry set to YES #96
Comments
@wattson12 here's the current logic in card.io:
When in the Sample App I set the Getting back to your original question, if what you want to accomplish is to have card.io scan the card and then report back to you its card number and expiry results (which have not yet been confirmed by the user), without ever presenting the Manual Entry screen, then there's a straightforward solution: use a |
OK it looks like my case is an edge case which falls outside the current logic:
I will look into using the CardIOView directly though, thanks for the advice and quick response |
@wattson12 let us know if you run into any problems with the CardIOView. |
Hello, Scan Expiry is possible using only CardIOView ? Thanks |
@marcoslacerda you can set |
Yes, @dgoldman-ebay But, always return 00/00 Other question, cardHolderName works only using CardIOPaymentViewController? Thanks |
@marcoslacerda Unfortunately, CardIO succeeds at expiry scans far less often than it succeeds at card-number scans. But this is the same for either Re |
Debtor for its attention @dgoldman-ebay |
The functionality I would like to have is the scanner should attempt to scan expiry date, but if it fails the fallback should not be card.io collection (since we have our own form for this with extra validation)
Steps to reproduce:
Using the sample app, add the following lines after initialising the scanViewController:
Then scan a card while covering the expiry date and leaving the number visible.
Expected results:
The user should not be prompted to enter an expiry, instead the user should be able to immediately select Done with no prompt to enter an expiry date.
Actual results:
The correct card number is shown, with expiry field shown (as first responder). Done button is disabled until an expiry date is entered
The text was updated successfully, but these errors were encountered: