#fagunshah - webhook test

1 messages · Page 1 of 1 (latest)

slender pelican
#

Is this just for testing purposes?

hexed raven
#

So basically I am using zapier and pabbly connect where I need to setup automation using webhook as a trigger

#

But I can only do that if I actaully have some data which is actually going to come in exact format(key:value pairs) in real life charge.failed

slender pelican
#

So this is for testing then, correct? Just test data should suffice?

hexed raven
#

yes

slender pelican
#

One thing you could do is fail a charge in test mode

hexed raven
#

How?

slender pelican
#

Plus test mode api keys

hexed raven
#

And also in my actual usecase I want to send data to webhook when monthly subscription payment fails

#

Am I using correct trigger event charge.failed?

slender pelican
#

invoice.payment_failed is recommended

hexed raven
#

Still not clear which webhook trigger event to use when subscription payment is failed

#

Can you giude?

slender pelican
#

invoice.payment_failed

#

I said above

#

I recommend reading that whole guide first

hexed raven
#

okay, got it