Support Services

Postbacks and Webhooks: Log the response and validate the signature

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:  


  1. On lines 4-10, within the authentication class, replace credentials with your own.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.