Closed hotoo closed 6 years ago
We already detects bank card in type.js
(we don't need database for visa
/mastercard
detection, they have different first number)
@hotoo according to www.bindb.com your card's type is MasterCard
Yes, it's UnionPay AND MasterCard.
In China, one bank card with two type is very usual.
@hotoo strange. Thanks for info. Do you have any information how it works?
As I know, it's China UnionPay cooperation with MasterCard or VISA organization.
In China, most of bank card must be type of UnionPay, but many people need MasterCard or VISA card. usually, this situation is happen to a Credit Card.
I will be read more infomation about this.
@hotoo as I know bank card could have only one card number. Union Pay cards start from 62
or 88
. Maybe this card numbers is only MasterCard, but Union Pay different number is encoded to chip?
It looks like we can't detect this case. And about Credit Card, Savings Deposit Card, Prepaid card
- I don't think it can be used in UI so there is no need to have it in bank data. Thanks for proposal.
I have a China Merchants Bank - Dual-Currency Credit Card, prefix is
5187 10
, the card type is UnionPay AND MasterCard.I find the code, types rule is write in type.js, and one card number just have one type.
So, I suggest the card type write in the card number prefix data, like:
banks/%country%/bankName.json
Credit Card, Savings Deposit Card, Prepaid card ...
How about to detect this?
Usually, One card is the one category of Credit Card(CC), Savings Deposit Card(DC), Prepaid Card(PC), Semi Credit Card(SCC)