Closed protzi closed 6 years ago
@protzi Checking this out now, thanks for reporting the issue!
@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.
@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
}
@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!
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.
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.
Response: { "error": "Not Acceptable", "detail": "shipping is missing", "status": "406" }
Is there a fix for this? Please let me know, Thanks
Thanks for the report @lamichhanesuresh. If you pass the same params as JSON in Postman the request returns the appropriate response:
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!
Thanks @ScottRudiger . I modified my request to be json and it worked like a charm.
Hi, I'm trying an example from the doc and get the error (406 (Not Acceptable) shipping is missing)...