-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Card Sub-Brands #95
Card Sub-Brands #95
Conversation
…y understanding of option 1 in the Payment Method Identifiers spec
Can you provide links to definitions of these card types? |
@rsolomakhin is that question dependant on the merging of this PR? Do you have specific schemes you are interested in, however be aware that I the Mastercard Scheme definition is a 246 page document. http://www.mastercard.com/us/merchant/pdf/TPR-Entire_Manual_public.pdf. In short, I'm not aware of a nice document that states what fields are required for each scheme. The rules can get quite complex as you may have seen from my Maestro and UnionCard investigations in PR #9. I'm about to start to model the UnionPay PMI when it has authentication, this will fall outside of the BasicCardResponse. |
You can merge this PR without the links. I'm not an editor, so I don't have write access to this repository. I cannot merge this pull request for you.
That's not necessary. Chrome has logic to distinguish between visa and mastercard, but it does not have logic to distinguish between visa/electron and visa/debit, for example. If you have a link to a document that describes this difference, my job as an implementer would be easier :-) |
Merged as 4c4328c |
@rsolomakhin the logic to distinguish between sub-brands are in the IIN numbers (1st 6 digits of the PAN), just as they are for brands. However it does get quite complex at that level and I believe changes more frequently, you may need to consider using a lookup service from a payment provider. |
(After discussion with Matt Saxon,) I wanted to summarize a few points:
Ian |
No description provided.