#goutham-webhooks-paymentlink

1 messages · Page 1 of 1 (latest)

sharp yoke
#

There's a lot of them, so a better way to approach this is what are you actually trying to achieve/what information do you need? If you need information about the specific products then checkout.session.completed is what you'll want, but we also surface some payment Intent and charge events as well

lethal rivet
#

So currently I have webhooks set in place for subscriptions where the metadata is added during stripe checkout session creation.

Now I'm looking to use stripe payment links for one time payments for a few customers so would webhook like "invoice.paid" be triggered for one time payments via link as that may cause some bugs in our code?

sharp yoke
#

invoice.paid isn't triggered for payment links, so yeah that would probably cause problems.

lethal rivet
#

Oh so in which cases would it be triggered? I mean why it gets triggered during subscriptions but not for payment links?

sharp yoke
#

It's because of the way payment links/checkout are implemented - we made a decision early on to just use Payment Intents (not Invoices) for one-off payments made through Payment Links