From 2e37b40e08cc4f2dcb31bf0bb3c41fb213669065 Mon Sep 17 00:00:00 2001 From: Jared Norman Date: Mon, 3 Feb 2020 21:16:45 -0800 Subject: Add support for modifying order params --- lib/super_good/solidus_taxjar/api_params.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/super_good/solidus_taxjar') diff --git a/lib/super_good/solidus_taxjar/api_params.rb b/lib/super_good/solidus_taxjar/api_params.rb index 3e5bcb4..6458018 100644 --- a/lib/super_good/solidus_taxjar/api_params.rb +++ b/lib/super_good/solidus_taxjar/api_params.rb @@ -8,6 +8,7 @@ module SuperGood .merge(order_address_params(order.tax_address)) .merge(line_items_params(order.line_items)) .merge(shipping: order.shipment_total) + .merge(SuperGood::SolidusTaxJar.custom_order_params.(order)) .tap do |params| next unless SuperGood::SolidusTaxJar.logging_enabled -- cgit v1.2.3