#Andreas

1 messages · Page 1 of 1 (latest)

molten pawnBOT
amber seal
#

That will return a list of 1 session, the session that created that intent

#

If you want to avoid the API call it may make more sense to listen for checkout.session.succeeded events

fresh holly
#

Yes thought about this as well but then I have to make one for the payment_intent.

amber seal
#

Gotcha, yeah if you need both full objects then you will need to make at least one API call

fresh holly
#

The only thing is that I have the webhooks captured by a microservice to be sent to nats and consumed by the web app.

#

It would be brilliant if the payment_intent had some kind of prop like "origin"

amber seal
#

Agreed, will file some feedback to expose this. I definitely ran in to this myself when integrating with Checkout

fresh holly
#

ok thanks