Demo app of paypal subscription(Tested on Rails 4.0)
Only premium users of this application can view the premium page and to be a premium member you have to subscribe for the service via paypal
- Set your buisness email(test email) id in /config/initializers/paypal.rb
- You can change the subscription duration( Default is one month )
- run db:migrate
- run rails server on console
- open browser and open http://localhost:3000
P.S - I have currently used test email ids and this app is tested on paypal sandbox, it still needs to be tested on actual accounts