Umbraco Commerce Concurrency exception
m

Mike Masey

about 1 year ago
Heyo, I'm currently experiencing an unexpected error with my local Umbraco Commerce instance. It was all working as expected then suddenly started throwing this error on a successful transaction. The order completes correctly, but it doesn't take me to the confirmation page. I'm using both the Stripe and Checkout packages, although the checkout is a copy of the source, rather than the nuget due to needing some additional functionality. The error appears to be coming from Umbraco Commerce itself, but i'm not sure why. I did accidently restart the site midway through a transaction so I wonder if somethings gone funky in the db? This is all is get form the error message
System.Data.DBConcurrencyException: A Concurrency update occurred in table 'umbracoCommerceOrder' for primary key value(s) = 'a28b060c-6bed-4ab9-a433-019002723487' and version = '11'
   at Umbraco.Commerce.Infrastructure.Resiliency.PollyExecutionStrategyBase.ExecuteAsync[TResult](Func`2 operation, Func`2 verifySucceeded, CancellationToken cancellationToken)
   at Umbraco.Commerce.Core.UmbracoCommerceUnitOfWorkProvider.ExecuteAsync[T](IUnitOfWorkOptions options, Func`3 action, CancellationToken cancellationToken)
   at Umbraco.Commerce.Cms.Web.Controllers.UmbracoCommercePaymentController.CallbackWithRetry(IPaymentProvider paymentProvider, PaymentProviderContext ctx, Int32 retryCount, Int32 maxRetries)
Any assistance would be greatly appreciated. This is on Umbraco 13.3.2 and Umbraco Commerce 13.1.4.