void btnCreateOrder_Click(object sender, EventArgs e)
        {
            if (cart.UserGuid == Guid.Empty)
            {
                SiteUser newUser = SiteUtils.CreateMinimalUser(siteSettings, cart.OrderInfo.CustomerEmail, true, WebStoreResources.UserCreatedForOrder);
                cart.UserGuid = newUser.UserGuid;
            }

            cart.LastUserActivity          = DateTime.UtcNow;
            cart.OrderInfo.CompletedFromIP = SiteUtils.GetIP4Address();
            cart.OrderInfo.Completed       = DateTime.UtcNow;
            StoreHelper.EnsureUserForOrder(cart);
            cart.Save();

            Order order = Order.CreateOrder(
                store,
                cart,
                string.Empty,
                txtTransactionId.Text,
                txtAuthCode.Text,
                siteSettings.GetCurrency().Code,
                "OrderEntry",
                OrderStatus.OrderStatusFulfillableGuid);


            StoreHelper.ClearClerkCartCookie(cart.StoreGuid);

            // send confirmation email
            try
            {
                if (chkOrderEntrySendConfirmationEamil.Checked)
                {
                    StoreHelper.ConfirmOrder(store, order);
                }
                Module m = new Module(store.ModuleId);
                Order.EnsureSalesReportData(m.ModuleGuid, pageId, moduleId);
            }
            catch (Exception ex)
            {
                log.Error("error sending confirmation email", ex);
            }

            // redirect to order details
            string redirectUrl = SiteRoot +
                                 "/WebStore/AdminOrderDetail.aspx?pageid="
                                 + pageId.ToInvariantString()
                                 + "&mid=" + moduleId.ToInvariantString()
                                 + "&order=" + order.OrderGuid.ToString();

            WebUtils.SetupRedirect(this, redirectUrl);
        }