![]() |
Card Type on Invoice
...instead of "Credit Card (payment gateway that the customer doesn't need to know here)"
I know I did this in 4.1.6, but for the life of me can't figure it out in 4.4.3. |
Re: Card Type on Invoice
Anyone?
|
Re: Card Type on Invoice
Ditto.
|
Re: Card Type on Invoice
I can handle this edit for you guys. Just PM me call or email, you can find my contact info here: http://forum.x-cart.com/showthread.php?t=61845
Minfinger I think the other thread you responded to: http://forum.x-cart.com/showthread.php?t=44590&page=2 is on the right track to accomplishing this. The code does indeed look like it would work in the current version. To get it to display on the invoice as FiberGuy suggested would take a little more work but definitely be possible. I think this mod is good enough to me to be included by default. It doesn't make sense to inform the customer what method they used, what type of card would be much more valuable info. -Mike |
Re: Card Type on Invoice
Search the forum - there is a thread in here which explains how to put CC type and partial number in order details. It is not illegal to do that as the # is cutted off. I think the solution was posted by Alan ( exsecror)
|
Re: Card Type on Invoice
Here's a solution from another thread looks like a 4.1.1x solution so not completely relevant: http://forum.x-cart.com/showpost.php?p=278926&postcount=22
Hope that helps, -Mike |
Re: Card Type on Invoice
I did it via the replace smarty function
Code:
{$order.payment_method|replace:"(Sage Pay Go - Form protocol)":""} within mail/html/order_invoice.tpl |
Re: Card Type on Invoice
Quote:
What does that show on your invoices? |
Re: Card Type on Invoice
Quote:
I've been looking I can't find it. Mike |
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"])) { 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? |
All times are GMT -8. The time now is 11:26 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.