Skip to content

Commit

Permalink
[HOTFIX] Fix payment generation having promotion code with quantity g…
Browse files Browse the repository at this point in the history
…reater than 1
  • Loading branch information
lruozzi9 committed Aug 22, 2024
1 parent 0f3e7b3 commit 2706acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Converter/CommonOrderConverterTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private function createOrderLineFromOrderItem(OrderInterface $order, OrderItemIn
$orderItem->getQuantity(),
$taxRate,
Amount::fromSyliusAmount($totalAmount),
Amount::fromSyliusAmount($totalDiscountAmount),
Amount::fromSyliusAmount($totalDiscountAmount * $orderItem->getQuantity()),
Amount::fromSyliusAmount($totalTaxAmount),
Amount::fromSyliusAmount($orderItem->getUnitPrice()),
$productUrl,
Expand Down

0 comments on commit 2706acb

Please sign in to comment.