#vitorleitao_docs

1 messages ¡ Page 1 of 1 (latest)

midnight otterBOT
#

👋 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.

little apex
rough wave
#

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?

little apex
#

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.

rough wave
#

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?

little apex
rough wave
#

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