Replies: 1 comment
-
|
That’s a good suggestion. I’ll get this added to our backlog to take a lot at in a future sprint. Thanks for doing the digging 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Which component is this idea for?
Umbraco Commerce (Core)
Describe your idea
I thought about creating an issue, but for now I'll park this a suggestion / feature request.
I ran into "Failed to create temporary order for price calculation" using TryCalculatePriceWithAdjustmentsAsync() using Umbraco 16.3.
After a deep-dive into Umbraco Commerce internals I found that CreateTempOrderAsync() threw an exception with "Shipping Method is not allowed in orders shipping country / region" but that fail-state / exception is discarded.
So could you eiher:
A) Combine the two exceptions/messages either be be combined into: "Failed to create temporary order for price calculation. Cause: Shipping Method is not allowed in orders shipping country / region" or use AggregateException?
B) Simply throw the exception from CreateTempOrderAsync() instead of "Failed to create temporary order for price calculation"?
Context
No response
Beta Was this translation helpful? Give feedback.
All reactions