GoRails Courses/Payments with Ruby on Rails Master Class

  • $149

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

Contents

Introduction

1.1 Introduction
  • 3 mins
  • 55.2 MB
Preview
1.2 Stripe API Changes for SCA
  • 3 mins
  • 60.5 MB
Preview

One-Time Payments with Stripe

In this section, we'll build a simple checkout process to make one-time purchases in our app.
2.1 Configuring the Stripe gem
  • 5 mins
  • 77.6 MB
2.2 Product and Order models
  • 4 mins
  • 52.2 MB
2.3 Checkout Form
  • 8 mins
  • 95.3 MB
2.4 Creating Payments with Stripe Elements JS
  • 16 mins
  • 358 MB

Subscriptions with Stripe Billing

We'll be building a Netflix-like subscription product that handles subscriptions, authentication, webhooks, recording charges, and more.
3.1 Configuring the Stripe gem
  • 4 mins
  • 79.8 MB
Preview
3.2 Adding Subscription Models
  • 6 mins
  • 74.3 MB
3.3 Plans and Pricing Page
  • 10 mins
  • 149 MB
3.4 New Subscription Form
  • 7 mins
  • 84.5 MB
3.5 Stripe Elements Javascript Basics
  • 8 mins
  • 162 MB
3.6 Creating A Subscription
  • 16 mins
  • 397 MB
3.7 SCA Payment Confirmation Page
  • 14 mins
  • 256 MB
3.8 Subscription Updated Webhook
  • 10 mins
  • 162 MB
3.9 Updating Cards & Billing Page
  • 16 mins
  • 335 MB
3.10 Changing Plans on a Subscription
  • 8 mins
  • 151 MB
3.11 Cancelling and Resuming Subscriptions
  • 6 mins
  • 126 MB
Preview
3.12 Resubscribe with Existing Card
  • 4 mins
  • 94 MB
3.13 Charge Webhooks
  • 6 mins
  • 104 MB
3.14 PDF Receipts for Charges
  • 6 mins
  • 106 MB
3.15 Refunding Charges
  • 3 mins
  • 65 MB
3.16 Payment Action Required Emails
  • 8 mins
  • 126 MB

Testing Your Stripe Code

4.1 Testing Stripe with VCR and Webmock
  • 12 mins
  • 255 MB
4.2 Testing Stripe JS with System Tests
  • 13 mins
  • 239 MB

Wrapping Up

Congratulations! If you've made it this far, you've learned how to build one-time payments and subscription billing with Stripe. And better yet, all of that code is SCA ready!
5.1 Deploying To Production
  • 3 mins
  • 30.2 MB
5.2 Conclusion
  • 1 min
  • 25.3 MB
Source Code
  • 548 KB

Bonus Videos

Some extra Stripe implementations you might want to add to your app such as requiring a card on sign up and offering trial periods.
One-Time Payments & Subscriptions in a single app
  • 10 mins
  • 147 MB
Registration Form with Card & Subscription Trial
  • 25 mins
  • 145 MB
Registration Form with Card & Subscription Trial - Source code
  • 569 KB

I'm Chris Oliver

You might recognize me from GoRails, Hatchbox, and Jumpstart.

I've spent the last 6 years building tools for Ruby on Rails developers. I want to help you master web development so you can bring your products and ideas to life easier.

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

Get the inside scoop

Get product updates, launch info, and special deals by signing up for my product newsletter.

You're signing up to receive emails from GoRails Courses