We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89a75e2 commit 768f287Copy full SHA for 768f287
tools/hmac/calculateHmacPlatform.js
@@ -44,7 +44,9 @@ console.log('********');
44
console.log(`Payload file: ${payloadFile}`);
45
console.log(`Payload length: ${payload.length} characters`);
46
/*
47
-// uncomment if needed
+// uncomment if needed to log number of new lines and number of spaces: this can be useful to confirm the payload sent by Adyen
48
+// is the same as the one you receive/parse
49
+
50
const newlineCount = (payload.match(/\n/g) || []).length;
51
const spaceCount = (payload.match(/ /g) || []).length;
52
0 commit comments