#nepalinightmare
1 messages · Page 1 of 1 (latest)
Can you share with me the screenshot?
yes. what would you like to seE?
"the Stripe UI is saying that free trials are depreciated in PRODUCTS and that i need to make a subscription instead. "
honestly i cant find it, or its not there anymore...
there is nowhere to set a free trial of 14 days here
https://dashboard.stripe.com/test/subscriptions?create=subscription you can go to this page to create a susbcription, and you can set a trial there
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
is there a way to do it, where i dont have to specify the cusomrt?
customer*
Such as; I have this website, and we collect the user info, name, email, and all,
we use that info to populate the Stripe checkout experece from our website
Ex:
1)
Just to clarify, you want to pass the customer info that you collected in your website to a stripe checkout session?
yes,
we are already doing that
but -- i need to do it with a subscription... ( i guess ) to enable the 14 day trial
Sure you can do that. You can create a customer object with the information that you collected, and then pass the customer object to creation checkout session API endpoint.
how do i add the Subscription with the 14 day trial in that process?
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_period_days this is where you set the trial in checkout session.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
will this link above wirk for my current setup?
As in, its already set up as a product.
or does that need to switch to a "subscription"
does that make sense?
I still don't understand the "deprecated product" problem that you mentioned earlier, do you manage to find the page?
You should read this page https://stripe.com/docs/billing/subscriptions/build-subscriptions to learn how to use Stripe checkout for subscription.