#lolito

1 messages ยท Page 1 of 1 (latest)

strong snow
#

Hello! They are not equivalent. invoice.payment_succeeded will only fire if the Invoice it paid with Stripe, but invoice.paid will fire if the Invoice is marked as paid (even if paid outside of Stripe). We recommend you use invoice.paid.

river shuttle
#

Thanks @strong snow ๐Ÿ‘ What I meant by equivalent is that if the payment comes from Stripe, both webhooks will be fired, but if the payment doesn't come from Stripe then it will only fire invoice.paid. Is this accurate?

#

I'm trying to avoid having to listen to both as I don't really care where the payment came from

strong snow
#

Yep, that's accurate. You can only listen for invoice.paid and be fine. ๐Ÿ™‚

river shuttle
#

Thanks again @strong snow

#

Have a good one