Take the tour ×  I have an app which lists venues. Each venue
can be either free or premium and so have different privileges.
I would like to be able to link the premium upgrade to a payment
but am struggling with how to do it.  Im pretty sure I'll end up
using chargify or spreedly for the payments but what should the
schema look like?  I'm thinking a monthly subscription would be
best so should I set up another table of subscriptions and have
a record generated each time a subscription is created or
amended? So a venue would have many subscriptions and would it
be sensible for each subscription record to have a boolean
expired field with switches 28 days after it is generated?.
Thanks for any help.  share|improve this question add comment  2
Answers  Use Stripe. It integrates very well with Rails and has
incredible (and sensible) documentation. Ryan Bates also did an
excellent RailsCast on integrating Stripe with Rails, and his
example is for a monthly subscription so you should be able to
just follow along