Skip to content
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
@niemandkun

Description

@niemandkun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions