home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,753 of 10,840   
   J French to All   
   Re: Determining Credit Card vs. Debit or   
   18 Nov 05 14:40:58   
   
   From: erewhon@nowhere.uk   
      
   On Fri, 18 Nov 2005 06:13:29 -0500, "Bill D'Innocenzo"   
   NO_SPAM<*>dinnocenzo.com> wrote:   
      
   >There are many functions available that implement credit card identification   
   >and number validation -- meaning you can decide, based on the number, if a   
   >card is a MasterCard or Visa and if the number passes the Luhn Formula or   
   >MOD 10 algorithm for the checksum.  What I'm looking for however is the   
   >scheme to determine is a card is a check or debit card versus a credit card.   
   >   
   >Anyone know if this can be done by examining the account number pattern?   
      
   I have been doing that since 1990   
   - but have delegated the responsibility to the clients   
      
   DINERSLOCAL:3###-###006-####=####   
   DINERS:3##-####-####-###=####   
   VISA:4580-####-####-####=####   
   VISA:4###-###-###-###=####   
   VISA:4###-####-####-####=####   
   VISA:3###-####-####-####=####   
   EURO/MASTER:51##-####-####-####=####   
   EURO/MASTER:52##-####-####-####=####   
   EURO/MASTER:5326-1###-####-####=####   
   EURO/MASTER:53##-####-####-####=####   
   EURO/MASTER:54##-####-####-####=####   
   EURO/MASTER:55##-####-####-####=####   
   ISRACARD:2-0###-####=####   
   ISRACARD:#-####-####=####   
   AMEX:37#-####-####-####=####   
   AMEX:34#-####-####-####=####   
      
   There are rules, there is even some sort of primary validation system,   
   but there is a lot to be said for a visual reprensation   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca