void processor_OrderSuccess(object o, OrderSuccessEventArgs args) { if (args.OrderItem != null) { Response.Redirect("~/Catalog/Thanks.aspx?orderid=" + args.OrderItem.ID.ToString()); } else { Response.Redirect("~/Catalog/Thanks.aspx"); } }
public virtual void OnOrderSuccess(OrderSuccessEventArgs args) { if (OrderSuccess != null) OrderSuccess(this, args); }