use-stripe-subscription
use-stripe-subscription copied to clipboard
Added trial period support
Hello!
Thanks for your work, we're using this lib in our project and it seems the easiest way to connect stripe without hustle. We wanted to have option to create checkout sessions with trial period, so I did a little change. Hope you'll find it helpful!
API docs: https://docs.stripe.com/api/subscriptions/create#create_subscription-trial_period_days Guide: https://docs.stripe.com/billing/subscriptions/trials