-
Notifications
You must be signed in to change notification settings - Fork 213
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
[PW-6878] Capture webhook not working in 8.3.0 #1595
Comments
Hi @dronerdk, Thank you for opening this issue. Please kindly provide us with the specific steps that you have taken to recapture the payment so we would be able to try to replicate the issue you are experiencing. Looking forward to your reply, Kind regards, |
Hi @dronerdk Thank you for your reply. Cheers, |
Thanks Rok for fast respons. |
@candemiralp @RokPopov, unfortunately your fix from #1596 is not resolving this issue as we have the problem on |
Hey @jonathanribas, This does indeed seem strange. I have re-tested this on the version you mentioned, and the CAPTURE notification is getting processed accordingly in the default environment: Could you please elaborate a bit on what specific error are you seeing when the notification is trying to get processed? Looking forward to your reply, Kind regards, |
@RokPopov, we have this error too. |
Hey @jonathanribas, Please correct me if I am wrong, however if I understand your case correctly, you are getting this error when reprocessing the CAPTURE notifications for orders that were made with the version before the fix was introduced?
I hope this helps. Kind regards, |
Hi @RokPopov, issue happens for orders placed with updated module version. |
Hi @jonathanribas, Would it be possible to check what the output of:
here for the cases where this issue is occurring? Thanks, |
Hi @Morerice, someone from my team will take a look at it this morning and we will let you know. |
Hi @Morerice, we noticed we were missing a parameter in one of our Adyen preference constructor that was causing this issue. |
In that case I will close the issue for now. If however it persists after updating to Thanks, |
In the latest version 8.3.0 we do not get the capture webhook.
We get this error when we try in magneto 2 to reprocess the webhook for capture.
Error: Call to a member function pay() on null in /var/www/droner.dk/public_html/vendor/magento/module-sales/Model/Order/Invoice.php:368
Stack trace:
#0 /var/www/droner.dk/public_html/generated/code/Magento/Sales/Model/Order/Invoice/Interceptor.php(149): Magento\Sales\Model\Order\Invoice->pay()
#1 /var/www/droner.dk/public_html/vendor/adyen/module-payment/Helper/Invoice.php(196): Magento\Sales\Model\Order\Invoice\Interceptor->pay()
#2 /var/www/droner.dk/public_html/vendor/adyen/module-payment/Helper/Webhook.php(1821): Adyen\Payment\Helper\Invoice->handleCaptureWebhook()
#3 /var/www/droner.dk/public_html/vendor/adyen/module-payment/Helper/Webhook.php(420): Adyen\Payment\Helper\Webhook->handleManualCapture()
#4 /var/www/droner.dk/public_html/vendor/adyen/module-payment/Helper/Webhook.php(344): Adyen\Payment\Helper\Webhook->handleOrderTransition()
#5 /var/www/droner.dk/public_html/vendor/adyen/module-payment/Controller/Adminhtml/Notifications/WebhookReprocess.php(71): Adyen\Payment\Helper\Webhook->processNotification()
#6 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess->execute()
#7 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->___callParent()
#8 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->Magento\Framework\Interception{closure}()
#9 /var/www/droner.dk/public_html/generated/code/Adyen/Payment/Controller/Adminhtml/Notifications/WebhookReprocess/Interceptor.php(23): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->___callPlugins()
#10 /var/www/droner.dk/public_html/vendor/magento/framework/App/Action/Action.php(111): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->execute()
#11 /var/www/droner.dk/public_html/vendor/magento/module-backend/App/AbstractAction.php(151): Magento\Framework\App\Action\Action->dispatch()
#12 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Backend\App\AbstractAction->dispatch()
#13 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->___callParent()
#14 /var/www/droner.dk/public_html/vendor/magento/module-backend/App/Action/Plugin/Authentication.php(143): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->Magento\Framework\Interception{closure}()
#15 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch()
#16 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->Magento\Framework\Interception{closure}()
#17 /var/www/droner.dk/public_html/generated/code/Adyen/Payment/Controller/Adminhtml/Notifications/WebhookReprocess/Interceptor.php(32): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->___callPlugins()
#18 /var/www/droner.dk/public_html/vendor/magento/framework/App/FrontController.php(245): Adyen\Payment\Controller\Adminhtml\Notifications\WebhookReprocess\Interceptor->dispatch()
#19 /var/www/droner.dk/public_html/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse()
#20 /var/www/droner.dk/public_html/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest()
#21 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch()
#22 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent()
#23 /var/www/droner.dk/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
#24 /var/www/droner.dk/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins()
#25 /var/www/droner.dk/public_html/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch()
#26 /var/www/droner.dk/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
#27 /var/www/droner.dk/public_html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#28 /var/www/droner.dk/public_html/pub/index.php(29): Magento\Framework\App\Bootstrap->run()
#29 {main}
The text was updated successfully, but these errors were encountered: