FinalizedDate not set (v.13.7)
Which component is this issue related to?
Umbraco Commerce (Core)
Which Umbraco Commerce version are you using? (Please write the exact version, example: 10.1.0)
13.7.2
Bug summary
We’ve encountered an issue with an order where the finalizedDate is null.
After checking Quickpay, the database, and our logs, we found the following:
-
Quickpay shows a valid payment for the user, and the user’s bank has withdrawn the funds — everything looks correct there.
-
In Umbraco, we can see the cart but not the order.
-
In the database, both the order and the cart exist.
When comparing this order to a valid one, I noticed that finalizedDate was null. Searching through all orders confirmed that this is the only one with a missing finalizedDate.
This resulted in the user did not get a invoice.
I tried manually setting the finalizedDate in the database, and that made the order visible in Umbraco Commerce. However, it was still not possible to send an invoice email to the user afterward.
Could this have been a one-time issue, or is there a more likely underlying cause for this issue?
Would it help to upgrade the shop from our v.13 ?
Best Regards Daniel
Specifics
No response
Steps to reproduce
No steps to reproduce, because is looks like a one time encounter.
But the user just added a product to the cart, and paid through quickpay without trouble.
But the order is not visible in Umbraco Commerce, but visible in the database. Finalized Date is null, and the only order we have where finalized date is null.
Expected result / actual result
A correct order showing in Umbraco Commerce, and a invoice to the user.
Dependencies
No response
Oh man, I'm not even sure how we can debug that.
Really the only things I could suggest would be to check your logs to see if something happened during that time? did multiple saves occur? Did you somehow get two orders with the same number? if so why? Do you have any extensions that modify the order in any way and did they malfunction.
These are all just general suggestions though as without any real replication steps I can't really be sure.
Yeah, me neither, i have tried to place a order on our QA environment, where it works as it should. And today we already have orders placed on our production, without missing finalizedDate.
Our logs doesn't tell us anything at the moment, we can see the cart, and the order, but no errors. But we will try to add more logs into the purchase flow.
Thanks for your answers
Hi @Damnias3,
Thank you for getting back to us, I'll leave this open for a while in case you get more details and then I will close it.