Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello All

I want to save and display the credit card details of the user.What would be the best way as it includes high security risk.Suggestions please.

I also want to show only last 4 digits of the credit card number how should i do this.I also want to know about SSl
Posted
Comments
ZurdoDev 28-Jun-12 9:45am    
This is a lot of questions. Your site should run on SSL so that all traffic is encrypted. Then encrypt the credit card number in the database. When retrieving, only get the last 4 digits to display.
R. Giskard Reventlov 28-Jun-12 10:47am    
You should offer this as the solution.
Hamidakhanam 29-Jun-12 10:30am    
I don't know anything about SSL I have never used it before can you help me...

1 solution

Hamidakhanam,

If you want to save credit card information, you'll have to follow the standards the industry sets forward, or no vendor (payment processor) will do business with you. That is called Payment Card Industry (PCI) The Wikipedia[^] has a great starter article on it, but I recommend going straight to a source like the official PCI standards website[^]. They will tell you what you can and can't do in terms of storage of credit card numbers.

The other alternative is to work directly with a third party credit card processor and following their rules/suggestions. They will be the person you will have to please as they won't do business with you if you are not compliant.

Hope this helps!

Hogan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900