Ask HN: Service to handle demo-to-paid upgrades in a desktop app?
Our requirements are pretty simple: we need to be able to charge the card, receive a product key (from a list of pregenerated keys) back in the app, and also fire off an email to the user with their product key for future reference.
Our best (bad) idea for how to do this is: Integrate with Stripe. When a purchase succeeds, have Stripe call a webhook on our server with Stripe's success token. Our server would then send the email and await contact from the client. By providing the Stripe success token, the client could ask our server to get their new key.
(There are obviously a lot of moving parts to this, and writing the server code, plus maintaining the live server is more work than we'd like to do if we have a choice.)
This seems like such a simple thing that a product must exist to solve it... I just can't for the life of me find a service that already does it.
Any ideas?