Global Payments now require dynamic "nonce" value (normally a version of date like example 2029-03-14T13:24:10.832Z)
Question1 is how to reference todays-date and put into the nonce json header
Question2 is how to SHA512 the concatenated nonce/todays-date value + app-key.
So 2029-03-14T13:24:10.832ZzuGYAus5P6EUunTR SHA512'd =
7694dea543f91f94622b1dbb2fb81d6e83ac255dd118d39edfe2521a968f1d93e95832f5724bed7c8e29b95f811a469e8a124b7f5ba3f1c667c1e45393142d53
Working hardcoded test json looks like:
{
"app_id": "${credentials.app_id}",
"secret": "7694dea543f91f94622b1dbb2fb81d6e83ac255dd118d39edfe2521a968f1d93e95832f5724bed7c8e29b95f811a469e8a124b7f5ba3f1c667c1e45393142d53",
"nonce": "2029-03-14T13:24:10.832Z",
"grant_type": "${credentials.grant_type}"
}
#DataActions
------------------------------
Glyn Hayes
Engineer
------------------------------