#isaac.mk-webhook

1 messages · Page 1 of 1 (latest)

urban sphinx
#

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

keen phoenix
#

thank you so much,I will try it later. can I get all the event's stripeObject?

urban sphinx
#

What do you mean by "all the event's stripeObject"?

keen phoenix
#

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

urban sphinx