Thats an old problem with dashComerce nothing with ssl it happens when the user has once logged in and has added something to his cart then deleted all the stuff from the cart
I posted a patch on codeplex
But you will have to change this back to the old code (the patch uses SubSonic 2.1 beta)
public static int GetCartOrderID(string userName) {
int iOut = 0;
//get the current order for the user. if there isn't one, make one
Query q = new Query(Order.GetTableSchema());
q.AddWhere("userName", userName);
q.AddWhere("orderStatusID", (int)OrderStatus.NotProcessed);
+ q.OrderBy("orderID","DESC")
q.SelectList = "orderID";
object oResult = q.ExecuteScalar();
if (oResult != null) {
iOut = (int)oResult;
}
return iOut;
}
Find a bug?
Create a Work Item for a fast response.. Want to help?
Create a patch for us!