-
Notifications
You must be signed in to change notification settings - Fork 211
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
Payment refused order coming with no status #2452
Comments
Hi @sushantjw, thanks for opening this issue, with the given steps I wasn't able to reproduce this issue and we don't expect an order with adyen-magento2/Helper/Webhook.php Lines 169 to 177 in eaa06ec
|
Hey @hossam-adyen, thank you for the reply. We have list of orders which don't have any state and status all created through failed payment. The Adyen event log all show that these orders have failed authorization due to unsupported card or failed 3DS. From my understanding, these orders should get cancellation event which doesn't seems to be there in Adyen event log. |
Dear @sushantjw, Upon processing, those orders failed to be canceled due to the lack of a current state. This is unexpected, as orders should always have a state at this stage. Could you please investigate the logs from both Magento and Adyen to determine why these orders were created without a state? |
This is the place() method in Magento (https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/Sales/Model/Order/Payment.php) When I use invalid card the function executes the else block and calls $this->processAction($action, $order); method. The JCB card that I am currently testing with always comes with empty state and status. |
Hi @sushantjw, thanks for the insights, to take this further, can you share the exception that you are mentioning with the stack trace for this case? |
can also confirm this issue on we also do have this issue for a long time, we tried to figure out with support and sent a lot of logs. also what @sushantjw says is similar to our situation, |
@hossam-adyen do you perhaps have any update? |
Same here. Not opened a case with the adyen support yet, since there seems to be some ongoing, but @hossam-adyen feel free to ask questions if this can help. |
Also confirmed 2.4.6-p6 |
Describe the bug
When the payment is refused for the order the order does not get any cancellation request and stays with null status.
To Reproduce
Expected behavior
Get a cancellation request if the order is not further proceeded.
Magento version
2.4.6-p3
Plugin version
8.18.1
Screenshots
**Desktop
Additional context
Adyen Log:
ERROR: Unhandled order state '' {"orderId":"361373","orderIncrementId":"1001423590","orderState":null,"orderStatus":null,"pspReference":"L36XBG7HCXTZ9V72"} {"uid":"79d7d9f"}
The text was updated successfully, but these errors were encountered: