-
Notifications
You must be signed in to change notification settings - Fork 47
Closed

Description
Python version: 3.9.6
Library version: 5.1.0
Description
Adyen.util.is_valid_hmac_notification
and Adyen.util.is_valid_hmac
delete the entire "additionalData
" key and dictionary from a notification, discarding any merchant provided metadata
and other information in there.
Steps to reproduce:
- Consume a webhook notification with HMAC
- Run the item through above helper functions
- See the "
additionalData
" is removed from the notification item, including all other data in there
Please see:
adyen-python-api-library/Adyen/util.py
Line 43 in a6f4bc6
del dict_object['additionalData'] adyen-python-api-library/Adyen/util.py
Line 93 in a6f4bc6
del dict_object['additionalData']
As a workaround, we have to deepcopy the entire notitication before validating it.
Metadata
Metadata
Assignees
Labels
No labels