adyen-shopware6
adyen-shopware6 copied to clipboard
OFFER_CLOSED webhooks does not change payment state
Describe the bug
Webhooks with eventCode OFFER_CLOSED
are not processed. The payment status should automatically be changed to failed
.
No $orderTransaction are found.
$orderTransaction = $this->getOrderTransaction($order, $notification, $logContext);
if (is_null($orderTransaction)) {
continue;
}
Versions Shopware version: all Plugin version: all
To Reproduce Steps to reproduce the behavior:
- Create an order but do not pay
- Shopware receives a webhook from Adyen with
OFFER_CLOSED
- Plugin tries to process webhook but skips
OFFER_CLOSED
webhooks. - Payment status stays in
in progress
Expected behavior
Payment status must be update to failed
Hi @wannevancamp,
Thank you for reporting this issue. May I ask, what version of our plugin and the Shopware6 platform are you experiencing this issue with?
Kind regards, Rok
Hi @RokPopov , I've tested this on 3.14.4. But as far as I can see this issue will occur with every version
This seems to related to https://github.com/Adyen/adyen-shopware6/issues/310
Thank you @wannevancamp and apologies for the delay in my reply. Indeed, the support for OFFER_CLOSED notifications was added in PW-7480. I am closing this issue as of now.
Cheers, Rok