Initial setup questions #131
Replies: 1 comment 12 replies
-
Hey @embold-given! I wanted to just clarify something about your configuration to make sure everything is setup right! Spree.config do |config|
config.tax_calculator_class = SuperGood::SolidusTaxjar::TaxCalculator
end This piece of config will reconfigure the "Default Tax" base calculator option to use the TaxJar calculator.
If it's still not showing taxes after verifying your configuration, could you search your server logs for I also wanted to note that we currently are not actively testing against Solidus 3 - it's a high priority task to test against that version and fix any potential problems that arise, but as of now, it's untested. As a side note, thanks for pointing out the missing info the readme! We'll be sure to correct that. |
Beta Was this translation helpful? Give feedback.
-
Initial setup looks pretty straightforward, but I'm not seeing what I would expect.
With everything configured as instructed, checkout doesn't show any taxes.
I'm on Solidus 3 and Ruby 3
I created the TaxRate with the name of "Sales Tax". It wasn't specified, but I added a rate of 0 because it wouldn't let me save without a numeric value.
I created the
taxjar.rb
and have been using that for general configuration settings.It wasn't in the readme here, but I saw it in the instructions on rubygems, I've tried adding
to each of
taxjar.rb
, tospree.rb
and tosolidus.rb
(but not all at the same time, that's just madness)We're using encrypted credentials on this project, so I added the
TAXJAR_API_KEY
to the environment variables via my spree.rb file like so:ENV['TAXJAR_API_KEY'] = Rails.application.credentials[:development][:taxjar_api_key]
In TaxJar I have taxes set for the state that I'm using for test orders.
Between rubygems and github I think I've got everytrhing set up the way I'm supposed to, but it's not acting how I expect. Am I missing something?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions