Adyen / adyen-magento2

Adyen Payment plugin for Magento2
MIT License
155 stars 211 forks source link

[ECP-9153] Unsupported webhook notification: CAPTURE_FAILED #2589

Open xgerhard opened 5 months ago

xgerhard commented 5 months ago

Hiya, noticed this error in the Magento order logs of a Walley order. The order failed to update: Unsupported webhook notification: CAPTURE_FAILED

Not running on the latest Adyen module version, but since I didnt see the CAPTURE_FAILED listed in the file below I thought I would submit this issue here to be checked: https://github.com/Adyen/adyen-magento2/blob/develop/Helper/Webhook/WebhookHandlerFactory.php#L77

Describe the bug Unsupported webhook notification

To Reproduce Send CAPTURE_FAILED webhook

Expected behavior Webhook processed without errors

Magento version 2.4.5

Plugin version 8.22.8

candemiralp commented 5 months ago

Hello @xgerhard,

Thank you for raising this issue. We have created an internal ticket to implement a handler for this webhook.

Capture documentation might be handy for you if you have an issue while capturing this specific order. CAPTURE_FAILED webhook is triggered when the card scheme rejects the capture for some reason.

Most of the time Adyen can fix the issue, so that you will eventually receive the funds. Sometimes, however, you need to take action yourself. To learn why a capture can fail and what, if anything, you need to do in each case, refer to Reasons for failed capture.

You will be informed when the implementation is done.

Best regards, Can

xgerhard commented 5 months ago

Thanks Can, yeah we found the failure reason, that has been handled. Glad to hear a handler is being implemented.