The orders also seem to be finalized, if I check the database, I cannot see any differences between orders finalized this way and those that are finalized through the regular checkout flow.
However, orders finalized through the API, get the orderstatus "Error". And there aren't any further information in the Logs as to why.
I came up with a solution to my problem, its not ideal but will do for now. I found some errors in the logs
An error occured whilst fetching the exchange rate for order...
I imagine once the order is saved, something behind the scenes runs that tries to get the exchange rates, I dont really care about this or need it, so I just set the status after the first save and then save the order again, and this now saves with the correct order status
Yea I found that too, but dismissed it as it looked like an issue with a limitation on a 3rd party service that handles exchange rates, and it seems to have been resolved by switching to a different service.
I'm not sure it's related to this issue. Maybe you have a different issue with exchange rates, which could explain why you are seeing that error in your logs, and I'm not. 🤷♂️
But thanks for the input 👍, I did not think to do a double save, it's an acceptable workaround for now, and then I hope someone else comes a long with a solution to the issue.
Finalizing Umbraco Commerce orders result in OrderStatus Error
Hi
I have a product configurator where customers can request and order specialized products.
As customers should not go through the regular checkout flow with these products, I'm trying to finalize the orders through the API instead.
From what I understand, this should do it.
The orders also seem to be finalized, if I check the database, I cannot see any differences between orders finalized this way and those that are finalized through the regular checkout flow.
However, orders finalized through the API, get the orderstatus "Error". And there aren't any further information in the Logs as to why.
Umbraco v13.1.1
Umbraco Commerce v13.0.0
I'm also having this problem for a similar scenario. I've tried specifically setting the order status using
but this doesnt seem to make a difference, I still get an order status of Error.
Hopefully someone can help?
I came up with a solution to my problem, its not ideal but will do for now. I found some errors in the logs
I imagine once the order is saved, something behind the scenes runs that tries to get the exchange rates, I dont really care about this or need it, so I just set the status after the first save and then save the order again, and this now saves with the correct order status
I can see that I forgot to include version numbers in my initial post, so I've added them.
I don't get any errors in the logs at all, perhaps because we're using different versions.
But what you are saying is, that you are doing this?
I can confirm that the above is working, however I would prefer to find out why and the order being set to "Error" in the first place.
Hi Micheal, yeah thats correct, like i said its not ideal but does what I need.
I found this old thread which might be of use (or at least its vaguely related to why I was seeing Error as my order status)
https://our.umbraco.com/packages/website-utilities/vendr/vendr-support/108153-exchange-rate-for-order-vendr
Im using Umbraco V13.0.3 and Umbraco Commerce v13.0.0 in case you were wondering
Yea I found that too, but dismissed it as it looked like an issue with a limitation on a 3rd party service that handles exchange rates, and it seems to have been resolved by switching to a different service.
I'm not sure it's related to this issue. Maybe you have a different issue with exchange rates, which could explain why you are seeing that error in your logs, and I'm not. 🤷♂️
But thanks for the input 👍, I did not think to do a double save, it's an acceptable workaround for now, and then I hope someone else comes a long with a solution to the issue.
is working on a reply...