#birdy247-webhooks

1 messages · Page 1 of 1 (latest)

eternal plover
#

hey, please reply in the thread

meager mountain
#

For a subscription, woudl you recomend we use the invoice Pyament Succeeded webhook or the Payment Intent Succeeded webhook?
So that we know the membership payment was successful

eternal plover
meager mountain
#

Ok, can we assume we will always get both?

eternal plover
#

yes

meager mountain
#

But no real need for the invoice one?

#

sorry, I mean payment_intent one

eternal plover
#

it's better to choose one, and since your handling invoices events it's better to use invoice.payment_succeeded and invoice.payment_failed etc.

#

for what it's worth, there's an edge case I didn't take into consideration when answering your question

#

the better event to subscribe to is invoice.paid since it will also accommodate the edge case where an invoice amount is 0