EG: a product costs 100, tax is 21% i order 5 of em, so that makes a total of 5*(100) + 5*(100*21%) = 605.
The module forgets the 5* on the taxes(the quantity) and calculates this way:
5*(100) + (100*21%) = 521

for my site i fixed this this way:
in the checkoutapi function i added this (after case 'review':):

$cartitems = cart_get_items();
foreach($cartitems as $item) {
$quantities[$item->nid] = $item->qty;
}

and i changed this:

$taxes[$tid] += ($node->price * (int)$term->name) / 100

into

$taxes[$tid] += ((($node->price * (int)$term->name) / 100) * ($quantities[$node->nid]));

Comments

robertgarrigos’s picture

Status: Needs review » Fixed

thanks. commited to .dev

Anonymous’s picture

Status: Fixed » Closed (fixed)

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