-1

Our payment provider has been having issues hitting our webhook after a transaction. The server responds with a 403 status.

NGINX shows the request is retried twice but fails. Interestingly if I copy the request and send it myself via postman there's no issue.

Where can I look to try and diagnose this? The server is running NGINX/PHP7.

Sam
  • 1

1 Answers1

0

You can enable a php error log by setting something like the following in the php.ini configuration file:

error_log = /tmp/php_error_log

To find where your php.ini file is stored you can use the php -i command:

php -i | grep php.ini

After you update php.ini you will need to restart any existing processes to pick up the configuration change, specifically in your case nginx will need to be restarted.

Gene
  • 3,663
  • 20
  • 39