Search the Community
Showing results for tags 'callback'.
-
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 All, Can anyone help me for developing Payment Gateway Module using WHMCS. I have developed the same & transactions are happening correctly. But problem is facing with the Callback File. Invoice status of the transaction are not updating as PAID even though transactions are successful. Also not redirecting to success or Failure page proprely. Please help me out to resolve the same. I can share the code that I'm using gor Gateway as well as Callback file.