I have completed a registration module in which at the end I ask for credit card information and I don't know how should I implement it We ask credit card information like,
- Credit Card Type (We want to offer Master Card, Visa, Paypal)
- Credit Card Number
- Expiration Date (Month and Year)
(We don't ask for 3 digit security code).
I want to do something like,
1) Validate the credit card
2) If it's valid, deduct the money
How can I implement this? or What is the standard way of implementation?
Are APIs for
Java in market for this?
Is it against the law to store credit card information?