#dahri-webhooks
1 messages · Page 1 of 1 (latest)
Hi 👋
What do you mean by "not working"? Is your live webhook endpoint registered for both events? What is the response code returned by your server?
its working for created but not for updated
tho both the events are working in test mode.
Sorry you are not answering my question
What is "not working"?
What does that mean?
Are the events not firing? Are they not being delivered to your endpoint? Do you have example event IDs?
customer.subscription.updated
my server is not getting above event. while its good in test
Do you have example event IDs for a customer.subscription.updated event that your server did not get?
Please just send text. I cannot use screenshots. And to be clear, these are for customer.subscription.updated?
ok let me share
evt_1OQC2bClEq3LQAa9uA0K6huZ
evt_1OQC2cClEq3LQAa99olpt6w9
evt_1OQC2bClEq3LQAa9I111SStB
evt_1OQC2bClEq3LQAa9JmPTsQ9H
evt_1OQC2bClEq3LQAa9xuhvY4CX
evt_1OQC2bClEq3LQAa9AwmK562w
evt_1OQC2bClEq3LQAa9lC4BBNF6
evt_1OQC2bClEq3LQAa9nzqMmA9a
evt_1OQC2bClEq3LQAa9U1zU7pvr
What are you sharing?
I asked for a single event ID for a customer.subscription.updated event that was not delivered to your webhook endpoint
so whats happening at my end is when i checkout, two events should be hit at my server(backend).
but one of them is being hit that is customer.subscription.created but customer.subscription.updated is not being hit to server.
can you please guide from i can get the customer.subscription.updated event id??
Okay I am looking at your account logs
There are no customer.subscription.updated events in LIve mode
They haven't happened
can you please see the webhook and that webhook have events listening to
I did
It's listening to the right event types but no event of that type has occurred
exactly but its occurring in the test mode. on local webhook
i really appreciate your patience and prompt reply, I'm kinda new to stripe have come so far just left with this.
The local webhook is running in Test mode
yess
Your test mode account webhook is not listening to customer.subscription.updated
but i have recieved the webhook event for updated.
2023-12-22 21:20:24 --> charge.succeeded [evt_3OQBQcClEq3LQAa9028Czaox]
2023-12-22 21:20:24 --> customer.subscription.created [evt_1OQBQeClEq3LQAa90ivoEJDm]
2023-12-22 21:20:26 --> customer.subscription.updated [evt_1OQBQeClEq3LQAa9oyxyHGbs]
2023-12-22 21:20:26 --> payment_intent.succeeded [evt_3OQBQcClEq3LQAa90cA43Iyo]
2023-12-22 21:20:26 --> payment_intent.created [evt_3OQBQcClEq3LQAa90LkobfCV]
2023-12-22 21:20:26 --> invoice.finalized [evt_1OQBQfClEq3LQAa9pTrB5OtL]
2023-12-22 21:20:26 --> invoice.created [evt_1OQBQfClEq3LQAa92zsFyt5w]
2023-12-22 21:20:27 --> invoice.updated [evt_1OQBQfClEq3LQAa9RJLqntur]
2023-12-22 21:20:27 --> invoice.payment_succeeded [evt_1OQBQfClEq3LQAa9ZWWqyasi]
2023-12-22 21:20:27 --> invoice.paid [evt_1OQBQfClEq3LQAa9W8Hy9X1i]
2023-12-22 21:20:27 --> checkout.session.completed [evt_1OQBQgClEq3LQAa9XfNxJbn4]
You need to review your webhook endpoint configurations
You aren't set up the way you think you are
You have two Test mode webhook endpoints that are currently disabled
You are using the stripe CLI for local testing. While this works to verify your webhook handling code is fucntioning, you can only expect to see the same results if you listen for all events and currently you do not
so should i add all the event in the webhook?
and see the live mode there is one active webhook
That is up to you
what does this mean?