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 1dee6ce commit d371275Copy full SHA for d371275
Adyen/util.py
@@ -37,6 +37,9 @@ def generate_notification_sig(dict_object, hmac_key):
37
def is_valid_hmac_notification(dict_object, hmac_key):
38
dict_object = dict_object.copy()
39
40
+ if 'notificationItems' in dict_object:
41
+ dict_object = dict_object['notificationItems'][0]['NotificationRequestItem']
42
+
43
if 'additionalData' in dict_object:
44
if dict_object['additionalData']['hmacSignature'] == "":
45
raise ValueError("Must Provide hmacSignature in additionalData")
0 commit comments