Developer forum

Forum » Ecommerce - Standard features » Problem with Avalara

Problem with Avalara

Sean Meade Dynamicweb Employee
Sean Meade
Reply

We are having a problem with the new Avalara DLL. In the process of upgrading a site, we got the following error in the backend in the tax provider and on the frontend when trying to checkout: Exception of type 'Avalara.AvaTax.RestClient.AvaTaxError' was thrown. When we downgraded to the older DLL, Avalara seems to work properly.

I have attached Mario's comparison of the files.

I have also attached the Avalara log after setting the tax provider to debug. Please note the part about the missing ZIP code.

Any idea what might be going on here?

67b4c46f-5bc2-45c2-b9fc-3dea0b1abbf8.png

Replies

 
Matthias Sebastian Sort Dynamicweb Employee
Matthias Sebastian Sort
Reply

Hi Sean,

The exception "Make sure that the address is provided with a zip code." comes when both the Order.DeliveryZip or Order.CustomerZip are empty.

The update on the Provider is more or less a convertion from net framework 4.6.1 to net standard 2.0 so I don't know why this error comes in your case :(

Not sure if there is a way where I can get some additional information, so I could test this out on my local solution (debug my way through this BUG)?

BR

Matthias Sort

 
Sean Meade Dynamicweb Employee
Sean Meade
Reply

Hi, Matthias. Thanks for your reply. It has taken me awhile to get what you asked for.

Mario said to tell you the error is returned when we try to test the connection from the backend. So that removes the order context from troubleshooting.

Here's a link to a backup of the solution that you can download: https://qa-bocabearings.mydwsitec.com/qa.bocabearings.com.zip.

The following two folders were excluded from the backup because of how large they are:

F:\Domains\Sites\qa.bocabearings.com\Files\Files\downloads (9.3GB)

F:\Domains\Sites\qa.bocabearings.com\Files\Images (2.8GB)

Please let me know when you have downloaded the file so we can delete it.

Thanks, Sean

 
Matthias Sebastian Sort Dynamicweb Employee
Matthias Sebastian Sort
Reply

Hi Sean,

Thanks, I have now downloaded the file, and will have a look at it very soon :)

BR

Matthias Sort

 
Sean Meade Dynamicweb Employee
Sean Meade
Reply

Thank you :-)

 
Matthias Sebastian Sort Dynamicweb Employee
Matthias Sebastian Sort
Reply

Hi Sean,

Sorry for the late reply, busy...

I had some trouble setting it up locally, so therefor I logged in to your site as Super-user (hope that was ok), to check op on the setup for your provider setting.

I can see that you uses "https://development.avalara.net/" as Tax Service Url, you need to change that to "https://sandbox-rest.avatax.com" (production is "https://rest.avatax.com") when running our version 3.0.0 of AvalaraTaxProvider, as it runs the REST v2 not the SOAP, I do see that our Documentation-site does not say anything about it, so will send it our document-guy! :)

But the error msg you are getting, is when you test the connection right? :)

BR

Matthias Sort

 

You must be logged in to post in the forum