Jump to content

How to print Last 4 digits of the card in email to customers


Recommended Posts

I am not sure if the default Prestashop Authorize.net module saves that information anywhere.

 

If it does not, you would need to store it in the DB or in a cookie, and then modify or create an override file for /classes/PaymentModule.php (this file is in charge of the confirmation email) and pass the 4 digits to the email template as a variable.

 

Then, edit the email template and add the new variable + text wherever you want it to show,

Link to comment
Share on other sites

×
×
  • Create New...