#vitorleitao_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1348663759878488107
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- vitorleitao_docs, 3 days ago, 25 messages
Hi, you'd likely want to review this, we document how subscriptions work here: https://docs.stripe.com/billing/subscriptions/overview#payment
The invoice will be created before the pament
I will review that document in a min, thanks.
Just a few more questions on our scenarions.
So in our case, what we will do is the following:
- Create a connected account (if it does not yet exist)
- Create a payment using the mode "subscription" in the checkout session and we will create the line items directly in the checkout session
- We will send the user to the checkout page
If in the checkout page they press cancel, does the invoice and pending subscription just stay there endlessly? Or will I need to define a cancel url path to actively cancel this now pending subscription?
Ah you're using Stripe Checkout.. There won't be any subscription as the customer would not have gone through the flow to create the subscription. At this point, you would have just created the CheckoutSession.
So in this case, since we are using stripe checkout, the subscription and invoice will only be created after the payment suceeds and is setup for future use?
I am basically looking into these docs
https://docs.stripe.com/payments/subscriptions
Where we will use the checkout page in Stripe
That is correct. You would want to review this document, https://docs.stripe.com/payments/checkout/how-checkout-works?payment-ui=stripe-hosted instead. I also recommend that once you're ready, we have test cards to simulate different scenarios: https://docs.stripe.com/testing
Perfect, thank you very much for those docs
I will try and setup locally a few tests, since we do have the test environment setup, I just wanted to confirm it so I can figure out how we will deal with the webhook side of things
Thanks for the help @little apex