Hi Joe, here's an FYI about a bug (or rather oversight) in ConfirmOrder.aspx.cs. If you enter the required info for checkout and press update, the Continue button becomes enabled. If you then delete some required data and press continue, it goes on to the final confirmation page without errors. To fix this I placed one last page validate inside the btnContinue_Click function:
private void btnContinue_Click(object sender, System.EventArgs e)
{
SaveCartDetail();
string checkoutUrl = SiteRoot + "/WebStore/Checkout.aspx?pageid="
+ pageId.ToInvariantString()
+ "&mid=" + moduleId.ToInvariantString();
Page.Validate();
if (Page.IsValid)
{
if (store.IsValidForCheckout(cart, out checkoutErrors))
{
WebUtils.SetupRedirect(this, checkoutUrl);
return;
}
else
{
ShowCheckoutErrors();
}
}
else
{
btnContinue.Enabled = false;
}
}
Jamie