Payments with Ruby on Rails Master Class by Chris Oliver

Payments with Ruby on Rails Master Class

A step-by-step course for anyone wanting to integrate Stripe payments with Ruby on Rails

Overview

Learn how to integrate Stripe (and SCA support!) with Ruby on Rails 6 including one-time payments, subscriptions, upgrades, downgrades, refunds, webhooks and more.

We've also updated the course to include support for Stripe's new Strong Customer Authentication functionality. You'll learn how to handle SCA enabled payments that require extra authentication. From payment forms, webhooks, and payment forms, we've built everything to be SCA compatible.

"Like most good things in life I only wish I found this course sooner. It saved me hours of frustration, if not days. Chris walked through an extremely useful build example that translated well to my own project. Thanks again Chris." - Justin Kresge

"Chris' Stripe series not only helped us achieve an integration quickly, but more importantly helped us plan our app's overall payment strategy. It's clear that Chris thinks like a business person, and that business/technical combination was invaluable to us."
Matt Brown

What's included?

Video Icon 26 videos File Icon 1 file

Contents

Introduction
1.1 Introduction
3 mins
1.2 Stripe API Changes for SCA
3 mins
One-Time Payments with Stripe
2.1 Configuring the Stripe gem
5 mins
2.2 Product and Order models
4 mins
2.3 Checkout Form
8 mins
2.4 Creating Payments with Stripe Elements JS
16 mins
Subscriptions with Stripe Billing
3.1 Configuring the Stripe gem
4 mins
3.2 Adding Subscription Models
6 mins
3.3 Plans and Pricing Page
10 mins
3.4 New Subscription Form
7 mins
3.5 Stripe Elements Javascript Basics
8 mins
3.6 Creating A Subscription
16 mins
3.7 SCA Payment Confirmation Page
14 mins
3.8 Subscription Updated Webhook
10 mins
3.9 Updating Cards & Billing Page
16 mins
3.10 Changing Plans on a Subscription
7 mins
3.11 Cancelling and Resuming Subscriptions
6 mins
3.12 Resubscribe with Existing Card
4 mins
3.13 Charge Webhooks
6 mins
3.14 PDF Receipts for Charges
6 mins
3.15 Refunding Charges
3 mins
3.16 Payment Action Required Emails
8 mins
Testing Your Stripe Code
4.1 Testing Stripe with VCR and Webmock
12 mins
4.2 Testing Stripe JS with System Tests
13 mins
Wrapping Up
5.1 Deploying To Production
3 mins
5.2 Conclusion
1 min
Source Code
533 KB

Who is teaching this course?

Chris Oliver is a Ruby on Rails expert with over 11 years of professional development experience. He's the creator of weekly Ruby on Rails screencasts with GoRails, a Ruby on Rails hosting company called Hatchbox.io and created the Jumpstart Rails template to get your business idea up and running in minutes.

FAQ

Who should take this course?

If you're a Rails dev that's never built payments into an app before, this is a perfect introduction for you. We'll cover everything you need to know to build a simple monthly subscription based app and then expand on that to add plans, upgrades, downgrades and more.

How long will I have access to the course?

For life! Come back and review the material anytime it’s relevant to you.

Do you cover Strong Customer Authentication (SCA)?

Yes! We just updated the course for Strong Customer Authentication so your payments are fully compatible.

If you aren't familiar, SCA is a regulation in the EU that allows payments to require authentication from the customer before they can be processed. It helps fraud prevention, but also makes your code a lot more complicated. But don't worry, we've got you covered!

Even if you don't live in the EU, having SCA compatible payments keeps your code ready in case your country adopts a similar regulation.

What do people think of this course?

"I just bought the GoRails Stripe course to help me implement billing for a new SAAS app. Two hours after purchase I had transactions going using the Stripe Elements API and in two more hours I had the Stripe WebHooks API integrated as well as credit card updates and learned a few Rails-isms from Chris that in all my Rails experience, I had never picked up. Not only recommended but strongly recommended. The bottom line is that if you are using Rails and Stripe for billing, you should buy this course now." - Scott Johnson

What if I don’t don’t like it?

Let’s say you’re just not getting any value from this course.That’s alright, sometimes products just aren’t a good fit. If, for whatever reason, this course does not live up to its promises in your eyes, I’ll give you a full refund, as long as you provide me with feedback as to how it can be improved.
"Like most good things in life I only wish I found this course sooner. It saved me hours of frustration, if not days. Chris walked through an extremely useful build example that translated well to my own project. Thanks again Chris."
Justin Kresge