#cristian_api

1 messages ¡ Page 1 of 1 (latest)

hasty pilotBOT
steel spruceBOT
#

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.

hasty pilotBOT
#

👋 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/1234893723758891008

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

unique osprey
#

I believe you would need to include a Subscription Schedule in your workflow in order to be able to edit the first Invoice's description. From our docs:

To start subscriptions where the first invoice always begins in a draft status, use subscription schedules instead (https://docs.stripe.com/billing/subscriptions/subscription-schedules#managing). Schedules provide the flexibility to model more complex billing configurations that change over time.

Learn how to use subscription schedules to automate changes to subscriptions over time.

#

Each subsequent Invoice after the first one will have a 1 hour window after creation where you can edit it, but the first one is immediate

#

Unless you use Subscription Schedules

civic terrace
#

Interesting

#

So by creating a subscription schedule to be able to update the invoice instead of a subscription directly would solve it. Are there any caveats I need to be aware of for the difference between both?

unique osprey
#

What difference are you referring to?

civic terrace
#

Would it behave exactly the same, as in the charge would be immediate?

#

Do I need to call an endpoint to finish editing the subscription or do I need to wait the one hour in order to have it processed?

unique osprey
#

I don't understand your questions. Please focus on one question at a time and take your time explaining.

civic terrace
#

Right

#

As of now, I create the subscription and have it set to charge_automatically. This makes the first invoice already finished when the subscription is created, preventing me from editing it and adding the description I need.

You suggested that instead of creating the subscription directly, use subscription schedules instead. This will allow me to edit the invoice since it is created as a draft and not immediately finalized.

My question is, in my workflow where I create the subscription (now a subscription schedule) and then edit the invoice, do I need to do anything else besides confirming the payment in order to keep the subscription behavior the same as it is today? or is it all the same and I only need to call a different endpoint when creating the subscription

unique osprey
#

You should read through the docs on Subscription Schedules. It's clear by the wording of your message that you don't yet know what they are (e.g. they work with Subscriptions, not instead of them). Once you've had a chance to familiarize yourself with those docs, feel free to come back with some more specific questions.

civic terrace
#

fair enough, thank you!