
Originally Posted by
philip56
Many thanks for that JTheed. My copy of order.php (from the original Super Order 2 if I remember correctly) does not have that
Code:
// BEGIN Super Orders edit
// add CC data as a line item to SO payment system
if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number'])) {
require(DIR_WS_CLASSES . 'super_order.php');
$so = new super_order($insert_id);
$so->cc_line_item();
}
// END Super Orders edit
section in it. As far as I can see, that first made it's appearance in DivaVocals version.
Could anyone confirm that for me?
Diva, I believe it was because it is NOT in Rev 47. This is the closest thing to it.
Code:
// recreate credit card information stored in orders table as a line item in SO payment system
function cc_line_item() {
global $db;
$cc_data = $db->Execute("select cc_type, cc_owner, cc_number, cc_expires, cc_cvv, date_purchased, order_total
from " . TABLE_ORDERS . " where orders_id = '" . $this->oID . "' limit 1");
Philip, why not consider upgrading when Diva Vocals puts out her next release. Hopefully soon!
Bookmarks