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

Question: Credit Card number length #131

Open
johnaziz57 opened this issue Mar 24, 2017 · 0 comments
Open

Question: Credit Card number length #131

johnaziz57 opened this issue Mar 24, 2017 · 0 comments

Comments

@johnaziz57
Copy link

General information

  • SDK/Library version : 5.5.1
  • Android Version and Device: All

Issue description

According to Wiki https://en.wikipedia.org/wiki/Payment_card_number, there are some cards that have multiple definition regarding the credit card length. while according to this method card.io-Android-source/card.io/src/main/java/io/card/payment/CardType.java#numberLength, this is not taken into consideration.

For example, Visa can be regarding number length 13, 16, 19, while in this code, visa is only defined by 16.

Do this needs to be changed ? Should it return the maximum , or most popular ?

@johnaziz57 johnaziz57 changed the title Credit Card number length Question: Credit Card number length Mar 24, 2017
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