#sithu-khant_webhooks

1 messages ยท Page 1 of 1 (latest)

regal cedarBOT
#

๐Ÿ‘‹ 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/1346998158970064936

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

molten escarp
#

Hi! Can you please share an Event ID with me so I can dig into it?

gloomy delta
#

I am not seeing it in my terminal

gloomy delta
molten escarp
gloomy delta
#

I am following the method of Theo (t3.gg) from his stripe recommendations

molten escarp
#

Apologies, I got sidetracked. Let me have a look.

regal cedarBOT
molten escarp
#

The problem isn't the webhook code, it's where and how you are creating the Session, which will have an impact on whether it needs an Account webhook or a Connect webhook.

regal cedarBOT
gloomy delta
#

It is bagging me a lot...

#

@rich ermine?

rich ermine
#

Hi @gloomy delta let me take over this thread

rich ermine
gloomy delta
#

I added my secret api key and webhook sercet correctly

rich ermine
gloomy delta
#

btw: could you please ping me when you reply to notify me? because I am still coding

#

Likt his: const body = await c.req.text();

rich ermine
#

I'm not familiar with hono and I'd recommend you reach out to hono to confirm.

rich ermine
#

Have you checked your STRIPE_WEBHOOK_SECRET ? can you make sure it's the one that you retrieve from the Dashboard, not stripe CLI?

gloomy delta
#

but I am using Sandbox

rich ermine
#

Did you get the webhook secret from the sandbox dashboard?

#

And you might want to temporarily log the singautre and webhook secret in your webhook handler to confirm they are valid

gloomy delta
#

They are correct!

gloomy delta
#

But not seeing any incoming requests in my termanl

#

I surely used that local webhook when I tested in localhost.

rich ermine
#

Discrod is a public place and you just leaked your secret key here, I'd suggest you to roll it asap

#

I don't have access to your API secret key either so you are the only one who can verify it.

#

You need to do a stripe login first

gloomy delta
rich ermine
#

Use stripe login and select your sandbox in the webpage.

gloomy delta