Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

Support for more than 16 digits in card number #225

Open
niemandkun opened this issue Apr 4, 2018 · 0 comments
Open

Support for more than 16 digits in card number #225

niemandkun opened this issue Apr 4, 2018 · 0 comments

Comments

@niemandkun
Copy link

niemandkun commented Apr 4, 2018

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

  1. 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);
  1. 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

  1. Start CardIOActivity to scan card with the same code.
  2. Press keyboard button at the bottom right corner.
  3. 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.
@niemandkun niemandkun changed the title Support for 16+ digits in card number Support for more than 16 digits in card number May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant