I am trying to run Wix backend events and its not running

Question:
I have triggered wix backend events and it is not running.

Product:
Wix Editor.

What are you trying to achieve:
I am calling onOOrderCreatedd event on whenever any order created on site its not triggering.

What have you already tried:
this is my code
export function wixEcom_onOrderCreated(event) {
console.log(“event runs”)
}

Additional information:
[Include any other pertinent details or information that might be helpful for people to know when trying to answer your question.]

How do you know the event is not running?
Do you get nothing in the site monitoring tools page?

Hi, Dev_Studioz !!

where are you placing that code? :thinking: