Closed Stoux closed 2 months ago
Hi @Stoux,
We weren't able to reproduce this issue in a vanilla Magento environment. Could you give it a try on your end? If possible, try reproducing the issue on your staging or development environment and disable any potential overrides or third-party plugins that might be interfering.
If you need assistance with this, I'm happy to help—feel free to contact us directly.
Describe the bug Figured it might have been the same bug as https://github.com/mollie/magento2/issues/791 but it does seem to be different as we don't actually see the status update.
As described in the title: We very occasionally have orders that revert back to the pending payment state after hitting the processing state. They also have a paid invoice. The weird part is that there doesn't seem to be an update of the state/status through the Order model, it looks like it's circumventing the Order model completely. I'm also not sure it's Mollie that's causing this but I'm kinda out of ideas, so any input is welcome.
We've got an order that's progressed to processing:
Yet it's state is still pending payment:
So I've added a plugin around setData for the Order to maybe find the culprit:
Yet, it isn't called:
The state of the order corrects itself if we re-fetch the status using the "Update Payment Status" button in Mollie (which leads me to believe it has to be something in the plugin, but again: just guessing at this point).
Any idea where I might look and/or what I can log/track/wrap to maybe find the culprit? Or at least: exclude Mollie from being a suspect.
Used versions