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 ...

Get Special Edition Using® Microsoft® ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.