Determine credit card type by number?

后端 未结 15 2019
旧巷少年郎
旧巷少年郎 2020-11-30 19:44

Can credit card type be determined solely from the credit card number?

Is this recommended or should we always ask client for the type of credit card they\'re using?

15条回答
  •  春和景丽
    2020-11-30 20:04

    I am pretty certain that at least for MasterCard, Visa, Discover, and American Express that that is accurate. I have never worked with any of the others.

    See the very bottom of this page: http://www.merchantplus.com/resources/pages/credit-card-logos-and-test-numbers/

    Also this might be useful to you" http://www.beachnet.com/~hstiles/cardtype.html

    This is pretty interesting to: http://en.wikipedia.org/wiki/Bank_card_number

提交回复
热议问题