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})/"}