The webhook is a pretty simple piece of code, and just to make sure that I receive something, I only dump the ‘php://input’ to a local log-file. The local log-file is as empty as the serverlog.
Could you take a look at this, and tell me if something is missing:
CORS is using by browser to check if it is allowed to call url from different domain.
Cross-Origin Resource Sharing (CORS) is a mechanism that uses additional HTTP headers to tell a browser to let a web application running at one origin (domain) have permission to access selected resources from a server at a different origin.
Before POST browser makes OPTIONS request and get answer from server if it is possible to make call.
When server makes call to other server there is no place for CORS, because there is no browser.
API is working fine as it should. Unfortunately our developers do not have time to debug third party code. Please investigate the issue with your server admin