Skip to main content
Best answer

New Subscription trigger firing even after failed payment

  • October 29, 2024
  • 4 replies
  • 19 views

Forum|alt.badge.img

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?

Best answer by garethjamesBest answer by garethjames

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

View original
Did this topic help you find an answer to your question?

Troy Tessalone
Forum|alt.badge.img+14

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.

 

 


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • November 4, 2024

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!


Forum|alt.badge.img

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


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • November 6, 2024

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