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

Web Application Architectures
University of New Mexico via Coursera
Full Stack Foundations
Udacity
Rails with Active Record and Action Pack
Johns Hopkins University via Coursera
Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera