TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 01-07-2009, 10:26 AM   #1 (permalink)
The Wanderer
 
ahlofan's Avatar
 
Join Date: Oct 2008
Location: Vancouver -> Hong Kong
Posts: 17
Thanks: 3
ahlofan is on a distinguished road
Default store credit card info

Is it a bad idea to store credit card information in database? Or what about if i encrypt the information? And I kind of heard that storing credit card info is illegal? isn't it?
__________________
Aaron, the creator of Amhulio
Send a message via MSN to ahlofan
ahlofan is offline  
Reply With Quote
Old 01-07-2009, 11:57 AM   #2 (permalink)
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

Yes, that's illegal. PayPal amongst others will be the answer regarding this.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote
The Following User Says Thank You to Wildhoney For This Useful Post:
Scottymeuk (01-07-2009)
Old 01-07-2009, 09:56 PM   #3 (permalink)
The Acquainted
 
KingOfTheSouth's Avatar
 
Join Date: Oct 2008
Location: Cincinnati
Posts: 151
Thanks: 14
KingOfTheSouth is on a distinguished road
Default

Yes it is plus a very bad idea anyway. If the database were to be hacked then there would be all kinds of information for the hacker to use. If someone buys credits or subscription on my site all I get is a transaction ID from Paypal and date it was bought and all that...
KingOfTheSouth is offline  
Reply With Quote
Old 01-08-2009, 09:54 AM   #4 (permalink)
The Contributor
 
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
Dr John is on a distinguished road
Default

Legally, you'd have to start by applying to the Data Registar for permission to do this, you'd have to tell the user that you stored this data, then you'd have to make it VERY secure, then you become a hackers' target when your site's privacy policy states you do this, then you lose customers who are worried you'll lose their data, then you go out of business...

Other than just names, address, tel nos, membership details (for a club), and a few other simple things (employee details for example, or sales details), you need to speak to the Data Registrar to store personal info. And even the above may soon require you to be registered.

So credit cards - not a good idea
__________________
www.kidneydialysis.org.uk
Dr John is offline  
Reply With Quote
Old 06-11-2009, 10:18 PM   #5 (permalink)
The Wanderer
 
Join Date: May 2009
Location: Columbus, Ohio
Posts: 10
Thanks: 0
wjgilmore is on a distinguished road
Default

Ditto what the others said, doing so will make you ripe for a lawsuit unless you go through the very stringent requirements for storing cards. For instance, here's VISA's policy: www.visa.com/cisp/
__________________
==
Author, "Easy PHP Websites with the Zend Framework"
http://www.easyphpwebsites.com
wjgilmore is offline  
Reply With Quote
Old 06-12-2009, 08:43 AM   #6 (permalink)
The Acquainted
 
Hightower's Avatar
 
Join Date: May 2009
Location: Durham, UK
Posts: 134
Thanks: 9
Hightower is on a distinguished road
Default

So how do other companies do it? I have a hosting account for example, and I know for a fact my details are stored because when I have a bill to pay the details are already there, I just have to enter the security code on the back of the card.
__________________
Hightower's Softpolio
Send a message via MSN to Hightower
Hightower is offline  
Reply With Quote
Old 06-12-2009, 08:48 AM   #7 (permalink)
The Contributor
 
Runar's Avatar
 
Join Date: Nov 2008
Location: Norway
Posts: 58
Thanks: 20
Runar is on a distinguished road
Default

My company does the same, Hightower. They are using a secure connection when displaying my information, but I am not sure how they store my data.
Send a message via MSN to Runar
Runar is offline  
Reply With Quote
Old 06-12-2009, 12:57 PM   #8 (permalink)
The Wanderer
 
Join Date: May 2009
Location: Columbus, Ohio
Posts: 10
Thanks: 0
wjgilmore is on a distinguished road
Default

Hi,

They do it by complying with the stringent measures as determined by the FTC (in the US, anyway) and the PCI rules as defined by the credit card companies. If your only goal is to accept credit card payments, the easiest way is to keep the credit card info for only long enough to complete the payment (which should be near instantaneous when working with a payment gateway or PayPal). If the customers makes a subsequent purchase, simply require him to enter the credit card info anew. While doing so is a minor hassle, it's far less so than having to deal with a stolen credit card.

Hope this helps!
Jason
__________________
==
Author, "Easy PHP Websites with the Zend Framework"
http://www.easyphpwebsites.com
wjgilmore is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 03:15 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design