I don't know if this is already done. But the second point really begs for an entrepreneur to solve this. A simple model for payment for web apps, you could support one off sales, subscriptions models etc. Make an API for developers and handle all the credit-card processing stuff.