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
Magento order status updated to “Processing” even when PayPal payment fails #324
Conversation
Must remove invoices before cancel, otherwise order cancel will fail and status will go to go to processing
Hi more detail on this at: This is really bad for stores with ERP or warehouse integrations. Most integrations will use the status of "processing" to assume that the payment was ok and thus the goods can be shipped. |
Really surprised that others are not seeing this issue. If payment fails, status should go Payment-Reveview > Cancelled Processing is the status for completed payments so consumers will get free goods! Paypal does try to cancel the order but the cancellation fails as the order has a valid invoice, the invoice must be removed for the cancel to work |
You cannot just remove invoice. because for EU vat invoicing you must have all invoices in the system, one by one, without gap in numbering. the best if paypal would not create invoice automatically before successful payment is made. which probably is a standard behavior |
Thats a fix out of my depth. Will need to leave that for others. Wonder if there is a way to mark the invoice cancelled instead of having to remove it?? |
agree with @tomekjordan |
This PR is based on 1.9.3.x which is a non-maintained branch at this point. Since we can't work on this anymore I'm closing it. @dvdsndr if you feel like rewriting the PR on 1.9.4.x feel absolutely free to reopen it, it will be much appreciated. |
@fballiano - I noticed that you closed some of them and then rebased to 1.9.4.x. Where you can't do this please mark them with this label "needs rewrite for new versions" to keep track of them. When you finish please leave a message in any post you want to double check too. |
as you see from the comment above that's precisely what I wrote :-) |
can't be done since original author deleted the repo. anyway #2183 it's exactly the same thing |
In this case I will mark this one and #2183 with that label and we will have to recreate them at some point if those changes still exist. It was expected that we would encounter such issues in the conditions in which some PRs had been posted for a long time. |
Again, if we approve that other pr it is exactly the same as this one. No need for anything. |
OK then. |
Must remove invoices before cancel, otherwise order cancel will fail and status will go to go to processing