#letscode

1 messages · Page 1 of 1 (latest)

cerulean stratusBOT
true temple
#

Is your goal you want the metadata from the payment link in a webhook?

#

What's the end goal here?

regal pasture
#

yes.. so i can update payment status in my db

true temple
#

Ok. Can you share the checkout session object id you referenced above?

regal pasture
#

"checkout.session.completed" id--> "evt_1NTQoQFG3Dh3H5V46mOfX8NM"

true temple
#

You need: checkout.session.async_payment_succeeded

regal pasture
#

Got it.. thanks a ton

#

One last query: checkout.session.complete will trigger if payment is Success(ignore delay case)

#

if it triggers for failed also, how to differentiate? because both will be unpaid status

true temple
#

If payment fails for synchronous payments like card, you will never get checkout.session.complete

regal pasture
#

thanks for confirmation