Okay
  Public Ticket #2587868
Auto Add Customer
Closed

Comments

  • Kevin Webb started the conversation

    Please advise if there is a way to add an Amelia customer automatically when a WordPress user is added.  I am comfortable with PHP programming and custom work.  I'm exploring the use of the WP Webhooks plugin in conjunction with the following amelia api call wp-admin/admin-ajax.php?action=wpamelia_api&call=/users/customers.  it appears I can't do exactly what I want without the Pro version of WP Webhooks, but before I get that, figured I'd ask here in case there is something I'm missing that is easy to do with a bit of customization.

    Thanks,

    Kevin.

  • [deleted] replied

    Hello Kevin, 

    There isn't a way to do this from Amelia's side, unfortunately. There isn't a way from Amelia's side to create the user automatically from a WP user created. If it can be done it would need to be done from the WP side. If it can't be done with some of the built-in WP hooks , then you can try with some plugin for this purpose, like you mentioned, which would do the INSERT to our table, when the hook is triggered. 

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.