I am wondering if RefineryCMS can be adapted to what I need. Can you suggest if my ideas here are correct?
The client is a company that owns many karate gyms. They work with famous fighters. The site will have 2 parts:
1.) a public area where anyone can browse what content the company makes available for free
2.) an area that only paying subscribers can get to
So, one idea I have for how to handle this:
1.) a visitor goes to the site, sees public content, decides they want to be a subscriber
2.) we first offer them a fairly standard Devise signup form
3.) they signup, at which point a record for them is created in the Users table -- they are given a role such as "non-member"
4.) they are shown the page for paying, which they fill out and pay
5.) the site waits for a pingback from our payment processor, or we have a cron script that constantly checks for the status of a transaction
6.) once the payment processor says the payment has gone through, we change the role of the user to "member"
7.) anyone with the "member" role is allowed to see those pages where we show the videos
Am I correct in saying that I should follow this guide?
http://refinerycms.com/edge-guides/with-an-existing-rails-31-devise-appI think I have enough custom code to write that I'm basically writing a separate site, and then trying to integrate RefineryCMS into it, yes?