tmzwinkels Posted December 4, 2015 Share Posted December 4, 2015 Hi, Need : call an external webservice when status is updated from admin order page. Verify the result. If OK, update the status in database, if NOK, show an error message in admin order page. At the moment I'm able to catch status update, with actionOrderStatusUpdate, I can make my call to webservice and get the response, but I'm not able to show a message on Admin order page. (using $this->context->smarty->assign($var, $val) I'm also not able to interupt the status update in database when result was NOK. Could someone tell me how this is done ? Should we be able to hook into this or block it from executing ? I dont think using actionOrderStatusPostUpdate after, to update the status depending of the result is a nice solution. PrestaShop version 1.6.1.1 Many thanks, Tim Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now