diff --git a/src/Resources/app/administration/src/module/mollie-payments/components/mollie-refund-manager/services/RefundItemService.js b/src/Resources/app/administration/src/module/mollie-payments/components/mollie-refund-manager/services/RefundItemService.js index b70c8f9b7..69075f306 100644 --- a/src/Resources/app/administration/src/module/mollie-payments/components/mollie-refund-manager/services/RefundItemService.js +++ b/src/Resources/app/administration/src/module/mollie-payments/components/mollie-refund-manager/services/RefundItemService.js @@ -214,10 +214,10 @@ export default class RefundItemService { if (item.refundQuantity > 0 && item.refundQuantity + item.refunded === item.shopware.quantity) { refundTaxAmount += item.shopware.tax.totalToPerItemRoundingDiff; } - const promotionTaxValuePerQty = item.shopware.promotion.taxValue / item.shopware.promotion.quantity; let promotionTaxValue = 0; - if (item.refundTax) { + if (item.refundTax && item.shopware.promotion.taxValue > 0) { + const promotionTaxValuePerQty = item.shopware.promotion.taxValue / item.shopware.promotion.quantity; promotionTaxValue = promotionTaxValuePerQty * item.refundQuantity; }