I found the following Error.

I made a tax rule under /admin/store/settings/taxes/ and included payment-method.
on the card/checkout/review page pma was not in the tax calculation included. Then i made a step back to cart/checkout and forward to card/checkout/review again everthing ist now ok.

Comments

cyu’s picture

I tested this out and was able to duplicate the problem. I also tried applying a tax to shipping and saw this same behavior. I think there is a fundamental problem with the line item system in this case, but I'll try and dig a little deeper.

cyu’s picture

Category: bug » feature

I took a look at this and the problem exists because uc_pma does not call getTax(). Adding this in what would seem like the appropriate places does not work, though. There are timing issues somewhere with set_line_item(), render_line_items(), remove_line_item(), and getTax().

I'm just going to leave this as it stands and say that this module was not intended to create payment method fees which are taxable.

cyu’s picture

Title: Taxes not correct » Applying tax to payment method fees
cyu’s picture

Status: Active » Fixed

Ok, looks like the problem was with the remove_line_item() function and a fix for uc_payment.js is here: http://drupal.org/node/274856

uc_pma.js has been updated as well for tax support here http://drupal.org/cvs?commit=123506 and will show up in the next release.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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