Closed arthurels69 closed 1 year ago
In OrderEuropeanVATNumberApplicator.php l61 you should replace:
foreach ($order->getItems() as $item) { $quantity = $item->getQuantity(); Assert::notSame($quantity, 0, 'Cannot apply tax to order item with 0 quantity.'); $item->removeAdjustmentsRecursively(AdjustmentInterface::TAX_ADJUSTMENT); }
By
$order->removeAdjustmentsRecursively(AdjustmentInterface::TAX_ADJUSTMENT);
Hello @Modjo69 you are right, I don't know why I didn't do it earlier. Also I must add some tests with shipments because I use this plugin only with virtual products right now.
In OrderEuropeanVATNumberApplicator.php l61 you should replace:
By