jpool Posted September 8, 2005 Share Posted September 8, 2005 hi there: I really need help, I m posting this here because anyone doing any kind of programming in any of the payment modules have to deal with this when a new order is placed i have no record of it in admin or customer panel, i checked the db and orders and orders_descriptions are properly populated but no record on order_totals , i checked in checkout_process.php for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $sql_data_array = array('orders_id' => $insert_id, 'title' => $order_totals[$i]['title'], 'text' => $order_totals[$i]['text'], 'value' => $order_totals[$i]['value'], 'class' => $order_totals[$i]['code'], 'sort_order' => $order_totals[$i]['sort_order']); tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array); die(" i did this tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array)"); } and nothing then i tryed die(" line 97".sizeof($order_totals)); for ($i=0, $n=sizeof($order_totals); $i<$n; $i++) { $sql_data_array = array('orders_id' => $insert_id, 'title' => $order_totals[$i]['title'], 'text' => $order_totals[$i]['text'], 'value' => $order_totals[$i]['value'], 'class' => $order_totals[$i]['code'], 'sort_order' => $order_totals[$i]['sort_order']); tep_db_perform(TABLE_ORDERS_TOTAL, $sql_data_array); } the result was line 97 0 this mean $order_totals is empty I really need help on this, as i need to go live please contact me as soon as posible with any suggestions, Thanks in advance j. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.