The TaxOrderProcessor for stores with prices that include tax changes the unit price in a way in which if the price was once set to overridden, it becomes set to not overridden due to the incorrect use of OrderItemInterface::setUnitPrice().

Usually during refresh there is a check to see if the price is overridden but in this case it does not check.

PR coming in github with test failure and fix.

CommentFileSizeAuthor
#6 3016740-6.patch1.59 KBupchuk
#3 3016740-3-tax-override.patch2.13 KBbojanz

Comments

Upchuk created an issue. See original summary.

upchuk’s picture

Status: Needs work » Needs review
bojanz’s picture

StatusFileSize
new2.13 KB

Here's the patch from the PR.

bojanz’s picture

Status: Needs review » Needs work

The last submitted patch, 3: 3016740-3-tax-override.patch, failed testing. View results

upchuk’s picture

StatusFileSize
new1.59 KB

There was something wrong with the previous patch generated from the Github PR. Attached the correct one.

upchuk’s picture

Status: Needs work » Needs review

  • bojanz committed 343d9a3 on 8.x-2.x authored by Upchuk
    Issue #3016740 by Upchuk, bojanz: TaxOrderProcessor breaks the order...
bojanz’s picture

Status: Needs review » Fixed

Tweaked the test and committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.