Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Credit Card number validation
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00173228
Message ID:
00173287
Vues:
24
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform