#rocketkittens_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/1414696304201695303
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
i can see the transactions in the stripe dashboard but i do not see the webhooks being called for the subscription made with test clock
Hello
Can you share the invoice ID/PaymentIntent ID?
i dont believe there is one, ive created it using stripe.subscription.create
programmatically making a test clock, customer, subscription and updating the card to test invoice.payment_failed
Looks like the webhook event was generated?
evt_1S5AoJ0nDohN4sqpSwlWONoT
https://dashboard.stripe.com/acct_1Rv4DM0nDohN4sqp/test/events/evt_1S5AoJ0nDohN4sqpSwlWONoT
looks like im not getting webhooks in general
but when i do stripe trigger i see them
Are you logged into the right account on Stripe CLI?
i see this now:
Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe?
I'd recommend reading through - https://docs.stripe.com/webhooks/signature
i had webhooks working previously
It's possible something might have changed in your code or account
I'd recommend reading through the debugging doc I shared above
ive already looked at it
do i need to create a webhook endpoint or do i test in local environment?
i recently switched from test mode to sandbox, i think thats where the problem started
Seeing the above error means that the SDK is unable to verify that the payload came from Stripe.
This could happen for various reasons
- You are parsing Stripe's payload to JSON before the SDK receives it
- You are using the wrong API key for the event
Sandboxes have their own API keys
so you need to make sure you're using the right one
where do i get the web hook signing key from?
do i need to create an event destination?
i click test in local environment and done and nothing in created
im not seeing webhooks triggering still
when i update my subscription in customer portal it doesnt emit the subscription.updated webhook
but if i run stripe trigger payment_intent.succeeded that works, i see that webhook
im very confused by this, why isnt the subscription update in customer portal send a webhook event?
Can you share the request id
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Are you saying this wasn't delivered to your local endpoint via the cli or an endpoint you registered in the dashboard?
cli
something is completely broken with my webhooks suddenly, i think its since i switched to sandbox
Is your cli listening for customer.subscription.updated events?
yes
You said you got a payment_intent.succeeded event delivered. What's its id?
2025-09-08 16:03:57 --> payment_intent.requires_action [evt_3S5BIRP1RfWclRKN0ozTahhU]
2025-09-08 16:03:57 --> payment_intent.created [evt_3S5BIRP1RfWclRKN0rwiVaLm]
Ah
So those were created on a different account
That's why
Those were created on acct_1PilQqP1RfWclRKN
Which is not a sandbox account
Your customer.subscription.updated event was created on sandbox account acct_1Rv4DM0nDohN4sqp
So your listener is not listening to sandbox account events
how do i fix this?
So you only want to receive events created on sandbox acct_1Rv4DM0nDohN4sqp correct?
i dont know what account that is
i have 2 sandboxes
right now im focused on jsut one
why its not working i still do not understand
You have to be logged into that sandbox account in the cli
You're logged into your platform account instead
Sandboxes are separate accounts functionally
You can find the right account id of the sandbox you want to use in the url of your browser when you click the applicable sandbox
i see, that explains it
I'm assuming it's acct_1Rv4DM0nDohN4sqp because that's the account customer.subscriptoin.updated was created on but please confirm
i dont know how
You can find the right account id of the sandbox you want to use in the url of your browser when you click the applicable sandbox
In your dashboard
Yes I understand
I'm trying to help you right now
By finding the proper account id of the sandbox account
okay its working now thanks
i have a lot of debugging to catch up on now
i just needed to run stripe login again and i was able to select the sandbox, i believe also the listen command changed the signing key finally
appreciate your time
i was logged in to test mode like you said