Many platforms that facilitate transactions between buyers and sellers charge ad valorem fees in which fees depend on the transaction price set by sellers. Given these platforms do not incur significant costs that vary with transaction prices, their use of ad valorem fees has raised controversies about the efficiency of this practice. In this paper, using a model that connects platforms' use of ad valorem fees to third-degree price discrimination, we evaluate the welfare consequences of banning such fees. We find the use of ad valorem fees generally increases welfare, including for calibrated versions of the model based on data from Amazon's marketplace and Visa's signature debit cards.