This article provides a code sample for PHP to log postbacks and webhooks to a file. Each log entry indicates if the signature validation passed or failed, if there is a signature to validate. The script listens for inbound GET or POST requests.
Supported integration methodologies:
- Secure Web Pay family postbacks
- Forte Checkout v1.0 postbacks
- Webhooks v3 configured in Dex
Setup notes:
- On lines 4-10, within the authentication class, replace credentials with your own.