Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Payment method request removed webhook mismatch #1087

Open
bcederholm opened this issue Nov 18, 2024 · 0 comments
Open

Payment method request removed webhook mismatch #1087

bcederholm opened this issue Nov 18, 2024 · 0 comments

Comments

@bcederholm
Copy link

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:

  1. Configure a Payment method webhook.
  2. Request a payment method.
  3. Wait 60 days for Adyen to automatically send the "Payment method request removed" webhook

https://docs.adyen.com/api-explorer/ManagementNotification/3/post/paymentMethod.requestRemoved

Expected behavior
Expects GetPaymentMethodRequestRemovedNotificationRequest to return true in above case.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant