#isaac.mk-webhook
1 messages · Page 1 of 1 (latest)
Hi! Stripe webhook work with a lot of different objects, like PaymentIntent, PaymentMethod, CheckoutSession, etc.
If you are only interested in PaymentIntent, then you need to check the type of the event as explained here: https://stripe.com/docs/webhooks#webhook-endpoint-code
thank you so much,I will try it later. can I get all the event's stripeObject?
What do you mean by "all the event's stripeObject"?
You can find all event types here: https://stripe.com/docs/api/events/types
Yes, that's what I want。But why when I got a evnet "payment_intent.payment_failed
data.object is a payment intent" , what I get acturally is a charge class not the payment intent
Are you sure? The documentation says it should be a payment intent object: https://stripe.com/docs/api/events/types#event_types-payment_intent.payment_failed