#frmiqueias-checkout
1 messages · Page 1 of 1 (latest)
Hello! You can't get the Checkout Session/Payment LInk object from the Payment Intent object, but you can make a request to list all checkout sessions tied to a Payment Intent using its ID https://stripe.com/docs/api/checkout/sessions/list#list_checkout_sessions-payment_intent
It worked!
Is this the best way to get a checkout after receiving the webhook payment_intent.succeeded ?
If you're going from a payment_intent.succeeded event then yes, that's the best way. The other alternative is to listen for the checkout_session.completed event and get the Payment Intent ID from there
No, it should only have one