Skip to content

Commit c42ce4b

Browse files
committed
Use full discounted item price which takes into account promotions.
1 parent 54ff65d commit c42ce4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Action/ConvertPaymentAction.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ protected function convertOrderItems(Collection $items): array
171171
$orderItem->getProductName(),
172172
$orderItem->getVariantName()
173173
),
174-
'item_price' => $orderItem->getUnitPrice(),
174+
'item_price' => $orderItem->getFullDiscountedUnitPrice(),
175175
'vat_rate' => 25 / 100, // @todo Fix
176176
];
177177
})->toArray();

0 commit comments

Comments
 (0)