#shreyanshcactusglobal_api

1 messages ¡ Page 1 of 1 (latest)

radiant hazelBOT
#

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

cerulean galeBOT
#

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.

livid juniper
#

hello! I think you're referring to the 1 hour delay before the invoice finalizes?

broken depot
#

Yes

livid juniper
#

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)

broken depot
#

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?

livid juniper
#

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

broken depot
#

Okay cool.

I'll just tinker a bit based on the information you have provided.

Thanks so much Alex.

broken depot
#

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?

livid juniper
#

can you share the subscription schedule id? I'll take a look

broken depot
#

sub_sched_1Pdmz8GANWQYJlP24RTaxMW2

#

Oh i'm saying programatticaly is there a way to retrieve invoice that is created against the scheduled subscription?
Since the schedule subscription api doesn't return those invoice id.