Summer Sale! All accounts are 50% off this week.

sambellerose's avatar

How to send an email when a user Subscribe to a Plan in Spark?

I was wondering how I could override the function when the user subscribe to a paid plan in Spark? What would be the best way to do it? And at the same time, override the function when a user unsubscribe from a paid plan to a free plan.

Thanks!

0 likes
1 reply
gcwilliams's avatar

You shouldn't have to override either method. There are events that are triggered when someone subscribes or unsubscribes. Just listen for those events and send out the emails.

Please or to participate in this conversation.