O'Reilly logo

Special Edition Using® Microsoft® ASP.NET by Richard Leinecker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Credit Card Validator Service

One of the most common uses for Web Services is going to be to validate credit card numbers. I have created a simple Web Service that validates credit card numbers. This credit card validator service, though, doesn’t do real-time credit card approvals. It just looks at the credit card number and determines whether it is a valid credit card number. It also determines what type of credit card it is, such as Visa, Master Card, American Express, or Discover. I have actually used this very same credit card validator service, and just added a call to my merchant account provider to do my credit card processing in my Web applications. So this Web Service is almost good enough for you to drop directly into your own Web ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required