Skip to content

Conversation

@gcatanese
Copy link
Contributor

Summary

The library provides only support for validating webhook payloads that include the HMAC signature in the request body AdditionalData (i.e. standard webhooks).
This PR adds a method to validate the webhook payloads that include the HMAC signature in the HTTP header (.i.e banking webhooks).

Tested scenarios

Added unit testing, tested with the Adyen Sample app (note: I have created a temporary branch as we don't have a Ruby sample app for AfP)

@gcatanese gcatanese requested a review from a team April 26, 2024 08:54
@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@DjoykeAbyah DjoykeAbyah merged commit 940cbcd into Adyen:main Apr 26, 2024
DjoykeAbyah pushed a commit that referenced this pull request Feb 10, 2025
* log to console

* log to console

* Add HMAC validation for bank

* Remove log to console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants