vickawicked Posted April 16, 2004 Posted April 16, 2004 If the order is declined by the gateway it still stays in the database. Seems like the variable $insert_id is not passed any value: if ($x_response_code != '1') { tep_db_query("delete from " . TABLE_ORDERS . " where orders_id = '" . (int)$insert_id . "'"); //Remove order Any ideas how this can be fixed? file authorizenet.php
Recommended Posts
Archived
This topic is now archived and is closed to further replies.