#ep
1 messages · Page 1 of 1 (latest)
I wish I could help, but this chat is focused on developers and API integration questions. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I get that. I am a developer, and I'm programmatically generating the Checkout session url with a custom UI
I may be misunderstanding you. You want to create a 2 week trial, which you do on the Subscription. Where's the issue?
I'm looking at the docs here: https://stripe.com/docs/billing/subscriptions/trials
which describes parameters to set a trial when creating a new subscription via the subscriptions endpoint.
However, I'm using this: https://stripe.com/docs/api/checkout/sessions to handle the subscription flow. I'm trying to figure out how to set a trial via the checkout session API
Ahhhh, okay I see what you're saying now. You would set that via the various subscription_data fields: 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.
Ah great thats what i was looking for. Search wasn't coming up with anything since it was beneath an accordian i guess
So I'm also using https://extensions.dev/extensions/stripe/firestore-stripe-payments to create this checkout session – would it be the same config to include trial information?
We're not very familiar with how Firebase works, so I can't really advise beyond the scope of Stripe
Hm, okay. The extension is made by Stripe so I assumed I could get support here.
For what it's worth, I don't like giving that answer, but the scope of what we can answer questions about is already massive, so it's hard to have state on everything
Sure thing, no worries