#kr7pt0

1 messages · Page 1 of 1 (latest)

worn nacelleBOT
#

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.

  • kr7pt0, 22 hours ago, 18 messages
  • kr7pt0, 1 day ago, 4 messages
  • kr7pt0, 1 day ago, 12 messages
lament ridge
limpid mango
#

req_LsHm0HggljAI4t

lament ridge
#

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.

limpid mango
#

oh. is there a Webhook event for payment intent created ?

#

this changed since the 2020 api version right? worked perfect before upgrading

lament ridge
#

A PaymentIntent is no longer created during Checkout Session creation in payment mode. Instead, a PaymentIntent will be created when the Session is confirmed.

limpid mango
#

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 ?

worn nacelleBOT
lament ridge
limpid mango
#

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.

lament ridge
#

You can use the Checkout Session ID for that.