• Hi everyone!

    I have setup Woocommerce to automatically register a new customer when the order is completed.

    Now I want to send the password and other things that has been generated to a third party using a API POST request to create the same user account.

    Things I need to send from the Woocommerce generated account:

    Email address (used for email and login on third party website)
    First name
    Last name
    Password (Needs to be unhashed, same as used in new account email)

    Can someone show me an example how to get this done? Or point me in to the right direction? I just can’t find anything to start with.

    For example: instead making a POST request, send the above fields in an email.

    I tried something with woocommerce_created_customer action and woocommerce_new_customer_data filter. But I just can’t seem to get it done.

    Hope someone knows an easy way to get this done.

    Thanks!

  • The topic ‘Woocommerce get user registration fields’ is closed to new replies.