-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
fix invoice cancel from backend 404 error issue #39314
base: 2.4-develop
Are you sure you want to change the base?
Conversation
Hi @Syamsg. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@engcom-Hotel, can someone take it to testing? |
@magento run all tests |
Description (*)
Getting 404 error while canceling invoice form backend
Related Pull Requests
The issue comes from 3e63705#diff-f55a86b611d11bb9a801c4b16ba9ac4b17dab4c325d252b86d5d3a8b8275c291
Canceling invoices from the backend results in a 404 error due to the core controller class Magento\Sales\Controller\Adminhtml\Order\Invoice\Cancel using Magento\Framework\App\Action\HttpPostActionInterface instead of Magento\Framework\App\Action\HttpGetActionInterface. This misconfiguration prevents proper access, triggering the error.
Manual testing scenarios (*)
Resolved issue
resolves #39298: Fix offline invoice capture (404)