PDA

View Full Version : Credit Card Number Encryption



michael_s
10-16-2007, 12:23 AM
This is a small update to the excellent addon Credit Card Number Encryption. It all worked correctly out of the box, except for the admin/encrypt_ccnum.php file for mass credit card encryption post-install but pre-next order (which would be the 1st to be encrypted). This file was the key to encrypting credit numbers from all past orders. After playing with the code a bit, I got it to work and reformatted the output page as well. To trouble shoot, remove the "//" before the "print" lines (then you will be able to see the output of all the variables). If you do this, please remember to comment out those lines when you are done.

Full Package

In addition to this, I would highly recommend another complementary addon that is excellent - replacing all but the last 4 digits of credit numbers with "xxxxxxxxxx" and deletes cvv info from the database - and it is made to work with this encryption addon - it's almost as if they were made for one another: http://addons.oscommerce.com/info/5364

More... (http://addons.oscommerce.com/info/4359)