Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Adding Stripe Payments to Your Ruby on Rails Application

via LinkedIn Learning

Overview

Get paid for subscription-based app content. Add Stripe to your Ruby on Rails application to collect payments securely and easily.

Syllabus

1. Introducing the Course
  • What we'll be covering
  • What you need to know
  • Using the exercise files
2. Building the Application
  • Adding products
  • Adding users
  • Setting up Bootstrap
3. Creating the Checkout Form with Stripe.js
  • Signing up for Stripe
  • Adding a new subscription page
  • Creating a card token using Stripe.js
  • Sending a card token to the server
  • Making it turbolinks compatible
4. Charging the Customer Server-Side
  • Installing the Stripe gem
  • Creating a plan in Stripe
  • Creating a customer in Stripe
  • Subscribing the customer in Stripe
  • Handling card errors
  • Protecting products for only paid users
5. Allowing Users to Update Their Card
  • Displaying the subscription and card on file
  • Reusing the payment form
6. Allowing Users to Cancel and Resubscribe
  • Cancelling a subscription
  • Resubscribing using a new card
  • Resubscribing using an existing card
7. Adding Receipts with Webhooks
  • Adding the stripe_event gem
  • Listening to a charge.succeeded event
  • Creating a charge model
  • Displaying charges in the account page
  • Making PDF receipts
  • Rendering PDF receipts
Conclusion
  • Next steps

Taught by

Chris Oliver

Reviews

Start your review of Adding Stripe Payments to Your Ruby on Rails Application

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.