Copied to clipboard

Flag this post as spam?

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


  • robjakedorsett 13 posts 63 karma points
    May 23, 2021 @ 13:47
    robjakedorsett
    0

    OrderStatusCode 401 dbo.vendrOrder

    Hi, We are getting some orders which are flagged in the CMS eCommerce section as having errors despite having payment taken and finalized date.

    These specific orders have an orderStatusCode of 401 in the database. But not sure what this means?

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    May 23, 2021 @ 14:24
    Matt Brailsford
    100

    401 is an inconsistent order reference, which suggests that the order that was finalized did not have a matching order reference based on the URL structure sent to the payment gateway.

    I'd try and find what was the URL the payment gateway confirmed the payment on (which should contain an order is + order number in it) and then check it against the errored order to see what is different.

    The one that has the possibility to change is the order number, which will get reset if you try to modify the order in any way that would require recalculation after you have sent it to the payment gateway.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft