I need to create a web service for school project, and I need to verify that the Credit details was entered are correct.
Can anyone help create this web service or provide some links with explanations ?
I need to verify the credit by it's number, cvv and exp date.
In Addition I'm working with MVC.
Thanks in Advance.
EDIT
Since I am not going to use real details, The only choice I have got is to check only the Credit Card number. What's the best algorithm for that ? and how I can determine the type of the card ?