-
Mar 11th, 2004, 03:56 AM
#1
Thread Starter
Member
validate credit card
Hi,
I would like to ask does anyone here know how to validate credit numbers?
reply: asap
Thank you
-
Mar 11th, 2004, 05:14 AM
#2
not done much on it myself but i remember it having something to do with running a mod 10 algorithm over it and ensuring the result is 0.
Actually searching for "mod 10 credit card validation" on google turns up a fair few results.
-
Mar 11th, 2004, 05:38 AM
#3
Thread Starter
Member
Did anyone here have sample validate credit card codes for me to reference? Thank You
-
Sep 19th, 2004, 06:54 PM
#4
Fanatic Member
Originally posted by Fishcake
not done much on it myself but i remember it having something to do with running a mod 10 algorithm over it and ensuring the result is 0.
Actually searching for "mod 10 credit card validation" on google turns up a fair few results.
ur avatar is most disturbing. seek professional help.
-
Sep 20th, 2004, 02:55 AM
#5
Try doing a search in the General VB questions section.
The code will be the same and this question is has been asked many times.
Woof
PS I think you both need ya heads sorted
-
Sep 20th, 2004, 03:59 AM
#6
Retired VBF Adm1nistrator
Use you can use the Luhn algorithm to validate the format of a credit card number, but you'll need a merchant account with your bank or a c/c machine to actually process the number.... either that, or go through a 3rd party like www.regnow.com
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Sep 20th, 2004, 07:36 AM
#7
Member
A luhn check example:
http://programmers-corner.com/viewSource.php/35
To protect you from fraud you can check the credit card user's IP and it's credit card number, so you'll see where the IP is from and where the credit card was issued.
Check this service out if you have fraud problems:
http://www.maxmind.com/app/ccv
-
Dec 8th, 2022, 10:38 AM
#8
New Member
Re: validate credit card
If doubling any of the numbers produces a sum greater than nine, subtract nine from the sum to get a single digit. Take the sum of all the digits, and if that sum is divisible by ten, then the card's number is valid.
How to Validate Credit Cards in 8 Simple Steps
Swipe the card. ...
Obtain transaction authorization approval. ...
Compare the account numbers. ...
Check the card's expiration date. ...
Check the Electronic Warning Bulletin or International Warning Notices. ...
Check the four-digit number in the signature panel of the card.
Thanks
-
Dec 8th, 2022, 11:02 AM
#9
Re: validate credit card
This thread was last posted to back in 2004, but that's still an interesting variation on 'casting out nines', which doesn't see the light of day much anymore.
My usual boring signature: Nothing
-
Dec 9th, 2022, 07:57 AM
#10
New Member
Re: validate credit card
If doubling any of the numbers produces a sum greater than nine, subtract nine from the sum to get a single digit. Take the sum of all the digits, and if that sum is divisible by ten, then the card's number is valid.
How to Validate Credit Card details checker in 8 Simple Steps
Swipe the card. ...
Obtain transaction authorization approval. ...
Compare the account numbers. ...
Check the card's expiration date. ...
Check the Electronic Warning Bulletin or International Warning Notices. ...
Check the four-digit number in the signature panel of the card.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|