summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/super_good/solidus_taxjar/api_params.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/super_good/solidus_taxjar/api_params.rb b/lib/super_good/solidus_taxjar/api_params.rb
index 6458018..b3c02fe 100644
--- a/lib/super_good/solidus_taxjar/api_params.rb
+++ b/lib/super_good/solidus_taxjar/api_params.rb
@@ -7,7 +7,7 @@ module SuperGood
.merge(customer_params(order))
.merge(order_address_params(order.tax_address))
.merge(line_items_params(order.line_items))
- .merge(shipping: order.shipment_total)
+ .merge(shipping: shipping(order))
.merge(SuperGood::SolidusTaxJar.custom_order_params.(order))
.tap do |params|
next unless SuperGood::SolidusTaxJar.logging_enabled