#latwelve_webhooks

1 messages ยท Page 1 of 1 (latest)

orchid condorBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1297875312704487434

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

vestal karma
#

In another project I used another job to handle the fees when working with a payment intent checkout but this is a instant payment checkout so hoping to keep it simple if possible ๐Ÿ™‚

orchid condorBOT
vagrant sleet
#

๐Ÿ‘‹

#

Can you please share a sample Checkout Session Id ?

weak heron
vestal karma
#

Hey - all let me check

#

I'm using
2024-06-20, which i'm guessing isn't the current way as I see an update above it.

However, I also see that charge.updated is run pretty much without fail after all my checkout.session.completed events.

Does it just make sense to listen to that and compare it to my charge id and run if any payments in my system have missing fees?

If the charge.updated will 100% have this information then I dont mind listening for that too, i was just preferring to not have a scheduled job running if it wasnt needed.

RE and ID for an example - I dont have one handy but can try to recreate one - the examples I've got access to the the ui dont have balance_transactions expanded so I cant see which one had 0 easily. Happy to go and retrieve one if my question above isn't useful enough

vagrant sleet
#

For your use case, indeed you need to listen to charge.updated

vestal karma
#

so its just luck that sometimes fees are available in the completed event?

#

doh ๐Ÿ™‚

#

thanks for your speeeeedy help