notify('NOTIFY_HEADER_START_CHECKOUT_PROCESS'); require(DIR_WS_MODULES . zen_get_module_directory('checkout_process.php')); // load the after_process function from the payment modules $payment_modules->after_process(); $_SESSION['cart']->reset(true); // unregister session variables used during checkout unset($_SESSION['sendto']); unset($_SESSION['billto']); unset($_SESSION['shipping']); unset($_SESSION['payment']); unset($_SESSION['comments']); $order_total_modules->clear_posts();//ICW ADDED FOR CREDIT CLASS SYSTEM // This should be before the zen_redirect: $zco_notifier->notify('NOTIFY_HEADER_END_CHECKOUT_PROCESS'); zen_redirect(zen_href_link(FILENAME_CHECKOUT_SUCCESS, (isset($_GET['action']) && $_GET['action'] == 'confirm' ? 'action=confirm' : ''), 'SSL')); require(DIR_WS_INCLUDES . 'application_bottom.php');