#m4rt1ns_1993

1 messages · Page 1 of 1 (latest)

brazen eagleBOT
civic thicket
#

How are you creating the Invoice?

vital lantern
#

With the API, do you want the code?

civic thicket
#

How about just the Invoice ID

vital lantern
#

in_1N44U3DPjNDXyhkQQJ1VnQ6X

civic thicket
#

Looks like the Invoice is in that 1 hour time period before automatically charging. When you turn on automatic collection, Stripe does everything to drive the invoice towards payment—including automatically finalizing draft invoices after one hour. During this wait period, you can edit the invoice

vital lantern
#

How do I know if i have the automatic collection turned on?

civic thicket
#

You set auto_advance

vital lantern
#

when I call the finalize invoice api

#

not when I generated the invoice

#

This means I need to to set auto_advance as true when creating the invoice instead? And in that case Stripe handles everything for me?

#

Stripe will also automatically send the invoice to the customer afterthat hour?

civic thicket
#

Stripe is still automatically going to pay the invoice, we just leave a 1 hour window of time where nothing happens so that you have a chance to edit it. It will automatically charge in roughly an hour from now.

If you want to skip the 1 hour wait time, you can manually call this API to pay it: https://stripe.com/docs/api/invoices/pay

vital lantern
#

Ok, thanks I'll take a look in one hour!

vital lantern
#

Doest Stripe sends any event when due_date of an invoice expires?

#

Imagine I send an invoice to be payed to a customer, and the customer doesn't pay the invoice until the due_date set.

civic thicket
#

Are your invoices being created by subscriptions?

vital lantern
#

No

#

I manually send invoice to a user

#

with the API

civic thicket
#

I don't think Stripe sends any event when the Invoice due_date is reached.

vital lantern
#

and when expires?

brazen eagleBOT
civic thicket
#

What do you mean by the term "expires"?

vital lantern
#

if due_date is 20/06 imagine we reach 21/06 and the invoice hasn't been paid yet

#

Does stripe triggers any event warning us that the invice hasn't bee paid?