Payments & Subscriptions

Laravel Payments: A Complete Guide to Stripe and Cashier

Accept payments in Laravel with Stripe and Cashier: checkout, coupons, webhooks, subscriptions, trials, invoices, lifetime plans.

Laravel Payments: A Complete Guide to Stripe and Cashier

Who this course is for

  • Laravel Developers eager to integrate Stripe and Cashier for an end-to-end payment solution
  • E-commerce Developers looking to add checkout and subscription billing to their platforms
  • Laravel Developers New to Payment Integrations who want to understand payment processing, manage subscriptions, and integrate billing features with ease
  • Professionals looking to stand out as Laravel experts in the industry
  • Anyone eager to elevate their Laravel development skills to new heights

What you'll learn

  • Understanding Payment Workflows: Grasp the end-to-end flow of payments, including key components like payment gateways, processors, and integration types
  • Setting Up and Configuring Stripe: Create and configure a Stripe account, use the Stripe dashboard, and set up sandboxes for testing
  • Implementing Single Charges: Learn how to set up one-time payments, initialize projects, and create shopping cart functionality for individual purchases
  • Working with Cart Management: Manage a shopping cart, add and remove items, calculate totals, and save cart states for users
  • Stripe Checkout Session: Configure Stripe checkout sessions, control redirection, customize checkout, and add extra data for seamless transactions
  • Coupon Management: Implement discounts using Stripe’s coupons and promotion codes, and understand the difference between the two
  • Handling Non-Stripe Products: Manage products not directly in Stripe and enable adjustable quantities in the checkout flow
  • Direct Payment Integrations: Work with payment intents, setup intents, and secure one-click checkout options
  • Using Webhooks for Real-Time Updates: Set up webhooks to listen to Stripe events and automatically handle actions like order creation and status updates
  • Subscription Trials and Billing: Understand and create trial periods, sync customer data with Stripe, and manage billing through Stripe's billing portal
  • Managing Subscriptions: Set up subscription plans, enable trials, and manage recurring billing
  • Invoice Management: Generate, track, and manage invoices for both single charges and subscriptions
  • Lifetime Memberships and One-Time Purchases: Offer and manage lifetime memberships and one-time purchase options with Stripe
  • Cancellation and Resumption of Subscriptions: Allow users to cancel or resume their subscriptions, and understand different cancellation options

Topics covered

An overview of the main modules. See the course page on Udemy for the full, up-to-date curriculum.

1

Introduction

2

Setting Up the Stripe Dashboard

3

Single Charge - Project Initialization

4

Single Charge - Cart Management

5

Single Charge - Stripe Checkout Session

6

Single Charge - Coupons

7

Single Charge - Non-Stripe Products

8

Single Charge - Direct Integration

9

Single Charge - Webhooks

10

Subscriptions Checkout

11

Checking Subscription Status

12

Subscription Trials

13

Billing Portal With Customer Data

14

Cancel / Resume Subscription

15

Managing Invoices

16

Lifetime Membership

17

Finalizing the course

Prerequisites

  • Basic understanding of Laravel is required
  • Basic understanding of models, seeders, migrations and basic CRUD operations is required
  • Knowledge of Laravel's basic features like Eloquent ORM, Blade templating, and middleware
  • Any computer and OS will work — Windows, macOS or Linux

Your instructor

Mahmoud Anwar

Mahmoud Anwar

Senior Laravel/PHP developer and technical educator specializing in backend engineering, with 21+ programming courses created for developers worldwide.

More about Mahmoud
Keep going
Next step

Have a technical challenge?

Tell me about your application, your goals and your constraints. We'll work out the right next step together.