#Peter Silie

1 messages · Page 1 of 1 (latest)

harsh bluffBOT
urban pagoda
#

Hello 👋
I believe now the PaymentIntent is generated when the session is confirmed and not when the session is created.

hard crow
#

Ok, fine as long as I know how to retrive it. I need it as a reference in my DB.

#

I've got the id of the Checkout Session Object, does it help somehow?

urban pagoda
hard crow
#

Ok, I've got my Webhook running, I've seen that the ID of the Session Object seems to be the ID of checkout.session.completed.

urban pagoda
#

yup so then using the ID you can call the retrieve session API mentioned above

#

You may need to expand the PaymentIntent property

hard crow
#

Ok, then I need to change the behaviour then generating the URL for the Payment Screen and store that ID insteads of the payment_intent.

#

Ok, might work for me with some minor changes.

#

Thanks so far.