-
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
Vague error message when getting an exception during order placement #19083
Comments
Hi @korostii. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
where @korostii do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @engcom-backlog-nazar Ideally, I'd love to see both of these fixed. Thank in advance & have a nice day! |
@korostii ok you are right this may be fixed in all places, so i add this information to another ticket. |
When
placeOrder()
happens to produce any kind of exception,Magento\Authorizenet\Controller\Directpost\Payment::placeCheckoutOrder()
catches it, does not log the error messages and shows a completely different uninformative message to the customer instead.As you can see by viewing #6929 , there's quite a multitude of reasons leading to this particular error message.
Issue #6929 is marked as "fixed in MAGETWO-63651, MAGETWO-67290, MAGETWO-63650, MAGETWO-63637 and delivered". However, searching for of those MAGETWO tags in this repository shows zero commits and.
Thus, it's not clear whether error reporting was actually fixed in scope of those tasks (most likely, only some of the cases producing an exception for this code to catch) nor which version and/or commits happen to contain those fixes, if any.
Preconditions (*)
Steps to reproduce (*)
https://github.com/magento/magento2/blob/2.1.15/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php#L132
https://github.com/magento/magento2/blob/2.2.6/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php#L132
Expected result (*)
Actual result (*)
The text was updated successfully, but these errors were encountered: