Skip to content
Snippets Groups Projects
Commit 931f3bbf authored by travis-bradbury's avatar travis-bradbury Committed by Jonathan Sacksick
Browse files

Issue #3249791 by tbradbury: Consider adjustments to shipping amounts.

parent 36651df4
No related branches found
No related tags found
No related merge requests found
......@@ -296,7 +296,7 @@ class AvataxLib implements AvataxLibInterface {
'taxCode' => $this->config->get('shipping_tax_code'),
'number' => $shipment->uuid(),
'description' => $shipment->label(),
'amount' => $shipment->getAmount()->getNumber(),
'amount' => $shipment->getAdjustedAmount(array_diff($adjustment_types, ['tax']))->getNumber(),
'quantity' => 1,
'addresses' => [
'shipFrom' => self::formatAddress($store->getAddress()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment