What's the best way to take payments for an add-on subscription?
I'm developing an add-on for Sheets. I've been planning on using Stripe to take payments and MongoDB to store subscription states. The issue I'm running into is that Stripe's webhooks send a ton of information, and I'm a bit concerned that I'll mess up parsing everything.
At this point, I just have one subscription product, and I need to know 1. that a given email is associated with a paid subscription, and 2. that a subscription has been canceled.
- Is Stripe the best payment processor for this situation?
- If it is, can you provide any boilerplate code or tips for translating webhook event data into "this email has a paid subscription?"
- If Stripe isn't the best solution here, what should I consider?
I can provide more information about my current set-up if that would be helpful. Thanks in advance!
- Finn