I've going through a debug session with Steph and I can confirm what's happening is the order object being passed to uc_file_order has a uid == 0. This is what's causing the problem. Unfortunately, since I'm not that familiar with the uc_cart checkout code and how workflow-NG updates when order balance == $0, I can't say for sure what is going wrong here. To do illuminate further, I placed in uc_file_order a dump for the $op value and the $order object value. This is what was printed out upon submitting an order as an anon user (payment was completed with a dummy 4111... CC):
Interestingly enough, $op == "submit" is being fired after $op == "update". That runs counter to what I'd think sequence should be. Hopefully, Ryan & Lyle can shed some light on this subject.



Joined: 08/07/2007