Hi all!
I am creating an e-commerce that uses the wixStores_onOrderPaid hook. Which to my understanding means, that, whenever a customer has paid, the hook is triggered and its content is activated…
But…
I am in development, and noticed that the hook actually only fires if no error WILL happen withinthe hook block…
It’s weird?
So here for example, as the rest of the code has a bug, it won’t display anything in the console.
Not even the first console.logs (with the blue arrows in the sc) that are in a bug free zone.
What do I do wrong?
Isn’t it the whole purpose of the console to show errors?