#Guillaume

1 messages · Page 1 of 1 (latest)

digital yewBOT
quasi spruce
#

Hi there,
This invoice has 0 amount, so it's paid directly

plush path
#

As a DRAFT invoice, it should remain as is for 1 hour

#

During this time, I add items

quasi spruce
#

It's the first invoice of a subscription

plush path
#

Wrong example maybe: in_1Lsi47BIOpjLiUFVpRkPlNBz

quasi spruce
#

Same here this is an invoice with 0 amount, of a subscription so it's marked as paid directly

#

Do you have an example where the amount is > 0€ ?

plush path
#

Sorry you're wrong

#

see: in_1LsfkSBIOpjLiUFVltRVGara

#

it was created as draft for 0€, then when I received the webhook I added items for 39€, then invoice was finalized

#

I always have 0€ draft invoices

#

but something happened as I see many many draft invoices now

quasi spruce
#

Ok let me check

plush path
#

in_1LsjU8BIOpjLiUFVOKRmuPT2 is in draft state; and my code will add items within minutes

#

Subscription invoice will be finalized and charged in 1 hour

#

it seems fixed now

#

but there was an outage on your side

quasi spruce
#

Yes sorry I confused with another use case where the invoice is finalized directly. I think you are finalizing the invoice by your integration before updating it. Make sure to track the request order made on the invoice.

steel sentinel
#

do bear in mind https://stripe.com/docs/billing/subscriptions/webhooks#understand as well

If Stripe fails to receive a successful response to invoice.created, then finalizing all invoices with automatic collection will be delayed for up to 72 hours.

Responding properly to invoice.created includes handling all webhook endpoints configured for your account, along with the webhook endpoints of any platforms that you’ve connected to.

#

but also yeah, maybe we took a little longer than usual to finalize the invoices. It depends on load on our systems, it's roughly an hour but can be a little longer