I have some limited knoweldge about this from my reading about how sales tax applies to digital sales of apps/books in the apple/google app store.
1. It is my understanding that US state sales taxes are a tax on the purchaser, and that when sales taxes apply to the customer, they must be collected, no matter what the legal status or location of the seller is. The nightmare of sales taxes on digital products is each state has different rules, I believe there is even one state that forces you to apply sales tax if you make just 5 sales in one year. So sales taxes start to apply very quickly.
2. The beauty of the Apple/Google app stores, as I understand it, is Apple/Google handle the sales tax component of all your digital product sales in the USA. That is why I only sell my app via the app stores, because it means I don't have to deal with the problem of registering for state sales taxes every time the sale volume hits the sales tax threshold. It's just too much for a small new growing business to have to worry about. How many small businesses have time to subscribe to tax accountant mailing lists to keep up to date on the sales tax rule changes that occur from time to time.
I heard a while ago that
Stripe was looking into providing a similar 'collect sales tax for you' type of service, I don't know if thats happened yet, I don't use stripe.
I suspect a lot of people outside of the US are just not collecting sales tax and not getting in trouble because they are outside of the US and not big enough for US states to notice.
Update: It looks like stripe has added a function to allow you to collect sales tax, but then you'd still have to do the paperwork to send the money to the relevant state.
Stripe Tax | Steuerautomatisierung mit einer einzigen Integration This makes me so thankful that Apple does all the annoying state sales tax for us. Yea we complain about the "15/30% Apple tax" but for small companies at least, who would want to do this sales tax stuff manually?