Jump to content


Processing Credit Card Details...

  • Please log in to reply
2 replies to this topic

#1 somo

  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts

Posted 13 July 2006 - 12:09 PM

Hi All,

I am going to create a script that will process and store (in mysql) credit/debit card details; i would like to know people's opinions in which are the best ways to code to process and store these details since this data is sensative?

Cheers, Somo.

#2 meman1188

  • Members
  • PipPipPip
  • Advanced Member
  • 46 posts

Posted 13 July 2006 - 05:15 PM

Obviously use SSL for the processing on the client side.  As far as i know, theres really nothing else you can do on that side.  You could look at some basic javascript encryption but thats easily hackable.  As far as storing goes, make sure your database is protected and preferably firewalled so only your webserver can access it.  If you want to go further than that, there are some Crypto libraries that use reversible encryption (i think their extensions tho, not in base php).  Hope this helps, and someone please correct me if there are more client side steps one can take.

-- Brady

#3 akitchin

  • Staff Alumni
  • Advanced Member
  • 2,516 posts
  • LocationCalgary, AB, Canada

Posted 13 July 2006 - 05:22 PM

i would suggest never EVER storing credit card or debit card information in a database unless you physically own and look after the server, and it is heavily protected.  saving it anywhere on a shared server, VPS, or dedicated server that you aren't in control of directly is just asking for trouble.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users