Search the Community
Showing results for tags 'event handler'.
-
Hi, I'm currently creating a module which automatically provisions a server in game server panel when a customer purchases a service in Blesta. This module sends a "server creation" request to a game server panel's API endpoint but this endpoint is asynchronous and just responses to the request with a running task ID. After server is created, the game server panel API will send another POST request which includes a server ID to a specific callback URL later. To receive the server ID, I would like to use Appcontroller.preAction event handler in module but is it even possible? I came up with the idea of creating a plugin only for receiving a server ID, but I feel having to enable both module and plugin is not a nice implementation. If anyone has any clean idea to make my dream come true, most welcomed. Thanks,
-
Hi, i'm making a module, and i have a configurable option to add a extra in a service, but this add-on must be created by a support member from our side manually and i want to create a support ticket to our admin staff when this bill is full paid. How i can make this? i'm looking the "Events Handlers" https://docs.blesta.com/display/dev/Event+Handlers But i don't know if this events: "Services.edit" or "Invoices.edit" can be useful to this, in fact i don't know how to use this events on my module, someone have a clue?
- 1 reply
-
- module
- event handler
-
(and 4 more)
Tagged with: