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.
Re: role assignment fails when workflow-ng used to update order
role assignment fails when workflow-ng used to update order to complete (9 replies) Tue, 04/22/2008 - 11:54
- role assignment fails (04/24/2008 - 07:46)
- Re: role assignment fails (04/24/2008 - 10:01)
- role assignment fails (04/25/2008 - 07:45)
- Re: role assignment fails (04/26/2008 - 16:18)
- Checkout complete (04/27/2008 - 04:00)
- Re: role assignment fails (04/26/2008 - 16:18)
- role assignment fails (04/25/2008 - 07:45)
- Re: role assignment fails (04/24/2008 - 10:01)
- Re: role assignment fails when workflow-ng used to update order (04/22/2008 - 13:45)
- Re: Re: role assignment fails when workflow-ng used to update or (04/23/2008 - 11:17)
- Re: Re: Re: role assignment fails when workflow-ng used to updat (04/23/2008 - 11:27)
- Re: Re: Re: Re: role assignment fails when workflow-ng used to u (04/23/2008 - 19:25)
- Re: Re: Re: role assignment fails when workflow-ng used to updat (04/23/2008 - 11:27)
- Re: Re: role assignment fails when workflow-ng used to update or (04/23/2008 - 11:17)
|
|



Joined: 08/07/2007