|
The question is not about the legality of saving the CVV code ( I know it had already been discussed ). There is no legal problem in my country.
I need to save the CVV code in saved_cc mode, to be able to do the payment on a POS terminal.
I changed app\code\core\Mage\Payment\Model\Method\Cc.php
public function prepareSave() { $info = $this->getInfoInstance(); if ($this->_canSaveCc) { $info->setCcNumberEnc($info->encrypt($info->getCcNumber())); $info->setCcCidEnc($info->encrypt($info->getCcCid())); } $info->setCcNumber(null) ->setCcCid(null); return $this; }
but the CVV is not saved .
Could you please help about getting the CVV code saved.
And moreover, which object should I modified to have the CVV code deleted when the POS transaction is accomplished.
Many thanks for your help.
|