#moanie-checkout-productID

1 messages · Page 1 of 1 (latest)

limpid valve
#

Hello! Where are you looking at it? Webhook or retrieving manually through the API later?

#

I don't think it is automatically sent there but if you retrieve the Session and expand line_items.data.price.product it you should be able to see info about what was in the session session = stripe.checkout.Session.retrieve( event.data.object.id, expand=['line_items.data.price.product'])

#

Checkout Session IDs will be of the form cs_123, sounds like you are in a payment_intent webhook (PaymentIntent IDs are pi_123). I'd recommend listening for the checkout.session.completed event for this

#

Of course!

#

At what point? Do you mean like refund after you have already charged a customer or cancel the PaymentIntent before it charges them?