Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable Process Webhook Notification #2903

Open
ajith107 opened this issue Feb 28, 2025 · 0 comments
Open

Unable Process Webhook Notification #2903

ajith107 opened this issue Feb 28, 2025 · 0 comments
Labels
Bug report Indicates that issue has been marked as a possible bug

Comments

@ajith107
Copy link

Describe the bug

Unable to process the webhook notification using the following command

bin/magento adyen:webhook:run

The above command returns the following error in the console and the order status is not updated.

There is an error in /var/www/html/m2/generated/code/Adyen/Payment/Helper/Order/Interceptor.php at line: 23
Adyen\Payment\Helper\Order\Interceptor::finalizeOrder(): Return value must be of type Magento\Sales\Model\Order, null returned#0 /var/www/html/m2/vendor/adyen/module-payment/Helper/Webhook/AuthorisationWebhookHandler.php(224): Adyen\Payment\Helper\Order\Interceptor->finalizeOrder(Object(Magento\Sales\Model\Order\Interceptor), Object(Adyen\Payment\Model\Notification))

To Reproduce
Steps to reproduce the behavior:

  1. Place an order using Adyen Credit Card payment
  2. Run the adyen webhook process CLI command
  3. See the CLI command fails with the fatal error & order status is not updated

Expected behavior

  • The CLI command should return success and order status should be updated.

Magento version

  • Magento Enterprise - 2.4.6-p8

Plugin version

"adyen/module-payment": "9.14.0",
"adyen/adyen-magento2-expresscheckout": "2.4.1"
@ajith107 ajith107 added the Bug report Indicates that issue has been marked as a possible bug label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug report Indicates that issue has been marked as a possible bug
Projects
None yet
Development

No branches or pull requests

1 participant