Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Display cc_type in invoice.php


Guest

Recommended Posts

Posted

I've been trying to figure out how to get the cc_type to display in invoice.php to no avail. Other items which are available show up there from order.php in admin/includes/classes but none of the cc functions. For instance:

$this->info = array('currency' => $order['currency'],
					  'currency_value' => $order['currency_value'],
					  'payment_method' => $order['payment_method'],
					  'cc_type' => $order['cc_type'],
					  'cc_owner' => $order['cc_owner'],
					  'cc_number' => $order['cc_number'],
					  'cc_expires' => $order['cc_expires'],
					  'date_purchased' => $order['date_purchased'],
					  'orders_status' => $order['orders_status'],
					  'last_modified' => $order['last_modified']);

 

...anything listed starting with "cc_" do not work, the others do. Can someone please tell me if there is another way to display the cc_type in the invoice. I desperately need to show this info. Thanks.

Posted

Oops, never mind... we switched our CC processor to Authorize.net some time ago and our DB no longer stores this information... and THAT is why it will not display those values! :-"

 

I've been trying to figure out how to get the cc_type to display in invoice.php to no avail. Other items which are available show up there from order.php in admin/includes/classes but none of the cc functions. For instance:

$this->info = array('currency' => $order['currency'],
					  'currency_value' => $order['currency_value'],
					  'payment_method' => $order['payment_method'],
					  'cc_type' => $order['cc_type'],
					  'cc_owner' => $order['cc_owner'],
					  'cc_number' => $order['cc_number'],
					  'cc_expires' => $order['cc_expires'],
					  'date_purchased' => $order['date_purchased'],
					  'orders_status' => $order['orders_status'],
					  'last_modified' => $order['last_modified']);

 

...anything listed starting with "cc_" do not work, the others do. Can someone please tell me if there is another way to display the cc_type in the invoice. I desperately need to show this info. Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...