How to handle webhook events when subscription plans auto-renews? Answered
Hey, folks, I'm trying to figure out a particular webhook situation, here's my what's going on:
- User subscribes to a plan
- I receive a webhook member.plan.added with the plan and member data
- 30 days pass and plan renews automatically, would I receive the webhook member.plan.added again on the renewal date?
Comments
6 comments
I have a plan you can purchase multiple times, and each time you purchase it the webhook fires and it's set up to member plan added(MAKE module preset). Not sure but I'm guessing it does.
But what happens when the plan renews? Does the webhook fire again?
You should use member.plan.update to track payment renewals
https://developers.memberstack.com/docs/dom-front-end-package#member.plan.updated
Thank you! It's not very clear from the docs, but I will setup my api to handle those now, thanks!
Do anyone has the sample webhook responses for member and plan events ?
You can find sample webhook payload for the various events in Memberstack dashboard --> Dev tools --> Scroll down to the Webhook section to view the event catalog. Hope this helps.
Please sign in to leave a comment.