From the course: Extending Laravel with First Party Packages
Unlock this course with a free trial
Join today to access over 22,600 courses taught by industry experts.
Modifying a user’s subscription
From the course: Extending Laravel with First Party Packages
Modifying a user’s subscription
- [Instructor] Alright so now that we've gone ahead and set a user up with a subscription, of course eventually a user is inevitably going to need to modify their subscription. They might want to change it from yearly to monthly or monthly to yearly and so forth, and so we're gonna give them the ability to change their subscription at any time. So we'll talk about how you can upgrade or downgrade a user to a different plan in this video. It's actually a pretty simple process, laravel cashier handles most of it. And in the second part of this video we'll talk about canceling a subscription altogether. Alright so here we are back inside of our project. If I go to our homepage you can see this is where we show the people that they are subscribed or not subscribed. Now what I wanna do is offer the ability for a user to upgrade or downgrade their subscription depending on the subscription they're currently on. So the way I wanna do this, I'm actually gonna kinda rework this page. This…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Configure and install Laravel Cashier9m 39s
-
(Locked)
Set up a Stripe test account11m 50s
-
(Locked)
Create a subscription form11m 28s
-
(Locked)
Subscribe a user4m 51s
-
(Locked)
Display a user’s subscription status9m 48s
-
(Locked)
Modifying a user’s subscription7m 48s
-
(Locked)
Canceling a subscription9m 25s
-
(Locked)
Setting up a free trial or coupons7m 56s
-
(Locked)
Generate a PDF invoice7m 56s
-
(Locked)
-