Skip to content

Commit 4986420

Browse files
committed
Use test HMAC key
1 parent e5010f4 commit 4986420

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tools/hmac/HMACValidatorBanking.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// entire webhook payload)
55
//
66
// Run with: `php tools/hmac/HMACValidatorBanking.php {hmacKey} {path to JSON file}
7-
// php tools/hmac/HMACValidatorBanking.php 51757397D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB tools/hmac/payload2.json
7+
// php tools/hmac/HMACValidatorBanking.php 11223344D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB tools/hmac/payload2.json
88

99
require_once __DIR__ . '/../../vendor/autoload.php';
1010

tools/hmac/HMACValidatorPayments.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// a subset of the fields in the payload - i.e. NotificationRequestItem object)
55
//
66
// Run with: `php tools/hmac/HMACValidatorPayments.php {hmacKey} {path to JSON file}
7-
// php tools/hmac/HMACValidatorPayments.php 51757397D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB tools/hmac/payload.json
7+
// php tools/hmac/HMACValidatorPayments.php 11223344D785FBAE710E7F943F307971BB61B21281C98C9129B3D4018A57B2EB tools/hmac/payload.json
88

99
require_once __DIR__ . '/../../vendor/autoload.php';
1010

tools/hmac/payload.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"NotificationRequestItem": {
66
"additionalData": {
77
"cardSummary": "0010",
8-
"hmacSignature": "e7qQumH1fdt5NHb6e62jq6hIGUCpfhAAFXhUXqXcJAQ=",
8+
"hmacSignature": "qHNSvxCCix79xgBdWemxf0rcNMWoLrMK/4IgMnkOsWI=",
99
"expiryDate": "03\/2030",
1010
"recurring.contractTypes": "ONECLICK,RECURRING",
1111
"cardBin": "222241",

0 commit comments

Comments
 (0)