--- Denis Avdic <[EMAIL PROTECTED]> wrote:
> Hello,
> 
> I am trying to validate credcard numbers entered by my customers.
> Most of them can be validated easily using Lunh method,
> but I am running into a problem when the customer tries to use a
> business credcard (or so the boss tells me).  Should business credcards 
> number be verifiable by Luhn method (used in the validator), or do
> I have to write something special, and if so, what is it?

I believe *all* credit card numbers can be validated using the Luhn
method.  The validator also checks that the card is one of several vendors
which may be your problem.  The supported card types are AMEX, VISA,
Discover, and Master Card.

David

> 
> I figured that a lot of struts people have dealt with this, and I am
> interested in what you all know,
> 
> Thank you,
> 
> Denis
> 
> PS.  I am writing CredCard because struts-user spam filter keeps 
> rejecting any email that has the full name in it.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to