This repository was archived by the owner on Jan 12, 2019. It is now read-only.
This repository was archived by the owner on Jan 12, 2019. It is now read-only.
Support for more than 16 digits in card number #225
Open
Description
General information
- SDK/Library version: 5.4.2
- Android Version and Device: Android 7.1.2, Xiaomi Redmi 3
Issue description
May be fixed in newest version, but version 5.4.2 does not properly support bank cards with more than 16 digits in card number.
Case A
- Start
CardIOActivity
to scan card with following code:
Intent scanIntent = new Intent(activity, CardIOActivity.class);
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_EXPIRY, true);
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CVV, true);
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_POSTAL_CODE, false);
startActivityForResult(scanIntent, SCAN_REQUEST_CODE);
- Try to scan a bank card with 18 digits.
Expected result:
- The card was scanned successfully and result was returned.
Actual result:
- A green rectangle is shown around the card, but nothing happens.
Case B
- Start
CardIOActivity
to scan card with the same code. - Press keyboard button at the bottom right corner.
- In EditText labeled "Card Number" try to enter one of these card numbers that is longer than 16 digits: https://www.paypalobjects.com/en_AU/vhelp/paypalmanager_help/credit_card_numbers.htm.
Expected result:
- Able to enter all the digits.
Actual result:
- When 16 digits are entered, input is being disabled and does not accept more digits.
Metadata
Metadata
Assignees
Labels
No labels