With tax enabled Total Amount is confusing in online receipt and tax amount line is wrong
It used to show the amount before tax and the tax amount. But now it looks like this. There was $2 tax.
This is the same as #206 (closed) just in the interim changes have caused the problem to shift.
Also the confirm and thankyou pages make no mention of the tax and there's now a php warning about a missing tax var on those pages.
One way to reproduce:
- Turn on tax and invoicing. https://docs.civicrm.org/user/en/latest/contributions/sales-tax-and-vat/
- In my case I set up a non-deductible financial type called t-shirts and a corresponding sales tax account that has 5% tax.
- Create a price set for it.
- There's one price field. I used type text/quantity. Field is required although that's not relevant just makes sense here. Financial type t-shirts.
- Set up the dummy payment processor.
- Create a contribution page with that processor and financial type t-shirts and use the price set. Set it to send a receipt.
- Buy a t-shirt.