If you check the "Tax" Taxed line item in the configuration page, I find that uc_tax_ks_calculate_tax() is called forever in an endless loop as the tax line is updated everytime.

If you don't check it, it's fine.

My further question is why would one ever want to tax the tax line.

Comments

jhodgdon’s picture

That sounds like a bug. The reason the check box is there is that you might want to tax other line items, such as shipping (I don't know about Kansas, but in Washington state, shipping and handling charges are taxable). The module doesn't currently look at which line items are which before asking you (via the checkbox) if you'd like to tax them, so the tax line item has the checkbox. I guess it should exclude the tax line item from the list.

In the meantime, don't check the box, and thanks for reporting this issue!