There are so many middle men involved, it gets confusing. Apparently the payment goes like this:

Game Buyer (Steam) -> Stripe/PayPal -> MasterCard/Visa -> Valve -> Game publisher

That's at least three middle men, and presumably all of them collect fees. I wonder why in the year 2025 there isn't a more direct way to pay for things.