#dahri-webhooks

1 messages · Page 1 of 1 (latest)

willow beaconBOT
quaint kayak
#

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?

hot loom
#

its working for created but not for updated

#

tho both the events are working in test mode.

quaint kayak
#

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?

hot loom
#

customer.subscription.updated
my server is not getting above event. while its good in test

quaint kayak
#

Do you have example event IDs for a customer.subscription.updated event that your server did not get?

hot loom
quaint kayak
#

Please just send text. I cannot use screenshots. And to be clear, these are for customer.subscription.updated?

hot loom
#

ok let me share

#

evt_1OQC2bClEq3LQAa9uA0K6huZ
evt_1OQC2cClEq3LQAa99olpt6w9
evt_1OQC2bClEq3LQAa9I111SStB
evt_1OQC2bClEq3LQAa9JmPTsQ9H
evt_1OQC2bClEq3LQAa9xuhvY4CX
evt_1OQC2bClEq3LQAa9AwmK562w
evt_1OQC2bClEq3LQAa9lC4BBNF6
evt_1OQC2bClEq3LQAa9nzqMmA9a
evt_1OQC2bClEq3LQAa9U1zU7pvr

quaint kayak
#

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

hot loom
#

can you please guide from i can get the customer.subscription.updated event id??

quaint kayak
#

Okay I am looking at your account logs

#

There are no customer.subscription.updated events in LIve mode

#

They haven't happened

hot loom
#

can you please see the webhook and that webhook have events listening to

quaint kayak
#

I did

#

It's listening to the right event types but no event of that type has occurred

hot loom
#

i really appreciate your patience and prompt reply, I'm kinda new to stripe have come so far just left with this.

quaint kayak
#

The local webhook is running in Test mode

quaint kayak
#

Your test mode account webhook is not listening to customer.subscription.updated

hot loom
#

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]

quaint kayak
#

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

hot loom
quaint kayak
#

That is up to you

hot loom
#

what does this mean?

quaint kayak
#

What are you asking me? This is a screenshot of your dashboard

#

It means you have a webhook enabled 🤷‍♂️

#

and you are receiving customer.subscription.created events