From the course: Adding Stripe Payments to Your Ruby on Rails Application

Unlock this course with a free trial

Join today to access over 22,600 courses taught by industry experts.

Next steps

Next steps

- [Instructor] First of all, if you've made it this far pat yourself on the back. We've implemented quite a few different features in order to get our full Stripe integration for subscriptions going. So, what are the nest steps? Well, number one, is of course, that you need to build out your product. So, we wrapped the secret content in an if statement and said, if there's a user signed in and that user is subscribed give them access to this content. Well, your application is most likely not going to be this simple. It's not going to be as simple text field that you display, or don't display. So you can use that same logic and apply it to other parts of your application. You can take that if statement around this and apply it to the controllers and the actions and the other features of your application to check to see if the user is subscribed, or not. And give them access to those features accordingly. Now to set up your Stripe application in production you'll need to deploy that to…

Contents