Looking for the best workflow method to add all new customers to a "customers" role. I want it to fire right after the uc checkout code that creates new users. Thanks for any info.
Wed, 12/05/2007 - 13:10
Re: best workflow spot to add user to role?
That would be the "Checkout completed" event. Let me know if this page needs to be updated at all:
http://www.ubercart.org/docs/user/1995/ubercart_integration_workflowng
Re: Re: best workflow spot to add user to role?
I tried this, and it worked fine testing while logged in. But, it causes a state error with workflow-ng for anonymous purchases. The IPN or return from payapl comes in as anonymous which makes it tough to add to a group -- even though an account is created on the backend? Just create the workflow you mentioned and do it as an anonymous user that hasn't already created a drupal account, simulating a new customer making an anon purchase. Thanks for all your help.


