Let me begin my saying that I strongly recommend you DO NOT store credit card information; it’s a security headache and potentially dangerous. However, there are many businesses cases that require the storing of credit card information, and with the right precautions you can safely store the information for record-keeping.
Step 1: MAKE SURE YOUR SECURITY CERTIFICATE IS INSTALLED PROPERLY. I can’t emphasize this enough, you absolutely need to secure your web site.
Step 2: (Zen Cart 1.3.8a and prior installations) Install the security patch! Your store is vulnerable to hackers if you have not installed the security patch the Zen Cart issued in early 2009.
Step 3: Create a new table to store the credit card information.
Step 4: Modify your includes/modules/payment/authorizenet.php script.
Step 5: TEST, TEST, TEST! You don’t want to take down your store’s ordering functionality, make sure everything works and the credit card information is being saved.
Happy coding! Let me know if you need any assistance, I will do my best to answer your questions. If you’d like a quote for your Zen Cart project that will be saving credit card information, please email me at alex(at)branninggroup.com