YoVDO

Adding Stripe Payments to Your Ruby on Rails Application

Offered By: LinkedIn Learning

Tags

Ruby on Rails Courses Web Development Courses Bootstrap Courses Webhooks Courses

Course Description

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

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX