Code in events.js not being triggered

Question:
Has anybody experienced the issue that code placed in the events.js is not being triggered?

I have custom code there which is triggered once an order is paid (wixStores_onOrderPaid) and tested even the new onOrderPaymentStatusUpdated( ) but none of them is working.
It’s like the events.js is not even called at all.

I already contacted support but they haven’t replied so far.

Product:
It’s precisely the events.js backend file which is triggered once a backend event happens such as “orderPaid”

What are you trying to achieve:
I’m just trying to run a custom code which is calling some other custom functions - worked fine for over 6000 orders but now it simply stopped.

What have you already tried:
I already tried to debug and use the function onOrderPaymentStatusUpdated( ) but there is literally no logs created (I made sure I have enough log files created to see if the code is actually triggered)

Additional information:
WIX support hasn’t been able to help me so far - Just wanted to see if you have faced similar issues.

2 Likes

Same problem over here. Have been raised this to Wix Support but no reply. This is destroying my work since I have to duplicate Orders to other CMS because of limitation of Wix App

1 Like

Yeah same here - had to put my shop on hold and we aren’t able sell.

This seems to be a global problem, Wix are aware of it

1 Like

thank you so much sharing your amazing post.

same problem here. Also order number in thank you page suddenly disappeared too!!

Hey all!

If you haven’t already, I’d report it via status.wix.com, or open a bug report here.

I’ve also flagged it with the team.

2 Likes

To update - the team’s looking into it.

I’ll edit this post with more info as I have it :slight_smile:

EDIT: The team just opened a Known Issue that you can follow and be updated when things are resolved - Issues with events.js file Velo code not triggering | Help Center | Wix.com

Thanks for reporting it! :pray:

1 Like

Can confirm it’s working again.

Has anyone had any update on this yet?

Should be resolved, are you still experiencing problems?

1 Like

i can confirm it is resolved now. thanks all