-
Notifications
You must be signed in to change notification settings - Fork 53
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
Wrong Invoice / Order State currupt #786
Comments
Hi @simonmaass, Thank you for opening this issue. Could you please try to reproduce the problem with the same order in a staging or development environment? I haven't been able to replicate it on our end. Could you also clarify the product type for the " Additionally, if you can reproduce the issue on a clean/vanilla Magento instance, please share the details with us directly so we can assist you further. You have our contact information. 😊 |
I have the same problem, using 2.38.0. , but as there exists a newer "open" payment, the status in Magento is still "Pending payment". I cannot confirm that it just concerns backorder products. I have checked the orders, some products have backorder status, but I also have orders where no backorder products are contained. I also checked the backorders settings in the products. Some have "allow qty below 0", some have "no backorders". |
Manual fixes for these orders would be to do something like the following: Search for the order by order_id in mollie_payment_transaction_to_order table. I'm guessing you will have multiple entries here (likely 2) for the affected orders. The earlier entry should contain the correct transaction_id Copy that and paste it in sales_order table for the correct order. Now open that order in magento backend and click on "fetch status" under payment information. For some reason, in certain circumstances more than one transaction is started. The first one successfully finishes; but then a second entry is logged which puts the order on "pending" (and cancelled after a while if you have auto cancel enabled) |
Hi @simonmaass and @Quazz, could you please share the debug log and possibly the access log as well? With the current information, I'm unable to reproduce or identify the issue. Let's investigate this together. |
Is there a way to send this privately since it contains personal information of customers? I see a lot of activity in the debug log concerning the orders that have issues, even long after the order has been processed already. |
Rezeptgebühr is a "virtual" product. I dont believe the "backorder" should have any impact... |
I have every day several of that issues. I enabled last night the debug mode of the mollie extension. I will send you the mollie.log file via mail. Which access log you're looking for? the server log? Or system.log? |
Thank you for sending over your debug log, @julia211091. I will review it and get back to you shortly. |
Hi there @julia211091 , @Quazz and @simonmaass , The functionality has been deprecated a while ago, but it’s still available: We suspect that this screen is the cause of these issues. To be more precise: When users use the “back” button after making the payment and going back to this page. You can disable it by removing the record from your |
Hey @Frank-Magmodules , we are using magento via API with a PWA as frontend. I am not sure what this config does but it seems like it is a frontend user related feature that is not impacting us. PS. also the feature is disabled |
Hi @Frank-Magmodules , |
Thanks, deleted the value from DB. Will monitor the situation; it didn't happen very frequently so might take some time. |
Hello, |
Thanks @julia211091, that's encouraging! I'll also wait for @Quazz's response so we can resolve the issue with a positive outcome. |
Hi All, I'm happy to inform you that we've covered this case in the latest release. Thank you for your report and information from all. I'm closing this issue for now, but feel free to reopen it or comment whenever needed. Have a great weekend! |
Describe the bug
We cannot really pin point the problem but can only describe the bug at the moment. We will try to collect more data over time...
We have noticed that a couple of orders are getting currupt after wrongfully created invoice.
The payment process looks fine looking at the comment history:
Mollie webhook log:
But as you can see, the order was created on the 10.06 but there is an order status update on the 12.06:
The order is now currupt as there is an invoice but the order items are not correctly labeled as "invoiced":
Possible ideas what the problem might be: 0€ priced products? Just an idea...
Used versions
To Reproduce
Steps to reproduce the behavior:
Cannot really pin point the bug at the moment...
Expected behavior
The order should have the correct state "Processing" with a propper invoice.
Actual behavior
"Currupt" order state as you are not able to create annother invoice nor are you able to propperly ship the items...
What is strange is that there is not webhook on mollie side that is responsible to trigger the "again" new processing state on the 12.06....
The text was updated successfully, but these errors were encountered: