Developer forum

Forum » Ecommerce - Standard features » Tax lines getting dropped cause checkout error

Tax lines getting dropped cause checkout error

Mario Santos Dynamicweb Employee
Mario Santos
Reply

Hi there,

We started to investigate this on Avalara tax provider but the issue seems to be on the platform side and not related to any specific provider(s).
I tested using 2 flat rate tax providers to mimic the duplicate lines, as you can see in screencast when order is loaded the "duplicated" line is removed causing the subtotals to be off and sometimes leads into the checkout error The price of the order does Not validate with the sum of the orderlines - https://www.screencast.com/t/MxIHiNJJ 

US can have multiple taxes with same description and sometimes amount, so this would be a valid scenario. I noticed that method CanBeMerged from OrderLineService takes some orderline types into consideration as GiftCards but does not check for Tax lines, treating them as regular lines. Would a simple fix be prevent tax lines to be merged?

DW version 9.15.1

BR, Mario


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

I think you might be right.

Devops#12380

 
Kristian Kirkholt Dynamicweb Employee
Kristian Kirkholt
Reply
This post has been marked as an answer

Hi Mario

Bugfix #12380 regarding merge of duplicate tax lines has now been fixed in Dynamicweb version 9.15.3
Get this release form the download section https://doc.dynamicweb.dk/downloads/dynamicweb-9

Sorry for any inconvenience this may have caused

Kind Regards
Dynamicweb Care Support
Kristian Kirkholt

 

Votes for this answer: 1

 

You must be logged in to post in the forum