Skip to main content

I have a bug in one of my Zaps. I’m using a trigger of a New Subscription in Stripe to send a welcome email. It was all working fine until someone subscribed, but their payment failed and yet they still received the welcome email.

What do I need to do fix this so that the original trigger doesn’t fire if the payment fails?

Do I need to add a filter step? If so, which one?

Hi @garethjames 

Try using this Zap trigger: Stripe - Checkout Session Completed

Try adding a Filter as Zap step 2 to check the checkout was related to a subscription: https://zapier.com/apps/filter/help

There should be a data point returned from Stripe Zap step 1 that indicates the status of the subscription.

 

NOTE: A new subscription in Stripe is different from the payment related to the new subscription.

 

 


Hi @garethjames 👋

Did Troy’s suggestions help to solve things here?

If yes, we’d love to get it marked as the best answer to help surface the solution to others in the Community.

If no, and you’re still stuck we’d be happy to help further - just let us know!


Yeah, that worked. I had to add a filter to pull out the specific purchase, but it definitely fixed things. Thanks Troy (and Sam)!


Hi @garethjames,


Wow! Thank you for confirming that Troy’s resolution got the Zap running. This will significantly help our Community members to have as a reference for the same issue.


Reply