Skip to content

Instantly share code, notes, and snippets.

@giteshk
Created May 8, 2014 15:18
Show Gist options
  • Save giteshk/2b8c573d3641e1d000d8 to your computer and use it in GitHub Desktop.
Save giteshk/2b8c573d3641e1d000d8 to your computer and use it in GitHub Desktop.
public TypeCardType CardTypeLookup(string strPAN)
{
string strCardType = "";
/*
* NOTE : "NotSet" TypeCardType is not a valid card type to transmit in the BankcardTransaction Object. If returned the
* validation checks did not find a match. The software should log a message that it was unable to
* match as the CardTypeLookup may need additional validation logic added to it. Never log the PAN as this would
* be a PCI violation.
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment