#raz

1 messages · Page 1 of 1 (latest)

patent boughBOT
feral nexus
#

Hi, let me help you with this.

#

I would recommend invoice.paid

#

payment_intent.succeeded is also fine, but invoice.paid is more high-level.

grizzled moth
#

Hi, so currently I have setup one time payments and also subscriptions, thing is I want to differentiate a payment that was done through the monthly subscription and one that is done via a one time payment

#

are there different events for those 2?

#

so I can specifically let my 2 webhook endpoints listen for different events

feral nexus
grizzled moth
#

that is great, will use that then

#

thank you

feral nexus
#

Happy to help.

grizzled moth
#

One more thing I wanted to ask, do I open another thread or?

patent boughBOT
grizzled moth
#

checkout.session.completed is only fired for one time payments? For subscriptions the checkout session remains open and never completes?

feral nexus
#

No, it completes when you pay the first Invoice successfully and the Subscription is active

grizzled moth
#

Understood, thank you