AllToolKits.com Posted June 2, 2015 Report 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
serge Posted June 2, 2015 Report 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
Tyson Posted June 2, 2015 Report 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
AllToolKits.com Posted June 10, 2015 Author Report Posted June 10, 2015 Thanks, this reply helped a lot Quote
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.