#adi_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/1415018634182397968
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- adi_api, 6 days ago, 11 messages
Hi there
For reference i tried to copy this webhook from my other account: we_1R9nm4KDXIK7QcLzEL7oDC7u
Hello
Looks like you set up a Connect Webhook endpoint for we_1R9nm4KDXIK7QcLzEL7oDC7u but a direct endpoint for we_1S5Rn1GbNDJKVleWtG49j8oq
Both of these accounts are going to be platforms?
Yes, one of them will be only for me to receive the subscription money from my customers. And the other will have in sight the connect account only functionality
So they are both platforms for Connected Accounts? Or one of them is not a platform?
Can you share an Event you expected to receive in the new endpoint but did not?
Ah thats what you meant. No, only one will be with connected accounts, the new one. Im expecting to get a payment_intent.succeeded event after the checkout has been completed. I create the checkout in the backend in java and with the old webhook it worked perfectly. Do you need a full object or something?
The Event ID
I have no event in my webhook, after the checkout gets completed it does not show up here when scrolling through the list of events, thats why im thinking that maybe in the setup of the webhook is something wrong, or something that i have in the checkout. I have the checkout session id of an order if thats helping pinpoint the problem.
cs_test_b1xNv8i5DZqwQYqdUq2B9UXntU7Pzz1rxNAwclw6JRPLo7Yd95w9dGub6V
In my new webhook i have written that events are from 'Your account', but in the old one i have connect accounts, could that be the wrong part? and if yes where can i change that?
https://dashboard.stripe.com/test/events/evt_3S5UayGVxddpcYZa265SPHm1 is the Event which was created on acct_1S5Q50GVxddpcYZa which is a Custom account and the Webhook for that platform is a direct, not connect Webhook so it won't receive this Event since it took place on the Connected Account.
You want to recreate the Webhook and choose the option to listen for Events from your Connected Accounts.
I see, ok, I will try that, thank you
Sure thing
fyi i am taking over this thread! lmk if you need anything else
Where is this option to select to listen for Events from my Connected Account when creating a new Webhook? In which category is that
Yes
do you see this screen when you go to create a new webhook? if so the events are just at the bottom
Oh i have completely overseen that, i thought its not interactable. Thanks
I think that this should do it, the rest of the webhook is the same as the previous implementation so there should not be any problem anymore.
ok cool! i'll keep this thread open a bit longer in case you have more questions
Ok, thanks!
I have found something else, I get an Invalid signature error 400 on evt_3S5VLhGVxddpcYZa1uRQdOBt. Maybe could you quickly tell me what the reason for that is please?
I run this on SignatureVerificationException in java from my code. On Webhook.constructEvent i use the Stripe-Signature parameter. But i guess this is not your department anymore is it?
that is something i can help with, although java is not one of my more familiar programming languages. normally what i recommend when people run into signature verification issues is to reverse engineer from our webhook quickstart, which should just work.
I have fixed the issue. Thank you!