benn600:
That's the way our internal system does it. As soon as the credit card is run, it is deleted as far as I know.
Please tell me what I need to do to get the credit card number saved in the orders table.I'm going to re-iterate what others have said as a response to your questions:
Sorry, no, we will not help you shoot yourself in the foot by storing complete credit card numbers in clear text on a database of a webserver connected to the internet.
It's foolish practice, and one could construe any assistance to help you do such a thing could be considered an accomplice in liability suits.
If you want to figure out doing coding changes on your own, feel free. Do not post any such code on this forum though.
If you don't feel comfortable doing that sort of coding yourself, you may certainly attempt to hire someone who might dare to take the risks you are requesting.
There are other ways of handling credit card details. Perhaps you should explore other ways of collecting payment, which are more secure and acceptable within the terms of merchant account agreements.
If your accounting software or accounting staff are inflexible on this issue, perhaps it's time to change something.
Do an internet search for PCI DSS standards, or telephone your merchant account bank/company and tell them what you're wanting to do, and ask their opinion. Chances are they'll shut you down in a hurry. http://www.pcicomplianceguide.org