John Heenan Posted April 28, 2024 Report Posted April 28, 2024 With Blesta 5.10beta1, incoming Webhook call backs with GET and POST have been confirmed to work with a workaround (link at end). POSTJSON does not work. Following is a one line fix. Edit line in file controllers/trigger.php FROM $params = json_decode($post); TO $params = json_decode($post, true); Explanation for fix: from https://www.php.net/manual/en/function.json-decode.php, setting the second paarmeter to true guarantess the decoded json will be returned as an associative array instead of an object. Currently a workaroud is required to get incoming Webhooks to work. Information at Quote
John Heenan Posted April 29, 2024 Author Report Posted April 29, 2024 There is a one line fix for cache requiring deletion (for incoming webhooks to work) at: 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.