We have one order in our system that is giving us problems, preventing us from making any updates on it.
Whenever you try to save/update the order in the Commerce section of Umbraco we get a 500 error back from the API call to save (/umbraco/backoffice/vendr/vendrorder/SaveOrder)
This is the message:
Cannot edit order as it is, or has been processed for payment
Has anyone seen this before? Any ideas what could be causing the error?
This is only happening to one order in our system. We compared the data we had and couldn't find anything different
We are using Vendr 3.0.2 and Stripe payment processor.
Yes this was it. We had added some custom promotion checks in the order save and so it was trying to add a bonus product on to the order, even when saving in the backoffice.
The fix was to only apply our logic on save if the order was not finalized yet.
Unable to save order in Vendr
We have one order in our system that is giving us problems, preventing us from making any updates on it.
Whenever you try to save/update the order in the Commerce section of Umbraco we get a 500 error back from the API call to save (/umbraco/backoffice/vendr/vendrorder/SaveOrder)
This is the message:
Cannot edit order as it is, or has been processed for payment
Has anyone seen this before? Any ideas what could be causing the error?
This is only happening to one order in our system. We compared the data we had and couldn't find anything different
We are using Vendr 3.0.2 and Stripe payment processor.
Thanks.
Hi Kevin,
This usually happens if you try to change something on the order that would affect the price. What are you trying to change on the order?
Yes this was it. We had added some custom promotion checks in the order save and so it was trying to add a bonus product on to the order, even when saving in the backoffice.
The fix was to only apply our logic on save if the order was not finalized yet.
Thanks Matt!
is working on a reply...