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.
Setting up a free trial or coupons
From the course: Extending Laravel with First Party Packages
Setting up a free trial or coupons
- [Instructor] All right, so we're getting to the point where we really understand how to manage these subscriptions. Now, there are a few last things I wanna talk about before we wrap up this section. And that is working with free trials and with coupons. These are two things you might wanna do for marketing purposes. And so we're gonna talk about how you can set up a free trial, how the free trial works, and then we'll talk about how you can allow coupons for your subscriptions as well. So we'll cover both of those in this video. So again, we're just gonna focus on those two elements, How to enable a free trial when you create a new subscription and how to add a coupon to a subscription as well. Let's go ahead and take a look at this in the browser and in the code. All right, now, one thing I wanna mention about the last video. I did make a mistake. And when we had this, Your subscription will not renew, and we tested the onGracePeriod, there is one bug that I didn't think about and…
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)
-