Quote:
Originally Posted by ambal
Jeremy,
> In XP 1.0.5 and xcart 4.5.4, it does send the 4-digits back to the admin, but in
> an encrypted string that is only visible in the payment gateway log. like this:
We researched this issue and I fear a small customization is needed to have the last 4 digits displayed in an email template. This fell out of my sight for some reason otherwise I would have it implemented in our latest release.
Developers suggest using something like this in your email template:
Code:
{$order.details|text_decrypt|preg_macth:"/last 4 card numbers: ([0-9]{4})/"}
|
Alex,
This does not work. It appends /"} -- no numbers. Tried this with XP 1.0.5 and 1.0.6
Also corrected the code: text_decrypt|preg_
macth - to text_decrypt|preg_
match
Not having the last-4 digits on the invoice is not doing our customers any favors. There is obviously no security risk and no PCI compliance issues with the last-4 and card type.
ALso in 4.5.4 - $order.details is empty on order_invoice.tpl and /order.php?orderid=xxxxxx
Is there another way to get this encrypted data from XP?
Try again, please?
Thanks,
J