File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 3
3
This folder contains PHP scripts to calculate the HMAC signature of the webhook payload.
4
4
They can be used to troubleshoot the HMAC signature calculation.
5
5
6
+ Check tools/hmac/package.json to confirm the Adyen Node API library version
7
+
6
8
Note: make sure you are using the HMAC key used to generate the signature associated with the payload in the JSON file
7
9
8
10
### Payments webhooks
@@ -11,6 +13,10 @@ Copy the content of the webhook in the payload.json (or provide a different file
11
13
` node calculateHmacPayments.js {hmacKey} {path to JSON file} `
12
14
```
13
15
cd tools/hmac
16
+ npm install
17
+
18
+ npm list @adyen/api-library // check version of library and update if needed
19
+
14
20
node calculateHmacPayments.js 11223344D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB payload.json
15
21
```
16
22
You can’t perform that action at this time.
0 commit comments