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 a585313 commit 4744ec9Copy full SHA for 4744ec9
Adyen/util.py
@@ -50,6 +50,5 @@ def escapeVal(val):
50
51
signing_string = ':'.join(map(escapeVal, chain(map(str,ordered_request.keys()), map(str,ordered_request.values()))))
52
53
-
54
- hm = hmac.new(hmac_key, signing_string, hashlib.sha256)
+ hm = hmac.new(hmac_key, signing_string.encode('utf-8'), hashlib.sha256)
55
return base64.b64encode(hm.digest())
0 commit comments