> For the complete documentation index, see [llms.txt](https://docs.magecomp.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.magecomp.com/magento-2-payment-fee-extension/payment-fee-tax.md).

# Payment Fee Tax

Now, you can also calculate tax on payment fee by setting up a tax class from the backend.

<figure><img src="https://807210804-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8wMgNeFnYjVGQmgdxMv4%2Fuploads%2FU9RuILB2C65i5zyEtUhB%2Fimage.png?alt=media&amp;token=807b79cc-e8ca-4530-b97a-c448664e1e61" alt=""><figcaption></figcaption></figure>

**Calculate Tax on Payment Fee:** Set Yes if you want to calculate tax on payment fee else you can keep it turned off.

**Tax Class:** Select the tax class you want to apply on Payment fee.

**Payment Fee:** Option to include or exclude tax in payment fee.
