Jump to content

Recommended Posts

Posted

Hello,

What I am trying to achieve is to send the data from a new customer creation on Blesta to our own dashboard, I'd like to capture name, email and password (md5 of course) and create the new user on our own dashboard. 

As such, I need to create a webhook that is triggered when a new customer is created.

I have looked at /core/Util/Events/Observers/Clients.php and suspect that I need to do something related to createBefore but I'm not sure how to do this.

Ideally I'd like to place a cURL somewhere that sends the new customer info over to our own API to have teh same user info created on our own platform.

Can anyone share any info on how I could achieve this please? I've tried adding some php code directly to /core/Util/Events/Observers/Clients.php withing the createBefore section but it did not work.

Thanks in advance.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...