Skip to main content

How to handle webhook events when subscription plans auto-renews?

Hey, folks, I'm trying to figure out a particular webhook situation, here's my what's going on:

  1. User subscribes to a plan
  2. I receive a webhook member.plan.added with the plan and member data
  3. 30 days pass and plan renews automatically, would I receive the webhook member.plan.added again on the renewal date?

6 comments

  • Marko Guzvic
    Marko Guzvic

    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.

    0
  • Anton Khabaiev
    Anton Khabaiev OP

    But what happens when the plan renews? Does the webhook fire again?

    0
  • Raquel  Lopez
    Raquel Lopez

    You should use member.plan.update to track payment renewals

    https://developers.memberstack.com/docs/dom-front-end-package#member.plan.updated

    0
  • Anton Khabaiev
    Anton Khabaiev OP

    Thank you! It's not very clear from the docs, but I will setup my api to handle those now, thanks!

    0
  • Ajithkumar S
    Ajithkumar S

    Do anyone has the sample webhook responses for member and plan events ?

    0
  • A J
    A J

    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.

    0

Please sign in to leave a comment.

Sitemap