Skip to main content
Best answer

Stripe Cancelled to Active


LauraWil

I’m looking to create a zap that recognizes when a stripe subscriber moves from a cancelled to active state.

This is so that I can show them as an active customer in activecampaign - for new customers I can use the “new subscription” status, but when someone was previously cancelled it does not register as new. 

How can I create a zap that only fires only when someone changes from cancelled to active?

Best answer by SamB

Hey there @LauraWil! 👋

To determine whether the subscription was previously cancelled you’d need to see the information stored in the “previous_attributes” field. I did some checking and it seems we’ve got a feature request open for that field to be added to the Updated Subscription trigger so I’ve gone ahead and added your vote for that. 

I can’t make any promises at to when that previous_attributes field would be added but we’ll notify you by email the minute it is! 

In the meantime, it looks like the only way to access that previous_attributes field would be by using a webhook as per Rob’s suggestion.

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

robschmidt
Forum|alt.badge.img+9
  • Zapier Expert
  • 617 replies
  • March 10, 2023

Hi @LauraWil 

You should be able to trigger that using Updated Subscription trigger. While I’m not 100% sure on that but it seems like that’s the option to use.

If this doesn’t work, you have to setup a zap with Webhook by Zapier and active a webhook in Stripe using API. There is a webhook for subscription resumed:  https://stripe.com/docs/api/webhook_endpoints/create

 


LauraWil
  • Author
  • New
  • 1 reply
  • March 10, 2023

Thanks Rob! It definitely involves updated subscription but the part I can’t figure out is how to trigger ONLY on the change from cancel to active, any insight on that part?


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7779 replies
  • Answer
  • March 13, 2023

Hey there @LauraWil! 👋

To determine whether the subscription was previously cancelled you’d need to see the information stored in the “previous_attributes” field. I did some checking and it seems we’ve got a feature request open for that field to be added to the Updated Subscription trigger so I’ve gone ahead and added your vote for that. 

I can’t make any promises at to when that previous_attributes field would be added but we’ll notify you by email the minute it is! 

In the meantime, it looks like the only way to access that previous_attributes field would be by using a webhook as per Rob’s suggestion.