function after_process() { global $insert_id; parent::after_process(); tep_db_query("UPDATE pi_paymill_transaction SET preauth_id = '" . tep_db_prepare_input($_SESSION['paymill']['preauth_id']) . "' WHERE order_id = " . (int) $insert_id); unset($_SESSION['paymill']); }
function after_process() { parent::after_process(); unset($_SESSION['paymill']); }