Plan based monthly credits Completed

Hey there, a couple of questions. Let's pretend I want to grant some monthly credits each month based on the plan. Is there any builtin way to do so? Or should I handle manually and save it somewhere in the json? And if I do, how do I reset the used tokens after the new payment? Should I add a webhook that listens to the stripe renewal?

Comments

3 comments

  • Comment author
    Duncan from Memberstack
    • Official comment

    Happy Tuesday! I just finished up a tutorial on how to do it 🥳

    In the tutorial, I walk through the creation of a credit or token system using Make, Webflow, and Memberstack. You'll learn how to set up a system where users can purchase, view, and redeem credits.

  • Comment author
    Jayess

    Hello Gabriele 👋
    Great questions! So I can only answer some of this.

    We currently don’t have a built in way to do this, this will be a custom set up.

    I’m not sure this is the best way and this would least amount of code. I would use something like Airtable to save all the credits and do all the database and calculation there. I would use Memberstack or Stripe’s webhook for new payment and reset the credits in Airtable for your user. Then use Zapier to trigger an action to remove the user from the plan once they finish their credits. Hopefully this helps.

    You could probably also do that with code. Here’s our dev docs: https://docs.memberstack.com/hc/en-us/sections/7233631891995

    Chukwudi Onyekwere any suggestions?

    0
  • Comment author
    Chukwudi Onyekwere

    I agree with your suggestions.

    0

Please sign in to leave a comment.