--- uc_cart.module 2011-05-11 10:36:43.000000000 -0500
+++ uc_cart.module 2011-05-11 10:36:43.000000000 -0500
@@ -1288,11 +1288,11 @@
   // Empty that cart...
   uc_cart_empty(uc_cart_get_id());
 
-  // Clear our the session variables used to force the cart workflow.
-  unset($_SESSION['cart_order'], $_SESSION['do_complete'], $_SESSION['new_user']);
-
   module_invoke_all('uc_checkout_complete', $order, $account);
   ca_pull_trigger('uc_checkout_complete', $order, $account);
+  
+  // Clear our the session variables used to force the cart workflow.
+  unset($_SESSION['cart_order'], $_SESSION['do_complete'], $_SESSION['new_user']);
 
   return $themed_output;
 }
