Dear Forum Users!
I am having a problem running backend actions in Velo! More specifically in the events.js file. When an event is triggered, the functions don’t run. Not even console.log functions placed outside the onEvent functions work. For example: I place a session booking order, and the event function inside events.js does not trigger, and not even the console.logs outside the function trigger.
What could cause this problem? Maybe some settings in the dashboard are incorrectly set up? Could you please help with this? I have been digging the forums, the documentations, and asked the AI assistant in Velo IDE, but with no luck.
I have attached a screenshot of my event.js. According to the debugger and the AI assistant, the code is correct. Honestly, what I’m concerned about is that the events.js is completely ignored, because not even console.log works.
I appreciate your help!
Thank you!