test of credit card

how i can test that number of credit card that i've received belongs to this man?
[89 byte] By [lkofmana] at [2007-11-27 2:45:05]
# 1

by being the card issuer that issued the card to him. data protection prohibits anything else, for legal reasons. and how would you be sure he's who he says he is, anyway?

you can also carry out reasonable authorization checks, depending on what country you are in, such as the CV2 number, and the address details. but to do all this, you need a merchant account with a bank, an EFT engine and a lot of money. the guy sat at home can't really do it. use an online payments service such as worldpay, they'll take care of that sort of thing for you

georgemca at 2007-7-12 3:12:19 > top of Java-index,Java Essentials,Java Programming...
# 2
Even though you can't do a full test, you can do a 'luhn' test - http://en.wikipedia.org/wiki/Luhn_algorithm . This will tell you if it is worth taking any further.
sabre150a at 2007-7-12 3:12:19 > top of Java-index,Java Essentials,Java Programming...
# 3

> Even though you can't do a full test, you can do a

> 'luhn' test -

> http://en.wikipedia.org/wiki/Luhn_algorithm . This

> will tell you if it is worth taking any further.

and if you need an easy test number to test your luhn routine, '4' follwed by 14 zeros followed by a '2' is an easy visa card to remember. there's bound to be loads of luhn-checking libraries around, have a search before writing it yourself

georgemca at 2007-7-12 3:12:19 > top of Java-index,Java Essentials,Java Programming...
# 4
Thank for your help ,but i mean -i'm writing code for bid site-I must to test if man that registred in site is really owner of credit card
lkofmana at 2007-7-12 3:12:19 > top of Java-index,Java Essentials,Java Programming...
# 5
If you are accepting credit cards then you will have an arrangement with a financial institution (a bank, perhaps) that will give you money and collect it from the cardholder. They will have rules they want you to follow. Follow those rules.
DrClapa at 2007-7-12 3:12:19 > top of Java-index,Java Essentials,Java Programming...