logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
teagan26334146  
#1 Posted : Monday, April 29, 2024 11:24:06 AM(UTC)
teagan26334146

Rank: Newbie

Groups: Developers
Joined: 6/9/2020(UTC)
Posts: 9

Howdy!

This is one of three posts I'm making today. On any given order page, there is a "Recalculate" button:
Recalculate button location
It's found under the "Items" tab, and reads "If you modify the order you may need to recalculate tax and shipping."
Clicking this button reports a success! toast notification/status message.

It seems as though Avalara never receives this update, though. Furthermore, cancelling an order that has an Avalara Tax item does not cancel in the Avalara system.
This leads to situations where Avalara will charge us tax on an order that no longer needs to have extra tax paid.

Here is a short video demonstration:
recalce.gif (403kb) downloaded 3 time(s).

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

shaharyar  
#2 Posted : Monday, April 29, 2024 12:27:01 PM(UTC)
shaharyar

Rank: Advanced Member

Groups: Admin, Developers, Registered, HelpDesk, Authorized User
Joined: 10/5/2018(UTC)
Posts: 704

Thanks: 5 times
Was thanked: 113 time(s) in 112 post(s)
Hi,

Can you please confirm that there are no errors in the debug log file. You can find the file under App_Data/Logs/Avatax.log

To enable debug mode, please check the Debug Mode option from the config page.
teagan26334146  
#3 Posted : Monday, April 29, 2024 1:21:53 PM(UTC)
teagan26334146

Rank: Newbie

Groups: Developers
Joined: 6/9/2020(UTC)
Posts: 9

AvaTax.txt (29kb) downloaded 2 time(s).

This is a log file containing the output from clicking "recalculate" (twice, by accident), and then changing the status to "cancelled."
teagan26334146  
#4 Posted : Monday, April 29, 2024 1:47:01 PM(UTC)
teagan26334146

Rank: Newbie

Groups: Developers
Joined: 6/9/2020(UTC)
Posts: 9

I forgot to add it, but this log shows up in app.log when cancelling an order.

2024-04-29 18:17:17,151 ERROR AbleCommerce Error cancelling AvaTax transaction. AbleCommerce Order #198082; Exception: Exception of type 'Avalara.AvaTax.RestClient.AvaTaxError' was thrown.

It doesn't have a stack trace or anything like a normal error.
Katie S  
#5 Posted : Monday, April 29, 2024 7:29:04 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

I just wanted to let you know that I am working with the dev team to test the recalculate feature with AvaTax. I should have an update for you tomorrow.

Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Katie S  
#6 Posted : Wednesday, May 1, 2024 12:46:48 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi,

After we upgraded our AvaTax integration from SOAP to Restful API, the Company Code became a required field.

For me, the recalculation immediately started working once I updated the field with this value.

Can you give it a try and let me know if it works for you too?
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
teagan26334146  
#7 Posted : Friday, May 3, 2024 11:46:24 AM(UTC)
teagan26334146

Rank: Newbie

Groups: Developers
Joined: 6/9/2020(UTC)
Posts: 9

Howdy,

After updating our Company Code, it's working perfectly! It's still not "marked" as required in the plugin interface, but setting it to "DEFAULT" allowed us to both update, and cancel the order.

It's still probably prudent to ensure that you don't get a "Success!" toast in the admin interface if this is not set, AND recalculate is clicked, though.

I appreciate the help.


P.S. For future reference, it's in Settings -> Company Details, once you've logged in to Avalara.
Katie S  
#8 Posted : Friday, May 3, 2024 1:10:21 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Awesome! Glad it's working now. I have already updated the documentation and created a new bug report so the field will be required.

Thanks for the update and have a great weekend!
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.