#loeffel-webhook

1 messages ยท Page 1 of 1 (latest)

tardy badge
#

@keen cloak you don't have a webhook endpoint set up to listen to that type of event.

dreamy echo
#

You can instead retrieve the object if you want to ensure you have the latest version

keen cloak
keen cloak
dreamy echo
#

Sorry, can you rephrase that?

keen cloak
#

@dreamy echo yeah sorry haha, currently i am listening to the invoice events; i recognized that the invoice data which comes from the event not including the payment intent and charge objects; my question is: will the payment intent and charge objects are preloaded when i am loading the invoice object via the api instead of the event data or do i have to lazy load them as i am doing that right now

#

no worries if thats not understandable; i can just try it out ๐Ÿ‘

dreamy echo
#

if you retrieve the object from the api after receiving an event, you'll get the latest version (which may be different than the event data)

keen cloak
#

beautiful @dreamy echo thanks! ๐Ÿ™‚

dreamy echo
#

๐Ÿ‘