Re: role assignment fails when workflow-ng used to update order

Posts: 2102
Joined: 08/07/2007
AdministratoreLiTe!

The way checkout works, payment is received before the user account is created. Since they payment causes the order change, the role is assigned to a non-existent user, and then the order goes through. You should make or modify a workflow configuration to work off the "checkout complete" event, rather than "payment entered". That event happens after all the other checkout processing, so everything will be available to the roles code.

role assignment fails when workflow-ng used to update order to complete By: robertomalone (9 replies) Tue, 04/22/2008 - 11:54