This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Security and the fly likes Implementation of Credit Card transaction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Implementation of Credit Card transaction" Watch "Implementation of Credit Card transaction" New topic
Author

Implementation of Credit Card transaction

Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
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?
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
You will need to get a merchant account with a bank, and sign up with a payment processing company. Googling for that will find many vendors. Each has its own API that you'll need to use. Paypal has its own API; check with them for details.

It's not against the law to store CC information.


Ping & DNS - my free Android networking tools app
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
...and sign up with a payment processing company

Is it possible to eliminate this step? Can we communicate directly with credit card company itself?
Rusty Shackleford
Ranch Hand

Joined: Jan 03, 2006
Posts: 490
If you are going to store credit card information you had better properly secure it and test and monitor it constantly. If that data get stolen...

You are much better off using a service that handles the CC processing or has a proven API. It is cheaper, easier, and generally more secure.

Don't roll your own.


"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Thanks Rusty and Ulf. Now my wheel has started rollling. I will surely come back with more questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementation of Credit Card transaction
 
Similar Threads
Credit Card authorization project(ASAP)
Billing Information Genarator
Paying for 310-252A
Credit card validation in a webapp
How to encode/decode large numbers