Copied to clipboard

Flag this post as spam?

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


  • Philip Hayton 98 posts 435 karma points
    Aug 19, 2021 @ 09:36
    Philip Hayton
    0

    NullReferenceError when viewing order

    Hi guys,

    I'm building a new site using the Stripe as our only payment method. The integration works fine however when I go to view the order in Umbraco it throws an exception (see below).

    The order page loads ok, but after ~ 1 second this error pops up. It's also affecting the Refund button, exactly the same error occurs.

    Any ideas?

    at Vendr.Core.Web.Services.PaymentService.FetchOrderPaymentStatus(OrderReadOnly order)
       at Vendr.Web.Controllers.OrderController.SyncPaymentStatus(Guid orderId)
       at lambda_method(Closure , Object , Object[] )
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_2.<GetExecutor>b__2(Object instance, Object[] methodParameters)
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
    
  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 19, 2021 @ 09:44
    Matt Brailsford
    100

    Hi Philip,

    What version of Vendr + Stripe provider are you using?

    Matt

  • Philip Hayton 98 posts 435 karma points
    Aug 19, 2021 @ 10:19
    Philip Hayton
    1

    Hi Matt,

    Thanks for the swift response. I was on 1.8.3 but updating to 1.8.5 seems to have fixed the issue.

    Thanks amigo! 👍🏻

    Cheers

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 19, 2021 @ 10:30
    Matt Brailsford
    0

    Perfect! I had a feeling that would be the case. Glad it's all working now 👍

Please Sign in or register to post replies

Write your reply to:

Draft