It is against VISA PA-DSS guidelines to retain CCV codes entered at checkout. The majority of merchant gateways don't need this information to process transactions manually. If your gateway does, you will have to work with them to address the issue, and may end up having to modify the source code.