#hardin_webhooks

1 messages ¡ Page 1 of 1 (latest)

tired rainBOT
#

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

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

prisma turret
#

Hello
Are you asking if you anchor the billing cycle to total 30 days or a specific date?

I don't think there's a way to anchor a fixed 30 day billing cycle. A monthly subscription will naturally take all days of a month into account.

half condor
#

Yes thats very bad

#

and not flexibile

#

you should allow us to charge the customer before

#

you are creating a draft sometimes, not even charging

#

because there are APIs involved where month has 30 days fixed duration

#

how will you auto renew before expire?

prisma turret
half condor
#

Well that's how monthly subscriptions are supposed to work.

True but when suppliers are involved you cant have that type of model to leave the invoice on due for another 2-3 days

#

and charge freely

#

yk?

#

when you are forced on a fixed 30 days duration, i need to be allowed to charge on 29 days after the subscription was created

#

a little flexibility wont ruin

#

works to set 29 days also?

#

in order to charge appropriate in our case

prisma turret
#

I haven't tested this myself but should work.. Would recommend trying it out in test mode to be 100% certain

half condor
#

Thanks, we will try it

#

We had 2 customers leaving, 500$ recurring lost because of this

#

when I went on live chat, those guys are pretty much gg

prisma turret
#

I'd recommend looking at the invoice lifecycle - https://docs.stripe.com/invoicing/overview#invoice-lifecycle

Depending on the collection method you've set on the subscription, the invoice should only stay in draft status for 1 hour before being charged. This is done to allow folks to make any changes to the invoice if needed.

If you're trying to finalize immediately, you can call the API and finalize/try to pay the invoice manually.

#

Above is to address

True but when suppliers are involved you cant have that type of model to leave the invoice on due for another 2-3 days

#

If the invoices aren't getting finalized and are staying in draft for around 72 hours, it is possible that the issue is on your end.

For example, if you're listening to invoice.created webhook events and we don't receive a 200 response when the event is sent, we'd try to delay the finalization process and try to re-deliver the webhook event