VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: baroninn on October 10, 2012, 01:25:40 AM

Title: Last 4 digits not showing in confirmation email
Post by: baroninn on October 10, 2012, 01:25:40 AM
Hey guys , this one should be easy . But im not that good.

I just installed a plugin that connects virtuemart to the "payment company"

but the last 4 digits of the credit card are not showing in the confirmation email
They do show up in an iframe after payment confirmation (The code is below)

But we need to get the 4 digits to the confirmation email as well , otherwise the webstore is not legal in my country.
Any idea where I can edit the confirmation email and what to put there ???

This is the code that shows the last 4 digits in an iframe after payment confirmation :
/htdocs/plugins/vmpayment/paymentplugin/paymentplugin.php
            "<td>Type of card:</td>" .
            "<td>" . $_GET['cardbrand'] . "</td>" .
         "</tr>" .
         "<tr>" .
            "<td>Last 4 digits in card:</td>" .
            "<td>" . $_GET['card4'] . "</td>" .
         "</tr>" .         
         "<tr>" .

Please tell me how to get this code to work with the email

Best Regards
Baroninn
Title: Re: Last 4 digits not showing in confirmation email
Post by: bytelord on October 10, 2012, 01:41:19 AM
Hello,

I am thinking the bang does not report back the last 4 digits.
btw, the code you post does not say anything, you should contact your plugin vendor for that if retrieves the digits and does not post it to confirmation mail.

Regards