Hello @paulcobb
Thanks for the explanation—it reminded me of the code snippet you asked for.
We’ve updated it here: GitHub Gist. This new version does more than just add a column for the PayPal fee in the order overview; it also reduces the order totals by the PayPal fee amount in the admin area. So, when you check out something like WC Analytics, it will display totals with the PayPal fees already subtracted from the relevant orders.
We haven’t fully tested this yet, so it might have some side effects. It’s important to thoroughly test it to see how it interacts with your setup.
It certainly doesn’t add anything new to the WC Analytics, it only subtracts the PayPal fee from the total on relevant orders. Feel free to test this out and leave a review if it meets your needs!
Kind regards,
Krystian