#Swarnali

1 messages · Page 1 of 1 (latest)

inner sparrowBOT
reef ermine
#

Hi 👋

#

Sorry but I'm a little unclear on what your question is here

#

You are attaching a meeting ID via metadata. What are you attaching it to?

drowsy timber
#

stripe.checkout.session.create({....

#

want to know status of payment, success/failure through webhooks

#

please help

reef ermine
#

What webhook events are you listening to?

drowsy timber
#

checkout.session.async_payment_failed
checkout.session.async_payment_succeeded
checkout.session.completed
checkout.session.expired

#

do i need that many?

reef ermine
#

Actually for payment failure you might want to also listen to payment_intent.payment_failed. This webhook will include a PaymentIntent but it will also have the ID of the Checkout Session it is associated with.

drowsy timber
#

i need to access the meetingid somehow

#

so was passing it through metadata

reef ermine
#

On the Checkout Session?

drowsy timber
#

yes

reef ermine
#

But you want to access it on successful or failed payment, correct?

drowsy timber
#

both

reef ermine
drowsy timber
#

actually checkout.session.completed
checkout.session.expired both are showing metadata

#

just wanted to be sure about checkout.session.async_payment_failed
checkout.session.async_payment_succeeded

#

as these 2 cases are not happening right now checkout.session.async_payment_failed
checkout.session.async_payment_succeeded

reef ermine
#

I don't see a question in there

drowsy timber
#

checkout.session.async_payment_failed
checkout.session.async_payment_succeeded
do they also show metadata?

#

as these cases are not appearing as i try out payments, so wanted to clarify

reef ermine
#

All these methods return the Checkout Session object

drowsy timber
#

acha, so they will also show like the other 2 webhooks

reef ermine
#

Yes but I dont' think this will get you what you want