Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Credit Card number validation
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00173228
Message ID:
00173287
Views:
23
>Can anyone tell me the rules to validate a credit card number?
>
>I need to pre-validate a file of credit card debits before we upload it to avoid having to...
>
>- stop the upload
>- edit the text file to remove the invalid card number
>- re-start the upload
>
>I know that numbers begining with 4 are MC (or Visa) and numbers beginning with 5 are Visa ( or MC :) ). Is it true that all numbers must have 16 digits and are they always 4 groups of 4 numbers?
>
>Any help is appreciated...
>
>TIA

Larry,
Check the Classes - VCX sction of the file library. I uploaded a couple of classes that do what you need. Look for CredCard.Zip and CredCrd6.Zip (VFP 6)
Steve Ruhl
CitiMortgage, Inc.
steven.ruhl@citibank.com Office
Steve@steven-ruhl.com Home
Previous
Reply
Map
View

Click here to load this message in the networking platform