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 ?
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
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.
AllToolKits.com Posted June 10, 2015 Author Report Posted June 10, 2015 Thanks, this reply helped a lot
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now