#shreyanshcactusglobal_api
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/1263360737011830827
đ 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.
- shreyanshcactusglobal_api, 1 day ago, 23 messages
hello! I think you're referring to the 1 hour delay before the invoice finalizes?
Yes
you can manually finalize the invoice and charge your customers (once the invoice is created) - https://docs.stripe.com/api/invoices/finalize and https://docs.stripe.com/api/invoices/pay (so you don't have to wait for 1 hour)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Got it thanks so much.
Two questions on that please
-
Is there a difference between these 2 methods: finalise and pay?
-
If i manually charge this first invoice, It doesn't affect the recurring invoices is that correct?
a invoice is created in draft mode, you need to finalize the invoice. Subsequently, finalizing the invoice doesn't charge the customer immediately, so you need to charge the customer
If i manually charge this first invoice, It doesn't affect the recurring invoices is that correct?
yup it won't affect
in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks
Okay cool.
I'll just tinker a bit based on the information you have provided.
Thanks so much Alex.
Hey Alex,
Sorry one more thing.
Is there a way to retrieve the invoice that was definitely created against this schedule subscription?
I was looking at Invoice api, The only way to get the invoice id is through listing of all invoice.
Is there conclusive way in which i could retrieve the invoice that is associated with the schedule subscription that i just created?
can you share the subscription schedule id? I'll take a look