In the previous episode I allowed users to purchase Monthly and Yearly subscriptions via Stripe and gain access to subscriber-only content.
Now, let's introduce a Lifetime
plan where a user pays only once and gains access to content without an end date.
Episode source code: https://github.com/corsego/rails-7-stripe-subscriptions/commit/801f01ff812284ef18f8b39f4bed90498f54f45c
Series source code: https://github.com/corsego/rails-7-stripe-subscriptions
Stripe checkout API: https://stripe.com/docs/api/checkout/sessions/object
0