Payments with Ruby on Rails Master Class

A step-by-step course for anyone wanting to integrate Stripe payments with Ruby on Rails
Introduction to Payments with Rails
What We'll Be Covering In This Course
5 mins
What You'll Need
3 mins
Adding Payments To Existing Apps
3 mins
One-time Payments with Stripe
2.1 Adding Stripe API Keys
6 mins
2.2 Creating Product and Order models
7 mins
2.3 Defining the Shopping Cart
18 mins
2.4 Adding Checkout Page
8 mins
2.5 Stripe Card Elements Javascript
14 mins
2.6 Creating Charges in Stripe
270 MB
2.7 Refunding Charges in Admin
9 mins
2.8 Adding Receipts
9 mins
Source Code
421 KB
Subscriptions with Stripe
3.1 Adding Stripe API Keys
3 mins
3.2 Defining Subscription Models
5 mins
3.3 Adding Movies
7 mins
3.4 Creating Checkout Page
8 mins
3.5 Adding Stripe Card Elements Javascript
7 mins
3.6 Subscribing To A Plan
21 mins
3.7 Subscription Helper Methods
11 mins
3.8 Update Card On File
11 mins
3.9 Swapping Subscription Plans
4 mins
3.10 Resuming Cancelled Subscriptions
8 mins
3.11 Receiving Stripe Webhooks
15 mins
3.12 Adding Charge Receipts
15 mins
3.13 Refunding Charges
10 mins
3.14 Resubscribe With Existing Card
8 mins
Source Code
442 KB
Source Code
711 KB
Testing Stripe Subscriptions
4.1 Testing Stripe with System Tests
17 mins
4.2 VCR, Webmock, and Headless Chrome
6 mins
4.3 Testing with Stripe Ruby Mock
13 mins
[OLD COURSE] Introduction
What we'll be covering
3 mins
What you need to know
3 mins
Source Code.zip
4.11 MB
Building A Simple Subscription Product
Adding products
2 mins
Creating Users
4 mins
Adding Bootstrap
10 mins
Creating The Checkout Form With Stripe.js
Signing up for Stripe
4 mins
Adding a new subscription page
3 mins
[NEW] Stripe Element JS
20 mins
Creating a card token using Stripe.js
8 mins
Sending the card token to the server
8 mins
Making it Turbolinks compatible
3 mins
Charging The Customer Server-Side
Installing the Stripe gem
3 mins
Creating plans in Stripe
5 mins
Creating a customer in Stripe
5 mins
Subscribing our customer in Stripe
2 mins
Handling card errors
4 mins
Protecting products for only paid users
4 mins
Allow Users To Update Their Card On File
Displaying card on file
6 mins
Reusing the payment form
6 mins
Cancelling Subscriptions And Resubscribing
Cancelling a subscription
7 mins
Resubscribing using a new card
4 mins
Resubscribing using an existing card
8 mins
Listening To Webhooks And Adding Receipts
Adding the stripe_event gem
4 mins
Signed Stripe Webhook Events
5 mins
Listening to the charge.succeeded event
3 mins
Creating a charge model
7 mins
Displaying charges in the account page
3 mins
Making PDF receipts
10 mins
Rendering PDF Receipts
4 mins
Wrapping Up
Next steps
4 mins
Bonus Videos
Requiring Cards for Sign Up
30 mins