I created a new Backend file and added the following:
console.log('New order file');
export function wixStores_onNewOrder(event) {
console.log(event);
let newOrderId = event.orderId;
let totalPrice = event.totals.total;
}
I don’t see anything show up in the console. How do I get this file to load and the code to execute?