-
Notifications
You must be signed in to change notification settings - Fork 77
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
Order "Processing" without payment #1236
Comments
Hi @darektw I also have the problem. I have just proposed an MR, hoping that it is quickly validated 🚀 |
Hello @darektw and @dimitriBouteille, I have the exact same issue that you describe where an order is placed, no invoice is created but the order is in the "processing" state.
Is it in any way related to your issue ? I have tried changing the Authorization Mode to "Automatic". It seems to fix the issues of Orders without payment being in the "Processing" state. |
@markfischmann We are also seeing this issue which is a major problem since "processing" should indicate that an order payment is correctly received and can be dispatched. Debugging so far has revealed that the We have seen instances whereby orders are marked as processing even if the Auth has subsequently been declined etc. Order status should be Pending Payment (or similar) until the Auth and subsequent Capture have been 100% confirmed. Ref: #1186 - As mentioned in a recent comment. We too had no issues when using 5.16.1 This appears to be a new issue introduced in 5.17.0 |
It seems that with the new 5.17.0 update, orders are being placed when there is a potential error with the payment transaction. |
@darektw @dimitriBouteille @markfischmann Thank you all for your investigation, and the feedback. We are working to get this fixed. Please let us know if you've come across any other helpful details. |
Hi @dallin-beargroup To avoid this kind of problem in the future, it might be good to use code quality tools (phpstan, PHPMD Mess Detector, ...) ❤️ |
We are working to roll out the next minor version addressing these issues. In the meantime you can use this patch to stop orders moving into a processing state before authorization. @dimitriBouteille Thank you for your suggested fix. I was unable to recreate the symptoms with undefined variables, but I did test it alone, and along side the above patch, and everything appeared to function normally. We will keep it under review and likely will roll it into the next minor release. |
Hi @dallin-beargroup , do you have an ETA for next release with this issue fixed, as we disabled the extension for now. As we have high order volume, causing issues to ship orders without payments. Thank you |
Hello @faisal2010 , We're trying to wrap up testing for the 5.17.1 release, which will include these fixes plus a few other minor patches. Hopefully this could go live next week. Thanks, |
Hi everyone, I'm happy to finally announce that version 5.17.1 is live on the Marketplace! We'll close this issue shortly, but of course, please don't hesitate to reach out with future problems. We appreciate all your contributions! Thanks, |
Experiencing this issue after updating to 5.17.1. Starting the debug |
My issue is the plugin now uses type MIXED and is no longer PHP7.4 compatible |
Hi @kestraly , you've probably addressed this on your own at this point, but for anyone else who may come across this, I'll drop a patch here for PHP 7.4 compatibility despite it having been EOL for quite some time now. We can remove the mixed references in the function signatures in the next patch version. Thanks, |
What I expected
I expect orders with a processing status that have invoices created after payment.
What happened instead
There are orders that have a processing status, no invoice, even though the payment has been cancelled.
What actual results you or customer got
Dispatched orders that have not been paid for.
Reproduction path
Unfortunately, I do not yet know the exact steps to repeat this error. It only occurs with some orders.
In the previous version 5.16.1 everything worked correctly.
We observe the following errors in the logs:
Your setup
The text was updated successfully, but these errors were encountered: