How to create a direct upgrade link for Memberstack users with Stripe integration? Answered

Post author
JQ Sirls

Hello. Is there a way that we can give a member a direct link to upgrade? I'm sending an email to users to give them a discount code and I'd like it to be a direct link to upgrade via stripe in a way that's recognized by memberstack.

Comments

3 comments

  • Comment author
    Chukwudi

    Hi JQ,

    To create a direct link to upgrade via Stripe, you can add the data-ms-price:update attribute to a button or link and specify the PRICE_ID of the upgraded price, but then, it will take your user to a sign up page(if you've created a custom sign up page) or using the pre-built Memberstack Sign up modal. When the member clicks on this button or link, Memberstack will recognize the upgrade after they've signed up and redirect them to the Stripe checkout page.

    Here's an example of how you can use the data-ms-price:update attribute:

    <a href="#" data-ms-price:update="PRICE_ID">Upgrade Now</a>

    Replace PRICE_ID with the actual price ID of the plan in your Memberstack dashboard.

    0
  • Comment author
    JQ Sirls

    I meant Literally, a link like mywebsite dot come / 39098p9upirupikdjflks (link). That way I can add it in email or someplace off site and it checks the user.

    0
  • Comment author
    Duncan from Memberstack

    Hey JQ Sirls checkout this article for me. It requires some custom code, but should do what you need. https://docs.memberstack.com/hc/en-us/articles/12584131679515--Code-Auto-Open-Checkout-Based-on-URL-Params

    0

Please sign in to leave a comment.