This was originally reported at http://www.ubercart.org/forum/bug_reports/13328/tax_problem_v18 by rickyw.

Discussion and a solution is at http://www.ubercart.org/forum/support/13352/taxes_not_showing_after_upgr....

For convenience, here is the solution:

In module uc_taxes_workflow.inc, function uc_taxes_save_line_item (at the bottom of the file), change:

$_SESSION['taxes'][$line_item->id] = (array)$line_item;

to

$_SESSION['taxes'][$line_item['id']] = (array)$line_item;

There is no $line_item->id, so each time a new tax is written, it overwrites whatever was stored there before.

CommentFileSizeAuthor
#1 692710_line_item_id.patch418 bytesIsland Usurper

Comments

Island Usurper’s picture

Status: Active » Fixed
StatusFileSize
new418 bytes

There must have been a change applied from the 2.x version, where line items are actually objects. Committed this patch based on your solution.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.