takeyourmeds / takeyourmeds-web

Low-tech medication reminder application that can call or text a user with a custom message on any desired schedule.
MIT License
10 stars 5 forks source link

Stripe integration with parent "account" entity #45

Closed DeckOfPandas closed 9 years ago

lamby commented 9 years ago

So it's a little unclear what the on → off transition would imply. If this means not charging existing users, then that would require poking Stripe if they already have billing setup, and then re-enabling them when this is goes off → on, etc. etc. And a bunch of other edge cases that I'm sure we would miss. Basically almost guaranteed to have a big mess that'll be a pain to fix because it's in Stripe, etc.

If the goal is for us to disable payments now whilst drumming-up business (!) and experimenting, and then enabling payments later, then that's a different and altogether simpler proposition.

Another sensible alternative that I've previously employed is simply to have payments always enabled with no toggle, but crucially have a "free forever" plan that can be a) disabled later, b) upgraded from once in the steady state.

lamby commented 9 years ago

payments always enabled with no toggle

(On phone: going with this)

lamby commented 9 years ago

NB. A stripe customer will not a Django auth.User -- we will be charging people at a level "above" this.

lamby commented 9 years ago

(I wonder if this needs to be part of this milestone, especially the "parent" bit. I suspect so.)

lamby commented 9 years ago

Assuming group noun:

lamby commented 9 years ago

WIP in https://github.com/takeyourmeds/takeyourmeds-web/compare/83ce4d6b77c702699e4dfbdd163274c10412ad82...4f12e14fcaaff75411059427d089d053869fdfcc

lamby commented 9 years ago

just need to do the stripe bit now

lamby commented 9 years ago

Done, just need to have the stripe configuration on stage/live.

lamby commented 9 years ago

Done