Skip to content

Commit

Permalink
round orderItem amount
Browse files Browse the repository at this point in the history
  • Loading branch information
fabeck@arvatis.com committed Jan 24, 2020
1 parent c189d3c commit c94e165
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function generate(OrderItem $orderItem, Order $order): array
$itemParams['amounts'] = [
[
'currency' => $currencyIdentity->getAdapterIdentifier(),
'priceOriginalGross' => $orderItem->getPrice(),
'priceOriginalGross' => round($orderItem->getPrice(), 2),
],
];

Expand Down

0 comments on commit c94e165

Please sign in to comment.