#Jason889

1 messages ยท Page 1 of 1 (latest)

clever anchorBOT
trim copper
#

๐Ÿ‘‹ happy to help

#

you can list Checkout Sessions by PaymentIntent Id

#

what is the use-case here?

#

are you listening to payment_intent.succeeded event?

manic yacht
#

no just the checkout.session.completed event

trim copper
#

if you don't mind me asking, what's the use-case you're having?

manic yacht
#

just simple payment using stripe checkout but I need to make reconciliation between the session and the pi

#

in my internal system

trim copper
#

I need to make reconciliation between the session and the pi
why do you need both?

#

sorry for my questions here, I'm trying to understand the scenario so I could maybe advise you on doing things a bit differently

manic yacht
#

the purpose is track the payment failure during a checkout session

trim copper
#

is it related to async payment methods?

manic yacht
#

no only cards

trim copper
#

the checkout session won't be completed if the payment has failed

#

e.g. try this card 4000000000000002 in test mode

manic yacht
#

ok thanks and is there a report on Stripe to retrieved all the payment timelines(like in the payment details screen) for each payment ?

trim copper
#

I'm not sure which API version you're using now, but if you're using our latest API version, a Payment Intent will no longer be created until the Checkout Session has been confirmed

#

once that's done you can look in your dashboard under the payment_intent and you will see the different payment failures

manic yacht
#

2022-08-01

trim copper
#

ok