Example #1
0
 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");
     }
 }
Example #2
0
 public virtual void OnOrderSuccess(OrderSuccessEventArgs args)
 {
     if (OrderSuccess != null)
         OrderSuccess(this, args);
 }