diff options
Diffstat (limited to 'lib/super_good')
-rw-r--r-- | lib/super_good/solidus_taxjar/api_params.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/super_good/solidus_taxjar/api_params.rb b/lib/super_good/solidus_taxjar/api_params.rb index b8ef896..3e5bcb4 100644 --- a/lib/super_good/solidus_taxjar/api_params.rb +++ b/lib/super_good/solidus_taxjar/api_params.rb @@ -29,6 +29,13 @@ module SuperGood ] end + def tax_rate_address_params(address) + { + amount: 100, + shipping: 0, + }.merge(order_address_params(address)) + end + def transaction_params(order) {} .merge(customer_params(order)) |