AllToolKits.com Posted June 2, 2015 Report Share Posted June 2, 2015 Hi, I am developing a module, i want to call an api from module after the order is placed. How i can do that from module? Also is there anyway to call an api before checkout is done ? Quote Link to comment Share on other sites More sharing options...
serge Posted June 2, 2015 Report Share Posted June 2, 2015 have a look in dev doc to what blesta is calling event handlers: http://docs.blesta.com/display/dev/Event+Handlers Quote Link to comment Share on other sites More sharing options...
Tyson Posted June 2, 2015 Report Share Posted June 2, 2015 The order process is handled by the Order plugin. The module does not come in to play until it is used to create the service remotely, and this doesn't happen until the service is activated. You could, however, use a plugin to tie into the Services.add and Services.edit events. Quote Link to comment Share on other sites More sharing options...
AllToolKits.com Posted June 10, 2015 Author Report Share Posted June 10, 2015 Thanks, this reply helped a lot Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.