#nitishharora

1 messages · Page 1 of 1 (latest)

placid hamletBOT
cobalt slate
#

Listening for
charge.failed

fresh lily
cobalt slate
#

Nope, i see nothing in failed or successful

fresh lily
#

What's your account ID?

cobalt slate
#

I am using
charge.failed

Is it the right one to use for failed payments?

#

Sharing that

#

acct_1IJ0hKLbdZyG7Kix

fresh lily
#

Which webhook endpoint are you looking at specifically? There appear to be several

cobalt slate
fresh lily
#

It doesn't look like there's been any failed payments since October

cobalt slate
#

seriously? none?

#

am I looking at the right event? are there multiple such events?

fresh lily
#

What's the event ID of the Event you're looking at?

cobalt slate
#

charge.failed

#

I mean should I be using any other such webhooks to track failed payments

#

or does this one cover em all

fresh lily
#

That's the Event type. Why are you expecting there to be failed charge events? There are no failed payments on this account. Unless you're getting live mode and test mode confused perhaps?

cobalt slate
#

no, it's just we tried with our own cards (having insufficient funds or wrong zip codes)

#

trying to trigger a failed payment

#

but it didn't

#

on the live website^

placid hamletBOT
fresh lily
#

You're not supposed to test live card on live websites. I believe that goes against Stripe's TOS. In any case, you should test in test mode using our test cards: https://stripe.com/docs/testing

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

cobalt slate
#

But if you say everything is working fine and I should be getting a notification for all failed payments, I cam wait

#

Oh no I meant we are trying to buy the subscription for real

#

not just test stripe

#

and thanks, I will use that resource

fresh lily
#

I don't see any reason you wouldn't get those charge.failed on your webhook as long as the webhook handler is configured properly

cobalt slate
#

okay, sounds great!

#

thanks for all your help, I will wait for it to trigger a notification

fresh lily
#

Sure thing!