View Single Post
  #10  
Old 12-23-2011, 06:00 AM
 
minfinger minfinger is offline
 

X-Adept
  
Join Date: Apr 2009
Posts: 678
 

Default Re: Card Type on Invoice

I ended up using the following code in the include/func/func.order.php before the "// Insert Into Orders

Code:
if (!empty($userinfo["card_type"])) { $oldnotes = $customer_notes; $customer_notes = "CDT: ".$userinfo["card_type"].". ".$oldnotes; }

I shows up in the Customer Notes as "CDT: MC/VISA/AMEX/DINO" or whatever your abbreviations are setup as in your CC Payment types.

While this is better than not having it at all. I'd really like to have it appear after Payment Method: Credt Card "(MC/VISA/AMEX/DINO)"

I tried using the same code to replace the $payment_method variable, while it did not appear in the email receipt or on the Invoice, it did put it in the order info in Order Management.

I have seen the other thread about placing the card type and the last four of the CC on the invoice, but I'm not keen on storing CC information at all.
http://forum.x-cart.com/showthread.php?p=278926

Anyone have any idea how to get the CC type in the Payment Method area?
__________________
X-Cart 4.3
Joomla
Among other things
Reply With Quote