Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3-0-stable no nexus defined issue #46

Open
carlos-serfe opened this issue Sep 24, 2019 · 0 comments
Open

3-0-stable no nexus defined issue #46

carlos-serfe opened this issue Sep 24, 2019 · 0 comments

Comments

@carlos-serfe
Copy link

I've been recently made some tests and found that if the nexus, on the taxjar panel, isn't defined there's an error when checking the taxjar_response.

Worth to mention that I'm using taxjar-ruby (1.7.1) if that's matters.

The issue is that the Spree::Taxjar.new(order).calculate_tax_for_order response is returning 0 instead of nil which is evaluated as true and causes an error later on taxjar_response.breakdown.line_items because the response is an integer and doesn't have the property breakdown.

Screenshot from 2019-09-24 16:31:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant