#juneid-webhook-cli

1 messages · Page 1 of 1 (latest)

agile wyvernBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

next barn
#

No, can you please summarize the new issue you're having listening to webhooks via the CLI?

mellow falcon
#

I am working with clocks test

#

is there anyway to listen to webhooks from application because its not working for me

#

in clocks test mode only

#

otherwise the weekbooks are working

next barn
mellow falcon
#

i have th endpointi my .net application

#

it works fine when in test or live mode

#

but it does not get a hit when working in clocks test.

next barn
#

Can you share an example event ID?

#

it works fine when in test or live mode
This should also get events from the test clock subscription

#

These are normal test mode events

mellow falcon
#

Let me create a new test clock.
I will share the event in a minute

#

clock_1OFNhkKqvjOx1xhtbZMTkIxW

#

Do you have access to it ?

next barn
#

Sure

mellow falcon
#

In this scenario, the payment method is not added and three payment retries are already done and after 4th the payment will be failed.

#

on that failed event i want my endpoint to work.

next barn
#

Do you have an example event id like evt_123 that you suspect you're not getting?

mellow falcon
#

cus_P3UhfRyzF8oQ7b

#

For this cust

#

When after the retries the payment was failed then why did not my endpoint get a hit.

#

if I advance the time and miss the time when webhook works? is it causing this ?

#

Aything here ?

next barn
agile wyvernBOT
hexed wedge
#

juneid-webhook-cli

mellow falcon
#

Here is my understanding:
so my endpoint listens to this customer.subscription.updated event and then I trigger an action to cancel a subscription.

#

But while working with clock test as I advance the time to the time when all retries will be completed.

#

will this hit my end point ?
or it will miss because i have already advanced the time .

hexed wedge
#

Yes it will hit your endpoint, the TestClock doesn't change anything with that behaviour

mellow falcon
#

Well it is not hitting then.

#

return InvoicePaymentFailed(stripeEvent, msgs);

#

am i handling it properly ?

hexed wedge
#

Sorry it's a picture of code so I have no idea what you're asking

#

Step 1: Look at the Event in your Dashboard
Step 2: Confirm if it was sent to your webhook endpoint
Step 3: Add simple logs on your server every time you get an Event to see what you get and confirm you see it

mellow falcon
#

Alright.

hexed wedge
#

My colleague showed you a clear example earlier