Laravel Subscription - Lifetime Subscription

Hello Alex, I've been following the Laravel Subscriptions course and it has helped me a lot getting around stripe's dashboard!

I was wondering how you would approach lifetime subscriptions or similar. It seems like you can make one of charges as prices in stripe but how does this look like with the rest of the subscription logic you get with Cashier?

Thanks for all the help!

alejandro627
alejandro627
0
3
221
alex Member
alex
Moderator
Solution

Hey Alejandro

Pretty much on this already, I'm planning to cover this in an episode in the course! It's actually pretty straightforward and just requires you use Cashier's checkout functionality (without a subscription) to charge a price, and then create a webhook handler to toggle a lifetime_subscription boolean on the user's account.

Because I'm modelling how Codecourse works, I'll be implementing the exact same way I handle this here.

Hopefully next week I'll have that episode added to the course :)

alejandro627
alejandro627

Awesome! I understand.

Looking forward to watching those episodes!

Thank you!

alex Member
alex
Moderator

My pleasure!