I need to customize Zen Cart to send each order along with encrypted credit card information to a file so my clients current inventory control and order processing application process the order and the credit card.

On the Zen Cart side the idea is to allow the order to continue if a valid credit card number is used at check out. Then write the order details and cc info to a file for offline processing.

Any ideas where to start to mod Zen Cart to send each order and cc info to a file?

Thanks in advance!

D