You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Mollie is set up to invoice the order once the payment has been authorized. When the payment has been authorized, I see that the state of the order changes to processing, but the payment status in Magento is stuck on "open." Upon further inspection, I noticed that although an invoice with the correct products and amount is created, the qty_invoiced in the sales_order_item table for these order_items is still 0.
Because the items are not invoiced, the order can never reach a "complete" state and can never be refunded because Magento thinks they were never invoiced.
A workaround I've found is to invoice the order again (manually using the button on the order page). This adds the qty_invoiced, and after doing this, we can fetch the order status again, completing the order. The problem with this approach is that it's manual and causes our accounting module to fire twice (two bookings for one order).
My guess is that this is due to some conflict between two modules that causes Mollie to behave weirdly. Any tips on finding this?@
Used versions
Magento Version number(eg 2.3.5): 2.4.7-p2
Open source/Enterprise/B2b: Open source
Mollie version number (Check configuration): v2.42.1
Screenshots
Order showing no invoiced qty
The invoice created by Mollie (correct products, correct amount)
Creating a new (empty) invoice
Order is now complete and payment status from mollie can be fetched again, now returns "Paid"
The text was updated successfully, but these errors were encountered:
Thank you for bringing this up. You’re right, under normal circumstances, the invoiced amount should match the correct amount displayed on the order page. However, this can sometimes be tricky/hard to debug, as such issues may arise due to multiple processes running simultaneously.
The best approach is to disable as many modules as possible and test until orders are created correctly. Then, re-enable the modules one by one until the issue reappears. This should give you a good idea of which module is causing the conflict.
I identified the issue. There is a module connecting our ERP to Magento. When the "invoice paid" event is triggered, certain items in our ERP get confirmed. To easily verify this, we add a comment to the order. However, this process of adding a comment to the order was blocking Mollie.
Describe the bug
Mollie is set up to invoice the order once the payment has been authorized. When the payment has been authorized, I see that the state of the order changes to processing, but the payment status in Magento is stuck on "open." Upon further inspection, I noticed that although an invoice with the correct products and amount is created, the qty_invoiced in the sales_order_item table for these order_items is still 0.
Because the items are not invoiced, the order can never reach a "complete" state and can never be refunded because Magento thinks they were never invoiced.
A workaround I've found is to invoice the order again (manually using the button on the order page). This adds the qty_invoiced, and after doing this, we can fetch the order status again, completing the order. The problem with this approach is that it's manual and causes our accounting module to fire twice (two bookings for one order).
My guess is that this is due to some conflict between two modules that causes Mollie to behave weirdly. Any tips on finding this?@
Used versions
Screenshots
Order showing no invoiced qty
The invoice created by Mollie (correct products, correct amount)
Creating a new (empty) invoice
Order is now complete and payment status from mollie can be fetched again, now returns "Paid"
The text was updated successfully, but these errors were encountered: