Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Downloads
Search: 

Credit Card Number Validation (VFP 6)
Steven Ruhl, CitiMortgage, Inc.
This is a VFP 6 version of my Credit Card Number Validation class. It uses the _assign method to make the class almost entirely property driven simplifying the interface. I have added an enhancement that allows you to decide what credit cards you want to accept. A sample form is included to allow you to easily test the class.
Created on
25 years ago
Downloads
1788
File type
Rating
5.00/5.00
General information
Rating:
5.00/5.00 (2 rates) Rate this item
Description
WHAT'S NEW No functional changes have been made. This version corrects a problem with an include file reference. No include files are used in the class, but someone had a compile error where it wanted an include file from my application framework. That reference should be eliminated now. WHAT IT DOES: -Determines card type based on prefix. -Checks if number is of the correct length for that card type. -Verifies the check digit is correct. -Checks if card is in list of accepted card types. WHAT IT DOESN'T DO: -Obtain credit authorization from a clearing house. -Guarantee the credit card account exists, only that it is in the correct format and could exist. The following cards are supported and a provision has been made to add new card types for validation: VI - Visa MC - MasterCard DI - Discover AX - American Express / Optima DC - Diners Club / Carte Blanche EN - enRoute JCB - Japanese Credit Bureau ABC - Australian Bank Card
Created by
Steven Ruhl, CitiMortgage, Inc.

Comments
Is it possible to determine is it Visa or Visa Electron from the card number? Giedrius Kaleckas, February 28, 2006

Add a comment
More downloads created from this member
Steven Ruhl, CitiMortgage, Inc.
Print screens and forms directly from VFP using custom classes and DibApi32.dll.
Created on
25 years ago
Downloads
4103
File type
Rating
5.00/5.00
Steven Ruhl, CitiMortgage, Inc.
Validates a credit card number for a correct check digit and length. Determines the type of card based on the number. Does not obtain credit authorization from a clearing house. Use it to validate the number before calling for authoriztion. Supports Visa, MasterCard, Discover, American Expre...
Created on
25 years ago
Downloads
1312
File type