I don’t know. I sell a macOS app outside the App Store. It took me about a day to set that all up myself using Stripe and AWS, including a anti-piracy mechanism. The costs are next to nothing.
The visibility and access to the user base that the App Store provides is a valid incentive, depending on the product.