Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Replace "$amount raised of $20k" with some monthly stats #66

Open
patrickod opened this issue Sep 14, 2016 · 2 comments
Open

Replace "$amount raised of $20k" with some monthly stats #66

patrickod opened this issue Sep 14, 2016 · 2 comments

Comments

@patrickod
Copy link
Member

We're not using this to fundraise for a specific target now. Let's change this to instead have some monthly stats such as

  • sum of one-time donations for the month
  • sum of recurring donation revenue for the month.

This likely requires some webhook work to record charges being created by stripe for subscriptions and associating them correctly.

@pemulis
Copy link

pemulis commented Oct 3, 2016

I'll take a look at this! It would be great to show incoming donations, if only for our own benefit, so that people have a better sense of how Noisebridge's finances operate and where we could fundraise. I do wonder if we should set a new fundraising goal to raise 20% of a down payment for the building. This might require some manual work to show when grants come in -- or even better, donations from companies, to encourage people to talk their employers into giving a tax-deductible donation that would help us stay in the Mission forever.

@patrickod
Copy link
Member Author

We need to first be creating Charge records for all payments, not just the one-time donations that people make by donating on the website. Specifically we need to record charges for the subscriptions that people have set up. The way to do this is via Stripe's webhooks.

We use the webhooks at the moment to send receipts to people for each of their donations, but we could also use them to create Charge records for successful payments. Once we have the code in place we can also paginate through the Stripe event history in our production instance and backfill our statistics.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants