Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Card Type on Invoice

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-30-2007, 09:52 PM
 
KaviSkin KaviSkin is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 40
 

Default 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
__________________
KAVI Skin Solutions, Inc.
http://www.kaviskin.com
X-Cart 4.4.3
Reply With Quote
  #2  
Old 01-03-2008, 07:30 AM
 
KaviSkin KaviSkin is offline
 

Advanced Member
  
Join Date: Jun 2003
Posts: 40
 

Default 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?
__________________
KAVI Skin Solutions, Inc.
http://www.kaviskin.com
X-Cart 4.4.3
Reply With Quote
  #3  
Old 03-05-2008, 10:23 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default 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
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:33 PM.

   

 
X-Cart forums © 2001-2020