Allow members to upgrade/downgrade without Portal modal

Coming from Patreon, I’ve created custom membership plan and account pages for my new Ghost(Pro) site because the Portal modal doesn’t allow sufficient customization to support the “extended” plans that will remain on Patreon (at least until Ghost supports additional/arbitrary plan tiers). This is also meant to allow my current patrons to self-manage their migration from the complimentary plans I’ve set up for them.

I would like for my members to be able to visit the membership page (Matthew Rasnake | Author) and click an “Upgrade to X” button for the plan they’d like to switch to, and be directed to a Stripe checkout page that will allow them to update their subscription to the selected plan.

Unfortunately, the current Members API actively throws a 403 error from “create-stripe-checkout-session” for active members (even those on complimentary plans) when using the data-members-plan="<plan>" attributes for these buttons.

Is there a way to achieve this functionality for a Ghost(Pro) site without resorting to the Portal modal for member plan management?

Hello Everyone.

Does anyone, with some idea How to use tries instead of portal to upgrade from the current plan?

We can create subscriptions from custom tiers right from the theme but when trying to upgrade or change the current plan the tiers implementation doesn’t work. it only works from the Portal.

image

Thanks in advance!
Salein

Should be possible. I’d start by listening to exactly what the network calls are when you do it through Portal, then replicate. I think you need to get a session first…

1 Like

Thanks for the heads up. I’d give it a try.

1 Like