/// <summary> /// Chekcou click event for order processing /// </summary> /// <param name="sender"></param> /// <param name="e"></param> protected void lnkCheckout_Click(object sender, EventArgs e) { try { if (AuthenticationHelper.IsAuthenticated()) { int CampaignID = QueryHelper.GetInteger("campid", 0); if (CampaignID > 0 && !_failedOrders.GetCampaignOrderStatus(CampaignID)) { ShoppingCartHelper.ProcessOrders(CampaignID); Response.Redirect(Request.RawUrl); } else { lnkCheckout.Visible = false; } } } catch (Exception ex) { EventLogProvider.LogInformation("Kadena_CMSWebParts_Kadena_Cart_FailedOrdersCheckout", "lnkCheckout_Click", ex.Message); } }