#liege - .net events

1 messages · Page 1 of 1 (latest)

wheat zealot
#

hey there, I'm not sure exactly what you mean. Is this not working for you?

bronze grotto
#

Well, for each event, its properties are casted to a specific object type, in the case below, its PaymentMethod. cs else if (stripeEvent.Type == Events.PaymentMethodAttached) { var paymentMethod = stripeEvent.Data.Object as PaymentMethod; }I am wondering what it is for the checkout.session.completed event.

wheat zealot
#

And I was curious if some part of this was not working for you

bronze grotto
#

I was looking for the Checkout.Session object because I have to set the objects as that. The link you sent was helpful and solved my issue. Thank you!

#

I have another question though.

#

The CheckoutSessionCompleted will fire when someone has successfully paid during a checkout session, correct?