You will pay fees on the entire payment being processed.
This includes on taxes that pass through your customer's invoice as Internet (state) Sales Tax for US customers (and UK, EU, and OZ) and as of July 1, 2022, Canadian sales taxes.
EBay and Managed Payment fees are deductible.