Jump to content

Problem executing a function when changing order status


Recommended Posts

When I change the status of the order I run a function in my module to change the order data to others with an api. The thing is that the status changes but in the status history of the order it does not appear that this status has ever been set on that order. I use the ActionOrderStatusPostUpdate hook. Should I do it another way with a different hook so as not to interrupt the function that makes the state change?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...