Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mbe1987 committed Dec 11, 2024
1 parent 7d586e6 commit f78d4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion paypal-commercetools-extension/src/utils/map.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const mapCommercetoolsLineItemsToPayPalItems = (
return {
unit_amount: {
value: mapCommercetoolsMoneyToPayPalMoney({
centAmount: taxedNetAmount
centAmount: taxedNetAmount != null
? taxedNetAmount / lineItem.quantity
: lineItem.price.value.centAmount,
fractionDigits,
Expand Down

0 comments on commit f78d4bd

Please sign in to comment.