Code Monkey home page Code Monkey logo

Comments (8)

fastdivision avatar fastdivision commented on May 30, 2024 1

@protzi Please upgrade to v2.0.1. Should be fixed now. Specs didn't catch this issue, I'll make sure to get them updated right away.

from taxjar-node.

fastdivision avatar fastdivision commented on May 30, 2024 1

@protzi In the US, you only need to collect sales tax in states where you have nexus. If the destination state isn't provided in the from_ or nexus_addresses[] params and we don't have the state on file as a nexus state in your TaxJar account, we'll return back 0%. Hope this helps!

from taxjar-node.

fastdivision avatar fastdivision commented on May 30, 2024

@protzi Checking this out now, thanks for reporting the issue!

from taxjar-node.

protzi avatar protzi commented on May 30, 2024

@fastdivision thanks for such fast fix, could please inform also why its calculating only for same state, if destination state is diff then response like this

{
    "order_total_amount": 105,
    "shipping": 100,
    "taxable_amount": 0,
    "amount_to_collect": 0,
    "rate": 0,
    "has_nexus": false,
    "freight_taxable": true,
    "tax_source": null
}

from taxjar-node.

exodmn avatar exodmn commented on May 30, 2024

Hello @fastdivision, I seem to be running into the same ' Not Acceptable - shipping is missing' issue. I am using the sample request from the TaxJar developer site and I am connecting to the sandbox url 'https://api.sandbox.taxjar.com/v2/'. I am using the latest 3.0.2 version installed in Visual Studio using NuGet.

Any help would be greatly appreciated.

from taxjar-node.

lamichhanesuresh avatar lamichhanesuresh commented on May 30, 2024

Sandbox works for me. But production doesn't work for me. I also tried POST request in the Postman and same error as the title of this post. I am not using taxjar api, rather doing a HTTP POST Request.

Request:
https://api.taxjar.com/v2/taxes?to_zip=80038&to_city=Broomfield&to_state=CO&to_street=145%20Nickel%20St&to_country=US&amount=37.80&shipping=8.28&customer_id=1

Response:
{
"error": "Not Acceptable",
"detail": "shipping is missing",
"status": "406"
}

Is there a fix for this?
Please let me know,
Thanks

from taxjar-node.

ScottRudiger avatar ScottRudiger commented on May 30, 2024

Thanks for the report @lamichhanesuresh. If you pass the same params as JSON in Postman the request returns the appropriate response:

Screen Shot 2019-07-30 at 9 54 21 AM

I see the same error when making a request with query params, which could be more descriptive of the problem. We'll take note of it!

from taxjar-node.

lamichhanesuresh avatar lamichhanesuresh commented on May 30, 2024

Thanks @ScottRudiger . I modified my request to be json and it worked like a charm.

from taxjar-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.