Hi Raymond, any news about this topic ? We have a case when we have to add tax dynamically to an item when ACTION_LINE_ITEM_ADDED occurred and some conditions is true. Is it possible to add tax to an item in order ?
Unfortunately no new developments regarding this topic. Our platform still currently does not cleanly support dynamic adding of custom tax rates to a line item.
The only workaround would be create a new tax rate that is solely used by you for custom tax rates. That way you can modify this custom tax rate, add it to the item you want to add to the order, then add the item to the order as a line item. The tax rate for the line item will stay the same as it was during the time you added it, so you do not have to worry about the tax rate being changed again in the future affecting the current order. You can then reuse this custom tax rate for other items in the future.
2 People are following this question.