Page 1 of 1

WA State Tax Provider not Working

Posted: Sun Oct 29, 2017 11:50 am
by calvis
Looks like our WA State Tax Provider has not been operational for quite some time.

Could not calculate with the configured tax provider: CommerceBuilder.Taxes.Providers.WATax.WATaxProvider, CommerceBuilder.WATax
Exception: The request was aborted: Could not create SSL/TLS secure channel. Stack Trace: at System.Net.HttpWebRequest.GetResponse() at CommerceBuilder.Utility.HttpClient.DoGetRequest(String requestUrl) at CommerceBuilder.Taxes.Providers.WATax.DorGateway.GetTaxRate(TaxAddress address) at CommerceBuilder.Taxes.Providers.WATax.DorGateway.GetTaxInfo(TaxAddress taxAddress) at CommerceBuilder.Taxes.Providers.WATax.WATaxProvider.Calculate(Basket basket, Boolean save) at CommerceBuilder.Taxes.Providers.WATax.WATaxProvider.Calculate(Basket basket) at CommerceBuilder.Taxes.TaxCalculator.Calculate(Basket basket)

Any clues on how to fix it? Can anyone else that uses it in the state of WA test to see if theirs is operational?

Re: WA State Tax Provider not Working

Posted: Mon Oct 30, 2017 3:09 am
by compunerdy
I live in Idaho now.. but here is who I used to contact to check if it was a server issues on their end.

Dave Wright - DOR tax tool
360-596-3650
davidwr@dor.wa.gov

Re: WA State Tax Provider not Working

Posted: Mon Oct 30, 2017 6:39 am
by calvis
Hi Tim,

That was very helpful:

Here is what he said:
Hello Charles;

You will want to check the URL being called; you may still be referencing http://dor.wa.gov/addressrates.aspx which was migrated to another service endpoint. Several IIS rules were put in-place to redirect to the correct/new location but we have seen some users have issues with this due to their implementation of the calls to the service.

You can try calling the new endpoint direct; https://webgis.dor.wa.gov/webapi/addressrates.aspx and see if that addresses your issue.

We will also add you to our distribution list for notifications of updates or outages due to maintenance.
EDIT: Fixed wrong url given to me by the WA State Official

Re: WA State Tax Provider not Working

Posted: Mon Oct 30, 2017 8:29 am
by Katie
We discovered the issue about a week ago when one of our internal test cases failed. The new endpoint will be fixed in an upcoming Service Release for Gold. (Very soon)

If you have the source, then you can make the change in the DORGateway.cs file by changing the old URL to the new one:

FROM

Code: Select all

http://dor.wa.gov/AddressRates.aspx?output=xml
TO

Code: Select all

http://webgis.dor.wa.gov/webapi/AddressRates.aspx?output=xml
Thanks
Katie

Re: WA State Tax Provider not Working

Posted: Mon Oct 30, 2017 8:30 am
by compunerdy
Glad to help.. Idaho is much easier.. 6% statewide.

Re: WA State Tax Provider not Working

Posted: Mon Oct 30, 2017 10:59 am
by calvis
We ended up using https:

https://webgis.dor.wa.gov/webapi/addressrates.aspx

We got it working. Are we responsible for taxes not collected because of the issue?