• Resolved danielspalma



    I’m using a code to register guest user after woocommerce order.

    The hook is: add_action( ‘woocommerce_checkout_order_processed’, ‘wc_register_guests’, 2, 1 );

    And I created a recipe that identify the guest user by the order email, but, it checks before the user is created. How can I run the recipe with the order trigger but wait to check if the user exists?


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Uncanny Owl


    Hi Daniel, it sounds like you’re using a trigger like “A guest completes an order” to try to modify that user. With the pro version of Uncanny Automator you could create a user using the email email, they entered at checkout and then run actions on that new user in the same recipe.

    Unfortunately, with the free version there isn’t any way to do what you’re asking currently, unless you create a recipe that fires on something the user would do after they are created (e.g. logs in, visits a page, etc.).

    Is there a reason you’re not using WooCommerce’s built-in “create an account” feature? If you use that, then you can create a “Logged-in” recipe that will run on the newly created user.

    Plugin Author Uncanny Owl


    As it has been a month since the last update, and there’s no open issue with this request, we’ll go ahead and mark it as closed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.