Upgrade/Downgrade Flow Completed

Post author
Gemin Pak

If I member wants to upgrade their plan, Memberstack sends the user directly to the Stripe payment page. Higher-level plans have more required input fields in their sign-up flow so wondering if it's possible to redirect the user to the sign-up flow to fill in the remaining required data?

Comments

3 comments

  • Comment author
    Duncan Hamra

    Hey Gemin Pak 👋

    I recommend removing the data-ms-price attribute from your button and have it point to some sort of "upgrade flow" where you can collect that extra info before checkout. And then you can put the actual check out button on that page. 

    If you want to collect it after checkout you just need to update the signup/purchase redirect. 

    1
  • Comment author
    Gemin Pak

    Thanks Duncan Hamra!

    So I'm sending the user to an 'upgrade flow' to collect that extra data but still unclear on how to add the checkout button after they fill in the remaining info.

    On the original plans page, when a user wanted to upgrade their plan, they'd click a button with the data-ms-price:update="PRICE_ID" attribute and it would send them directly to the stripe page. Adding a similar button to the 'upgrade flow' page doesn't seem to generate that stripe page. Do I grab this directly from stripe?

    1
  • Comment author
    Duncan Hamra

    Oh strange! Can you send me a link to your site? If the member is logged in then the button should automatically open Stripe checkout. 

    0

Please sign in to leave a comment.