Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Meilander 82 posts 408 karma points c-trib
    Nov 08, 2022 @ 19:01
    Kevin Meilander
    0

    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.

  • Matt Brailsford 4125 posts 22222 karma points MVP 9x c-trib
    Nov 09, 2022 @ 08:50
    Matt Brailsford
    100

    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?

  • Kevin Meilander 82 posts 408 karma points c-trib
    Dec 16, 2022 @ 17:16
    Kevin Meilander
    1

    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!

Please Sign in or register to post replies

Write your reply to:

Draft