Skip to content

Commit 4bcd8c0

Browse files
committed
Improve doc
1 parent 8e70a97 commit 4bcd8c0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/hmac/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
This folder contains PHP scripts to calculate the HMAC signature of the webhook payload.
44
They can be used to troubleshoot the HMAC signature calculation.
55

6+
Check tools/hmac/package.json to confirm the Adyen Node API library version
7+
68
Note: make sure you are using the HMAC key used to generate the signature associated with the payload in the JSON file
79

810
### Payments webhooks
@@ -11,6 +13,10 @@ Copy the content of the webhook in the payload.json (or provide a different file
1113
`node calculateHmacPayments.js {hmacKey} {path to JSON file}`
1214
```
1315
cd tools/hmac
16+
npm install
17+
18+
npm list @adyen/api-library // check version of library and update if needed
19+
1420
node calculateHmacPayments.js 11223344D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB payload.json
1521
```
1622

0 commit comments

Comments
 (0)