#leonardo89 - webhook iempotency

1 messages · Page 1 of 1 (latest)

loud scaffold
#

Those events should be for different things if they have different event IDs. Can you send me the IDs that you are working with so that I can look in to them?

plucky jacinth
#

sorry you are right, one was for invoice.paid and the other for invoice.payment_succeeded

loud scaffold
#

Ah there we go. So you are good on how to work with both of those when you get them?

plucky jacinth
#

well Im only listen for invoice.paid

#

I working with a metered subscription

#

do i need to listen for invoice.payment_succeeded???? too

loud scaffold
#

You don't need to listen to both here. We typically recommend listening to invoice.paid, it triggers on all of the same things as invoice.payment_succeeded plus "out of band payments"