Improve the process for users switching plans


I’ve had members upgrading, Stripe has a method via their customer portal

to allow customers to switch plans


but it requires creating new products and plans separate from the pre-populated ones in this plugin

Can you please maybe explain how this could be done easily?

I understand there’s a web hook and guess this could be done and then add that same web hook?

But there’s also a pre-populated support page (with products) that either needs to be changed or not used at all and simply have a link added to the new page provided by stripe?

Thank you for your work on this its a great plug-in feature.



I don’t think that it can be done easily with the current subscriptions plugin.

That’s my guess. Maybe you’d create those other plans with the Discourse interface, so it would know about them, and then the webhook could re-connect the user with the new plan.

I’m not sure how hard it would be. A wild guess is 2-5 hours work, the lower end if you just want it to work, and the higher end if you include tests to make it good enough to be submitted as a PM.

1 Like

What does PM mean in this instance?

And thank you for the reply I have it bookmarked for thought, as well, to whomever it may concern I had a contributor end up with a name in their profile/invoice, they asked me about it, (it wasn’t them) I in turn asked Stripe and this was the response from Stripe

I checked the customer profile in question and found that it was created by Discourse via API. During the creation process, the name “Tina Walker” was passed in the API request. Therefore, I’m afraid that it is expected for the customer profile to display the name “Tina Walker.” You may want to review the API request provided below:

Stripe Login | Sign in to the Stripe Dashboard

Source: Stripe/v1 RubyBindings/11.1.0 Discourse Subscriptions/2.8.2 (GitHub - discourse/discourse-subscriptions: A Discourse plugin that allows payments and subscription management via Stripe.)

“name”: “Tina Walker”

Date and time: 5/19/24, 11:43:46 AM

Uh, it means PR, or Pull Request. Sorrry about that.

So at some point “Tina Walker” was hard-coded into the Name field in the code? (It seems not to be the case now).

1 Like

Thank you, and forgive me but that’s how an update is entered into a plug-in enhancing or improving it?

Ok, just relaying my experience with the feature, and I will also add being super impressed with customer service from Stripe :partying_face:

Oh cool! Sounds like you have something successful going on :slight_smile:

How are you currently upgrading members? Just manually in stripe or some other way?

Maybe until this feature is developed, could users cancel their current plan via Discourse and then re-subscribe using the new plan they want to upgrade to? I know that isn’t the smoothest process but seems like it would work? I think they should be pro-rated appropriately when cancelling their current plan. Having them do it via Discourse would remove/add them to the appropriate groups that match their subscription level.


Seems like it but not so much,

When they cancel it does not terminate the subscription, it has to run out, so cancelling a low price and buying a new higher price doesn’t work instantly, enabling the ability to purchase multiple times may help that issue

I had two members try, in both cases I had to manually invoice them, one of those already ended with the member losing their level 2 access at the end of the first subscription though the manual one was still active

That’s another issue, as this defaults users to level 2 I had to make the auto bump unattainable and only have two user settings, non paying level 1 and paying level 2

Overall I like it very much, but I’d like it fined tuned

1 Like

Ah gotcha, so ya we will need some sort of upgrade functionality in place to make this all smoother.

1 Like

Yes, and Stripe is a great company from what I’ve seen so far for Discourse to try and pair up with for functionality, if I find the ability to contribute financially I’ll look here first as this can be a core asset to any community.

Until then I hope you’ll be able to kick in a double dose of

1 Like