Skip to content

Commit

Permalink
[BRIQ-47] Correction to amount calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
martinSternelius committed Dec 15, 2021
1 parent 3d7040f commit 2eb01ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function collect(CreatePaymentSession $paymentSession, $subject)
}
$paymentSession->addAmount(
$this->toApiFloat(
$quote->getBaseGrandTotal() - $quote->getShippingAddress()->getShippingInclTax()
$quote->getBaseGrandTotal() - $quote->getShippingAddress()->getBaseShippingInclTax()
)
);
}
Expand Down

0 comments on commit 2eb01ef

Please sign in to comment.