diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/super_good/solidus_taxjar/tax_calculator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/super_good/solidus_taxjar/tax_calculator.rb b/lib/super_good/solidus_taxjar/tax_calculator.rb index 474f762..0b02569 100644 --- a/lib/super_good/solidus_taxjar/tax_calculator.rb +++ b/lib/super_good/solidus_taxjar/tax_calculator.rb @@ -16,7 +16,7 @@ module SuperGood end def calculate - return no_tax if order.tax_address.empty? + return no_tax if order.tax_address.empty? || order.line_items.none? cache do next no_tax unless taxjar_breakdown |