Exclude all tax adjustments in item building

Included taxes are ignored here, and the additional tax total is is handled separately.
This commit is contained in:
Matt-Yorkley
2021-02-22 15:07:43 +00:00
parent 3ac16432c7
commit 20f4a5359e

View File

@@ -8,7 +8,7 @@ class PaypalItemsBuilder
def call
items = order.line_items.map(&method(:line_item_data))
tax_adjustments = order.adjustments.tax.additional
tax_adjustments = order.adjustments.tax
shipping_adjustments = order.adjustments.shipping
order.adjustments.eligible.each do |adjustment|