#rob_webhooks
1 messages ¡ Page 1 of 1 (latest)
đ 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/1319107864580587560
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi alex, any advice would be greatly appreciated
hello! do you have the Checkout Session id which you're expecting to see the event from? Can you share that, it'll have the prefix cs_test_
sure.. One sec
"cs_test_a1ERuvl70TLZgdspMNq3rwiS7rnqaddmnG3lXCDr8FS8R483QDYBoZs8e0"
thanks for this
so, if I look in the events it shows as checkout.session.completed however it does not trigger the webhook set to listen for that same event.
you need to setup an Account webhook endpoint for the type of charge you're using i.e. destination charges. Not a Connect webhook endpoint.
ahh I see.. But it will still work for connected accounts though right?
there's some confusion here - in short, Account webhook listens for events that occur on your own account. For destination charges, the Checkout Session exists on your account, not on the connected account.
Basically I want the charge/fee to go from end user to connected service provider and I will take a commision en route..
I see! Thanks Alex, really appreciate it. Been banging my head against the wall for hours on this!
hmmm
Basically I want the charge/fee to go from end user to connected service provider and I will take a commision en route.
who will be the merchant on the customer's bank statement? You / the connected account?
are you using Custom / Express / Standard accounts?
express
yep, it's all correct then. For reference, it might be easier to envision the flow for destination charges if you look at the diagram here : https://docs.stripe.com/connect/destination-charges?platform=web&ui=stripe-hosted#flow-of-funds-app-fee
perfect, thanks mate