#ctotheameron

1 messages · Page 1 of 1 (latest)

lucid moatBOT
carmine peak
#

Hi
Can you please share more details about the issue ?

bronze garden
#

Our situation is as follows:

We have multiple SaaS features that are independent and managed as separate Product/Prices.

Example:

1. "Banking" - monthly subscription (1 Product, 1 Price)
2. "Relay" - tiered monthly/yearly subscription (2 Products, 4 Prices)
           |
           |- Relay Basic (monthly) / Relay Basic (yearly) (1 Product, 2 Prices)
           |- Relay Pro   (monthly) / Relay Basic (yearly) (1 Product, 2 Prices)

We want our users to be able to update both the tier (switch products) and the subscription cadence (switch prices) from the customer portal.

I've followed the documentation for creating a portal configuration here:
https://stripe.com/docs/api/customer_portal/configurations/create?lang=node#create_portal_configuration-features-subscription_update-products

So for example, I want subscribers of "Relay" to change to other flavors of "Relay". Providing the full matrix of product/pricing does allow the customer to switch plans. If they're only subscribed to "Relay" everything looks good.

However, this portal configuration allows customers to update their "Banking"' subscription as well (which in our business model, has no alt prices/products).

So what we end up with is a user can update from "Banking" -> "Relay" which for our usecase is nonsensical.

#

Screenshots to better explain

carmine peak
bronze garden
#

Yes that is part of it.

The user from my screenshots has subscribed to both Banking and Relay.

I've configured a portal session with something like:

{
  features: {
    subscription_update: true,
    default_allowed_updates: ["price"],
    products: [
      {
        product: 'relay_basic_id',
        prices: ['relay_basic_monthly_id', 'relay_basic_yearly_id'],
      },
      {
        product: 'relay_pro_id',
        prices: ['relay_pro_monthly_id', 'relay_pro_yearly_id'],
      },
    ]
  }
}

My ideal state is that there is "Update plan" next to "Relay" and not next to Banking

#

I think it is fine that Banking shows up as a line item, since it is a subscription they are holding. It's just not valid to update from Banking -> Relay as they are separate "products" in our world (even if tiers have to be managed as products in Stripe's world).

carmine peak
#

ok I see, thanks for the explanation, I don't this this is achievable using the public features, however you can try to reach out to customer-portal-deep-links-beta@stripe.com and see if this scenario is achievable using that private beta

lucid moatBOT
feral igloo
#

Hi! I'm taking over my colleague. Please, give me a moment to catch up.

#

Please, let me know if you have any other questions.