#elleschu
1 messages · Page 1 of 1 (latest)
I'm guessing invoice.updated would be sent in this case.
Or is there a GET i can run to have a list of all customers whom automatic collection has been set to off ?
thanks for your answer but looing at an invoice.updated event I can't find exactly the answer of automatic collection turned off https://dashboard.stripe.com/events/evt_1MrOoNL9NSQkHZNxpHAiHA8m
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I have the info "charge automatically" + error message but there are retries and I don't know at which stage the collection will end up with being set to off
First you list all invoices with https://stripe.com/docs/api/invoices/list?lang=curl
Then for each invoice you check the auto_advance field https://stripe.com/docs/api/invoices/object?lang=curl#invoice_object-auto_advance
owww I see perfect !
then is auto_advance is false => I know for sure automatic collection has be turned off ?
Yes, as mentioned in the link I shared:
Controls whether Stripe will perform automatic collection of the invoice. When false, the invoice’s state will not automatically advance without an explicit action.
thanks a lot this is exactly the answer I was looking for ! have a great day !