Avalara tax request error:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
We are using the Tax.Avalara v1.22 plugin by nopCommerce team on a nopCommerce 3.8 site.

Maybe have had the following error appear a couple times, and this time it resulted in an order going through tax free.

--
Short Message:
Avalara tax request error: { "ResultCode": "Error", "Messages": [ { "Summary": "DocStatus is invalid for this operation.", "Details": "Expected Saved|Posted", "RefersTo": "DocStatus", "Severity": "Error", "Source": "Avalara.AvaTax.Services.Tax"} ] }

Full Message:
System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at Nop.Plugin.Tax.Avalara.Helpers.AvalaraTaxHelper.PostTaxRequest(TaxRequest taxRequest, AvalaraTaxSettings avalaraTaxSettings, ILogger logger)
--

We are using the built-in one page checkout, and the relative URL that generated the error was /checkout/opcconfirmorder/.

We have had no luck recreating the issue via customer impersonation. The products in the cart were not set to tax-free, the user is not flagged as tax exempt, and other orders all appear to be pulling in correct tax rates.

Has anyone else had this issue, and found out the cause and a viable solution?
6 years ago
I've noticed something in our system log regarding the avalara free plug-in. Thank you to the Nop team for having this plug-in available albeit looks like there is no 4.0 version- yet??

3.7 ver 1.1 of plug-in

Since December 28,2017 the system log has started accumulating errors as follows - prior to that date there weren't any of these and now they are occurring multiple times a day. Could be probing but I've yet to look into it. In a review I did not find any missing sales tax calculations. Just strange that it started on a specific date and has continued.

The level of log entry.Log level:   Error
The log entry message.Short message:   Avalara errors: An Address is incomplete or invalid.
The details for the log entry.Full message:   System.Net.WebException: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse() at Nop.Plugin.Tax.Avalara.AvalaraTaxProvider.GetTaxResult(AvalaraTaxRequest taxRequest)


Date/Time the log entry was created.Created on:   2/15/2018 12:34:59 PM
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.