#dparker1005
1 messages · Page 1 of 1 (latest)
Pull in what sense? What are you trying to do, exactly?
I am creating an application that integrates with Stripe Checkout. Currently, if a free trial is set on a Price, Stripe Checkout will ignore that field when the Price is passed when creating a Checkout Session; however, a free trial can be set in subscription_data when creating a Stripe Checkout session. This is how the Stripe Docs reccomend setting up a trial with Stripe Checkout
So my end goal here is to be able to detect if a Price has a free trial set and, if so, add that trial when creating the Checkout Session
Basically briding the gap between the free trial field on Prices and Stripe Checkout so that they play nicely
While its deprecated and undocumented now, you can retrieve this from the Plans API -- the Price doesn't have this attribute
Thank you very much, that is very helpful!
Do you have any sense for if/when the Plans endpoint may be removed entirely?
Unfortunately I don't have a sense for it at the moment. If/when the API is planned to be deprecated we should reach out well in advance with guidance on switching to newer APIs.