X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Card Type on Invoice (https://forum.x-cart.com/showthread.php?t=36434)

KaviSkin 12-30-2007 09:52 PM

Card Type on Invoice
 
We recently upgraded from 4.0.14 to 4.1.9 and have an issue we can't resolve.

We had modified our 4.0.14 code such that invoices would show the payment type and if credit card, the card type. For example:

Payment Method:
Credit Card (VISA)

We did this by changing the following line in payment_cc.php,

$orderids = func_place_order(stripslashes($payment_method)." (".$module_params["module_name"].(get_cc_in_testmode($module_params)?", in test mode":"").")", "I", $order_details );

to this,

$orderids = func_place_order(stripslashes($payment_method)." ("."$card_type".(get_cc_in_testmode($module_params )?", in test mode":"").")", "I", $order_details );

We made the same change in 4.1.9 and while the credit card type is being shown on invoices, it isn't being shown on email notifications. On email notifications, we only see "Credit Card".

What is odd is the tpl files for "order processed" and "order invoice" both call {$order.payment_method}.

Very confused, and any help would be greatly appreciated.

Best,
Robert

KaviSkin 01-03-2008 07:30 AM

Re: Card Type on Invoice
 
Never heard back from anyone.. Has no one else been interested in such a mod for 4.1.8/9?

MBA 03-05-2008 10:23 AM

Re: Card Type on Invoice
 
Quote:

Originally Posted by KaviSkin
Never heard back from anyone.. Has no one else been interested in such a mod for 4.1.8/9?


Maybe here: http://forum.x-cart.com/showthread.php?t=26967&highlight=credit+card+on+in voice


All times are GMT -8. The time now is 05:17 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.