omega1 Posted September 13, 2023 Report Share Posted September 13, 2023 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.