#kr7pt0
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hello! Can you give me the request ID for the request you're making that's not working as expected? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
req_LsHm0HggljAI4t
That's a request to create a Checkout Session, and at that point the Payment Intent doesn't exist yet, so there's nothing to expand. You can see that payment_intent is set to null in the response.
oh. is there a Webhook event for payment intent created ?
this changed since the 2020 api version right? worked perfect before upgrading
And this changed in the 2022-08-01 API version: https://stripe.com/docs/upgrades#2022-08-01
A PaymentIntent is no longer created during Checkout Session creation in payment mode. Instead, a PaymentIntent will be created when the Session is confirmed.
i used to create a transaction in my local database. as soon as a checkout session was created, is saved the paymentIntent id so i can find this data again.
is there a way to find out which paymentIntent is created out of a specific CheckoutSession ?
You can list Checkout Sessions by Payment Intent: https://stripe.com/docs/api/checkout/sessions/list
but out of the box from the webhook event is not possible? i want to hold the load very low on the backend
something like a id
or a unique identifier for each "payment" which is contained in all different steps like Session, Intent etc.
You can use the Checkout Session ID for that.