#IGMontero
1 messages · Page 1 of 1 (latest)
You don't need to use coupon to create a trial, you can set trial_period_days (https://stripe.com/docs/api/subscriptions/create?lang=ruby#create_subscription-trial_period_days) to 7 when creating a subscription.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Understood. My question however was if I can achieve something similar but with a Coupon. Basically because my app supports coupons but not free trials yet, and I want to save development time for now
I don't see an easy way to apply coupon as a free trial. And it's just one additional param to specify to enable trial in subscription, so I believe the the development work is manageable.
I think I get what IGMontero is trying to do here. I’m in the same situation. I’d like to create a coupon for X days, so when I sign up a user that uses the coupon, the user will get X days of free billing. I’m my case, I want my users to onboard (and I setup the subscription behind the scenes, but I want to give this user a 100% discount for 3 months, but another user may get a coupon from me to get a 100% discount for 1 month only. Something like a subscription discount coupon. I’m keen to see if it’s possible too.