You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PaymentMethodRequestRemovedNotificationRequest has EnumMember "paymentMethod.requestRemoved", but in reality a related event has type "paymentMethodRequest.removed" in body, e g following example from live, with some id changed.
The result is that ManagementWebhookHandler.GetPaymentMethodRequestRemovedNotificationRequest() doesn't return true, even if the event in reality is a payment method request removed event.
To Reproduce
Steps to reproduce the behavior:
Configure a Payment method webhook.
Request a payment method.
Wait 60 days for Adyen to automatically send the "Payment method request removed" webhook
Describe the bug
Adyen API Library 23.0.0
PaymentMethodRequestRemovedNotificationRequest has EnumMember "paymentMethod.requestRemoved", but in reality a related event has type "paymentMethodRequest.removed" in body, e g following example from live, with some id changed.
{"type":"paymentMethodRequest.removed","environment":"live","createdAt":"2024-11-16T09:00:37+01:00","data":{"id":"PM32DDX22322695LBTM5HDXXX","storeId":"1234567890_store","type":"cup","status":"capabilityPending","merchantId":"BokadirektPOS","enabled":false}}
The result is that ManagementWebhookHandler.GetPaymentMethodRequestRemovedNotificationRequest() doesn't return true, even if the event in reality is a payment method request removed event.
To Reproduce
Steps to reproduce the behavior:
https://docs.adyen.com/api-explorer/ManagementNotification/3/post/paymentMethod.requestRemoved
Expected behavior
Expects GetPaymentMethodRequestRemovedNotificationRequest to return true in above case.
The text was updated successfully, but these errors were encountered: