#NoSpoon - SubscriptionSchedules
1 messages · Page 1 of 1 (latest)
SubscriptionSchedules are more of a tool to help manage Subscriptions in certain scenarios. If you can accomplish your behavior without a Schedule we typically recommend working directly with the subscription
Also nice Matrix username?
If I want to create a dynamic free trial for my subscriptions, I'm guessing the SubscriptionSchedule API would be better suited?
A subscription's trial can be updated multiple times so that may be sufficient. Can you tell me a bit about what your dynamic trial looks like and needs to do?
We want our marketing team to be able to adjust the length of the free trial period for each individual customer. So some customers may have a 7-day trial while others may have a 14-day free trial.
That is definitely doable with just subscriptions. If you are creating the subscriptions directly you can set the trial_end property https://stripe.com/docs/api/subscriptions/create#create_subscription-trial_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Got it. Thanks
And if you are creating them via Checkout you can set this via the subscription_data.trial_end property https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
A follow up question. What's the recommended approach for setting subscription pricing? Should I create a new Price object with inlined product info for each subscription plan?
Typically we recommend creating a product for each item/service you sell and a price/plan for each rate at which you sell the product at. eg. a product for silver tier and a product for gold tier and monthly/quarterly/yearly prices for each
Was that helpful? Can you expand a bit on what you are trying to figure out about prices/products?
Gotcha. Thanks for your help