Stripe Webhook Failing - Can you help?

Hey guys,

I use a stripe webhook to notify my app when a payment fails.

The problem, is that there is a conditional on the endpoint and if the condition isn’t met then it sends it back to Stripe as an error.

Then, with enough errors, stripe turns off my webhook.

Here’s the error bubble sends to stripe:

{
“status”: “NOT_RUN”,
“message”: “The condition for the workflow subscription_payment_failed is not met. Workflow won’t run”
}

How could I set this up so that the webhook “succeeds” but the conditional still functions?

The conditional is to search for a record in my database and if it exists, proceed. If not, don’t proceed.

Check the ‘Return a 200 if condition is not met’ box.

image

1 Like

1 Like