From 20f4a5359e6e9fc3b5f633f13fbfb8d5852ba4c6 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 22 Feb 2021 15:07:43 +0000 Subject: [PATCH] Exclude all tax adjustments in item building Included taxes are ignored here, and the additional tax total is is handled separately. --- app/services/paypal_items_builder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/paypal_items_builder.rb b/app/services/paypal_items_builder.rb index 120bc7ccd1..6eca8669f7 100644 --- a/app/services/paypal_items_builder.rb +++ b/app/services/paypal_items_builder.rb @@ -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|