#tony-subscription-update
1 messages · Page 1 of 1 (latest)
Hello! Can you provide more details? What specifically are you doing to trigger the switch and what are you seeing vs. what's expected?
Hello! I have my plans set up like this where I have a base plan price, as well as additional credits metered price if they go over their plan usage
I have the switch plans enabled and set to allow plan switching in the customer portal
But it doesn't show up with switch plans, maybe due to how I've set up the pricing so I'm interested in finding out if there's a way to do this.
I don't believe the Customer Portal allows switching between different billing approaches like that, but let me confirm...
When you created the Customer Portal configuration did you specify the updates that should be allowed? https://stripe.com/docs/api/customer_portal/configurations/create#create_portal_configuration-features-subscription_update
I didn't create the portal using the API but I allowed "Customers can switch plans" at https://dashboard.stripe.com/test/settings/billing/portal where I created it. And I added plans to the list of products.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This "Update plan" view is available in my Customer portal settings online but when actually viewing it in the browser, the switch plans option is not there
As far as I know the Customer Portal doesn't behave the way you're expecting. Setting aside the Stripe specific stuff, can you tell me what you're trying to do at a high level? What kind of pricing do you want, and how do you want your customers to be able to switch?
Yes for sure. I'm attempting to have 3 Subscription Plans at different levels. Each plan costs a base fee, for example $29/month. Each plan gives the user a certain amount of credits each month, for example 5000 credits/month. Each plan also allows the user to go over their allocated credits per month at a metered price, for example $0.01/additional credit. I have this set up currently with each product including 2 prices, one of the base price for the plan and then also a metered price that I'm going to increase the usage for each user if they go over their plan's allowance. I have my site set up to subscribe correctly at the moment and during checkout, it almost appears that they are subscribing to 2 things for the base price and the metered pricing. Only charging them the base price at that moment however. Currently the switch plans button on my website brings the customer to the customer portal for them to switch plans. I don't know if this is possible with this method due to the limitations outlined here https://stripe.com/docs/customer-management#customer-portal-limitations . I was on a chat support with stripe and they said that they think it may still should work so she converted the chat to an email I believe she said. I would like to get it working through the portal but if not, I'm wondering if there's a way I can accomplish this using the API or a different method.
Yeah, you won't be able to let people switch using the Customer Portal with this payment model. You have a pretty advanced use case, and the Customer Portal isn't designed to handle it. The update/switching functionality is something you would need to build on your end using direct API calls.
Okay, that's what I was expecting. Do you think an implementation of sending them through the initial subscription and just canceling the oldest subscription would work?
Maybe? I don't think I have enough information to give you a definitive answer, but generally we recommend updating the existing Subscription, not creating a new one and deleting the old one.
Ok, thanks for your help. I'm going to try to implement that and see how it goes!