
Originally Posted by
rlexyd
Hi JT,
Thank you once again, still can't believe CVV is long gone :) :)
As for the first and last four CC digits being emailed, I thought of what you said, but the only problem the customer is still being emailed those details!
I know it's ok, but I really rather not have any CC details via email other the middle 8 digits!
DrByte said the details are in the 1.3.9av, /includes/classes/order.php but can't figure what to take out!!
If you ever happen to find a way, please let me know :)
Best Regards,
OK, remove this line at or near 990 in /includes/classes/order.php:
Code:
$cc_num_display = (isset($this->info['cc_number']) && $this->info['cc_number'] != '') ? /*substr($this->info['cc_number'], 0, 4) . */ str_repeat('X', (strlen($this->info['cc_number']) - 8)) . substr($this->info['cc_number'], -4) . "\n\n" : '';
With this line removed, the customers email will only show
Payment Method
Credit/Debit Card
Visa
REMEMBER, Always BACKUP before you change any file!
Bookmarks