How does Ubercart handle credit card info?

Posts: 61
Joined: 03/19/2008

A potential client asked the following today: "What type of security will customers have when they enter in their credit cards numbers, paypal account info, etc."

Does Ubercart actually store the credit card number somewhere? If so, how does it handle the security aspect? Does it vary based on the payment processor used - that is ones that redirect and ones that don't (real-time gateways) etc?

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Please refer to the documentation here for an overview. If you have any further specific questions, I can try to answer. You might also just search for "PCI DSS" on the forums, though that might turn up a lot of development discussion, too. Sticking out tongue

Posts: 61
Joined: 03/19/2008

Thank you for the link:-)

Would this be a good summary of credit card data info handling in Ubercart to tell a non-technical person?

1.) Credit card numbers are stored in an encrypted form in the database
2.) They are encrypted by using an encryption key which is stored in a folder outside public_html
3.) Normally, orders do not store any credit card data except the last 4 numbers.
4.) For completed orders, they are typically stored for 3 days and then deleted
5.) Credit card number are masked by default, but users with the necessary permissions can view all the numbers.

On another note, since cc numbers are not stored, I presume Ubercart doesn't handle recurring payments?

Posts: 5269
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Close... it looks like you're combining various properties of the debug mode with normal mode. In normal mode, 1 won't apply except for the split second it's in the customer's session between the checkout form and the review page load. For transmission and storage in form, it's always encrypted as in 2. 4 only applies for debug mode, since as you mention in 3 normal orders don't store data beyond the last 4 digits. 5 is correct.

I know it can be confusing, so thanks for taking the time to read and summarize things. Smiling

As for recurring fees, the module in Ubercart lets you attach these to products. It relies on a handler to setup the recurring fees with your payment gateway, but it also provides a default handler that will store encrypted CC data for processing the fees. This default handler is pretty limited, though, and not recommended for serious large scale use.

Posts: 61
Joined: 03/19/2008

Thank you:-)

I still have some questions, but I think this is good enough for the client for now.