hi

yes my fault, I missed a line from the changes you need

line 350

PHP Code:
          if ($od_amount['total'] > $order_total$od_amount['total'] = $order_total
just before this line add

PHP Code:
          $order_total += $orderTotalTax
hopefully that should solve the problem