#andrea-skuola-zero-invoice

1 messages · Page 1 of 1 (latest)

fallen swift
#

Not sure I understand the ask? It's a €0 invoice so there's no payment due

next echo
#

the subscription says that next invoice is €0, i wanted to know what happens if i do nothing

#

Stripe will charge €0 to the user card?

fallen swift
#

Nothing, the invoice will be marked as paid

next echo
#

and if I have webhook on my site that listen to invoice.payment_succeeded does this invoice triggers this event?

fallen swift
#

Yup!

#

Actually, invoice.paid

#

payment_suceeded is generally not recommended

next echo
#

that's a problem for me because i generate things on invoice.payment_succeeded event and this isn't a real payment

fallen swift
#

That only fires if there's an actual payment, which in the case of €0 amount, there's not

next echo
#

maybe this saves me

fallen swift
next echo
#

so invoice.payment_succeeded will not trigger on €0 invoice?

fallen swift
#

Correct

next echo
#

ok, that's good

#

but can you tell me why invoice.paid is recommended against invoice.payment_succeeded?

fallen swift
#

I just did: invoice.payment_succeeded only fires when there's an actual payment processed for the invoice

#

So if its a zero amount invoice (because of a trial/discount/credit), or paid out of band then it won't fire