What Workflow-ng rule to setup to update order status?

Posts: 67
Joined: 05/05/2008
Bug Finder

Hi All,

After spending all day yesterday on this: http://www.ubercart.org/forum/support/5545/errors_when_ubercart_creates_... , I have decided to start today by disabling all Workflow-ng rules and re-enabling/configuring them one at a time - had considerable success with this. I got everything working the way it should be, except one thing: when an auto-renewing subscription reaches the 'notification' time, a new order gets put through the system to renew the subscription, but the order is stuck in 'processing,' and as such never actually "goes through," and the subscription expires without renewing.

I remember having this problem before and I had fixed it by creating a new Workflow-ng rule that updated the order status to "completed." I can't seem to figure out the proper event to assign this rule to.

I've got a rule that changes the order status to "completed" when "Customer completes checkout," which works fine for the first purchase, but since subscription renewals do not require the whole checkout process, this rule gets ignored for renewals.

Basically, what's the best event to assign this rule to? The "proper" way?

Thanks!

Posts: 67
Joined: 05/05/2008
Bug Finder

OK, got it "half" working with this rule:

Set order status to 'completed,' invoked on event: Order status gets updated.

But, as soon as I add a condition that the order balance must be <= 0, the rule doesn't go through and the order remains stuck in "Processing"...

//edit

Changed the condition to order status == 'Processing' - this seems to do the trick for now...