#typeshit_webhooks

1 messages ¡ Page 1 of 1 (latest)

finite burrowBOT
#

👋 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/1268307909008162887

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

safe rover
#

Hello

neon salmon
#

Hello

safe rover
#

I don't see that Event being sent to any endpoint.

#

Looks like you don't have a Direct endpoint set up

#

Only Connect endpoints

neon salmon
#

so, what can i do?

#

im new, sorry

safe rover
#

So yeah you need to create your endpoint as a Direct endpoint

#

When you create your endpoint in the Dashboard make sure you have the Events on your account tickbox selected

neon salmon
#

okk ill try

#

are u there?

safe rover
#

Yep

neon salmon
#

the events "identity.verification_session.verified", "identity.verification_session.requires_input" are Direct or Connect ?

safe rover
#

Any Events that are taking place on your own account are Direct. Any Events on a Connected Account are Connect.

finite burrowBOT
neon salmon
#

its possible to have the same endpoint for both?

tardy prism
#

Yeah, though you'll obviously need to build a handler that can differentiate between the 2 types of events

neon salmon
#

i created a new direct webhook, but it gives this error

#

evt_1PijpEKPhhZi6zQeQOsmYaPn

tardy prism
#

It sounds like your webhook endpoint isn't configured to accept requests from Stripe

neon salmon
#

should be working, no?

tardy prism
#

I can't really troubleshoot that part of things unfortunately. The code looks like it could work, but you'll need to log the contents and confirm that the endpoint is actually being reached.

neon salmon
#

when i try it in the CLI it works, idk :/