Creating a subscription based website with Rails can seem daunting at first, but with the help of Recurly and Devise you can be up and running in no time.
Recurly.js does most of its work in the user’s browser, dynamically building a form that handles the transaction.
Note: This tutorial assumes you’ve already setup Devise for authenticating your User model.
Step 1 – Setup Your Recurly Account
Go to https://app.recurly.com/signup and sign up for the Recurly service.
Step 2 – Create a Subscription Plan
Once you’ve signed up for Recurly you’ll be presented with a button to “Create a Subscription Plan”. Click that or if you are already in your account click on “Subscription Plans” under the “Configuration” section of the left navigation. Then in the top right click “New Subscription Plan”.