#KriJo

1 messages · Page 1 of 1 (latest)

mild stormBOT
timid axle
#

my api

quaint sierra
#

Hello! What API version are you using? This was something that was changed as part of 2022-08-01, so if you're using that version (or anything later than that) then this behavior is expected: 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.

timid axle
#

one of the latest

#

maybe thats the issue

#

will look after

#

thx

quaint sierra
#

👍

timid axle
#

so ok

#

this works

#

but

#

how i should now identify by webhook witch checkout i'm completing

#

in invoice the payment intent was created at start and stored in the DB by me so i could achive that

#

but now?

quaint sierra
#

Can you clarify - which webhook events are you listening for?

timid axle
#

payment_intent_succeeded or checkout_session_completed for completed

#

but there is only payment_intent_failed when failed

#

this way i cannot determine if checkout failed

quaint sierra
#

Ah, so your issue is that you want to trace back a payment_intent.payment_failed event back to the Checkout Session that is failing? Is there a reason you need to know whether the Checkout Session failed? The user can always attempt it again until the Checkout session expires

quaint sierra
timid axle
#

oh, that could be usefull

#

will try

#

thx again