SetTagsAsync throws CartConfirmedException after order confirmed

Just upgraded from Litium 8.8 to 8.14.2 and stumbled upon an issue in the checkout it doesn’t look like we are doing anything different in the checkout then the accelerator but after order confirmation and regardless if it is klarna or direct pay app payment we get an error in a EnsureTagsAsync method called from CheckoutViewModelBuilder.BuildAsync()

Anyone encountered the same problem?

Litium version: 8.14.2

Guess it is related this Login

Yes, it’s related to that and the cart context should not be changed after the order is confirmed. This to avoid that order and payment transactions contains different data. If tag should be added when the order is confirmed, the TagService can be used for the order instead.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.