#adi_webhooks

1 messages ¡ Page 1 of 1 (latest)

rigid nestBOT
#

👋 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.

maiden drum
#

Hi there

unreal pagoda
#

For reference i tried to copy this webhook from my other account: we_1R9nm4KDXIK7QcLzEL7oDC7u

#

Hello

maiden drum
#

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?

unreal pagoda
#

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

maiden drum
#

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?

unreal pagoda
#

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?

maiden drum
#

The Event ID

unreal pagoda
#

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?

maiden drum
#

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.

rigid nestBOT
maiden drum
unreal pagoda
#

I see, ok, I will try that, thank you

maiden drum
#

Sure thing

lost hearth
#

fyi i am taking over this thread! lmk if you need anything else

rigid nestBOT
unreal pagoda
#

Where is this option to select to listen for Events from my Connected Account when creating a new Webhook? In which category is that

lost hearth
#

good question, 1 second

#

are you using workbench?

unreal pagoda
#

Yes

lost hearth
#

do you see this screen when you go to create a new webhook? if so the events are just at the bottom

unreal pagoda
#

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.

lost hearth
#

ok cool! i'll keep this thread open a bit longer in case you have more questions

unreal pagoda
#

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?

lost hearth
#

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.

unreal pagoda
#

I have fixed the issue. Thank you!