I need to pass parameters when I press "Checkout" button (located on Modules/OrderSumarry.aspx) I redirected to another page with the following parameters:
You can get the Shoppingcart Total and Subtotal, but not the Order ID, because at this point the order is not created yet. If you want the totals, use the ShoppingCartManager to fetch the values.
If you want to pass the customer ID, remember that the customer does not have to be logged in at this point.
I managed to get userID, userEmail, OrderID and Total
// GET USER ID object usreid = NopContext.Current.User.CustomerID;
// GET USER E-Mail string useremail = NopContext.Current.User.Email;
// GET ORDER NUMBER OrderCollection orderCollection = NopContext.Current.User.Orders; Order lastOrder = orderCollection[0]; string ThisorderID = lastOrder.OrderID.ToString();