#dominik_api

1 messages ¡ Page 1 of 1 (latest)

summer flareBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1357614299304038440

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

red pendant
#

I reopen a new question since @broken sigil said to do so when I am ready with the test customer portal link. Old support ticket: #1343872856446074984 message

#

I have 2 different product categories. Category 1 and Category 2. In the settings of the customer portal, I can define between which plans its possible to up- and downgrade. However, when I specify all of the plans in their (Category 1 Monthly & Yearly, Category 2 Monthly & Yearly), then there are 4 plans between which I can up- and downgrade.

The issue: I am trying to find a solution where I can define that when the user clicks on the "Test-Produkt-2-Yearly - Update Subscription" button, the user can only up- and downgrade between the Product Category 2 and NOT from Category 2 to Category

#

In this case, when I have Test Product 2 Yearly, I could also select the Test Product 1 Monthly, which is in this case not correct => Only allow up and downgrade within the same product "category"

formal dawn
#

ah I see, unfortunately, what you're looking to achieve isn't fully possible through the Billing Portal. You'll likely need to build a partial custom implementation to enable your customers to update their subscriptions in this way.

Specifically, you'll want to implement buttons on your site that allow customers to upgrade or downgrade their subscriptions. Then, when your customers click on that button, create and redirect them to a Billing Portal Session that is deep-linked to a specific flow. For the subscription_update flow, you can define the Products and Prices that can be updated for a specific Subscription. You can find more details here: https://docs.stripe.com/customer-management/portal-deep-links#create-a-flow.

If you choose this route, be sure to disable subscription updates on your standard (non-deep-linked) Billing Portal

red pendant
#

cause I only see flow_data subscription

formal dawn
summer flareBOT