#phonicuk
1 messages · Page 1 of 1 (latest)
hi! well you shouldn't use that event at all. you should be listening to invoice.paid instead to get notified of payments on the subscription.
ooh?
payment_intent.payment_succeeded could be anything(any payment on your account) so you'd need a bunch of logic to know what it's relating to
aye I look up the invoice for the intent and work it out that way
you can do that, but also seems easer to just listen to the Invoice event itself
I have a mixture of subscriptions and one-time payments
in any case to answer your initial question, each recurring invoice creates a new PaymentIntent object.