#skyhawk_billing-portal-configurations

1 messages ยท Page 1 of 1 (latest)

astral tendonBOT
#

๐Ÿ‘‹ 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/1273709728102481961

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

agile topaz
#

Hi ๐Ÿ‘‹

I'm trying to understand that situation. Can you explain a bit more about what a single Customer is subscribed to and what you are seeing in the portal?

inland spire
#

Send picture

#

Here is the API code, I've created 3 different Customer Portal Configurations for different product subscription. When user sees Stripe's Customer Portal, its showing subscriptions to other products too and not specific product lists per the configurations.

agile topaz
#

Sorry but the screenshot isn't going to be very helpful in this case. Can you share the ID of the configuration?

inland spire
#

Sure,
"bpc_1He9gxJgJUiuHUMl0CO60HqH" - the default one that is built with Stripe GUI interface for the user to update payment and view invoices as the configuration.
"bpc_1Po6NcJgJUiuHUMlLY3iXnEl" - Subscription products of 4 tier prices yearly/monthly as the configuration
"bpc_1Po6raJgJUiuHUMlIWnOaqKe" - Subscription products of 3 tier prices monthly only as the configuration

#

To see clearly the relationship The 4 tier price table sample is
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_1NsoiQJgJUiuHUMlnmNpSw6H"
publishable-key="pk_live_PcoYxMpR62O1KE2r0Am44Onc">
</stripe-pricing-table>

astral tendonBOT
inland spire
tough ibex
#

Hi ๐Ÿ‘‹ taking a look at the configurations

#

Are you able to also share the ID of a session that used one of those that didn't behave the way you were expecting?

inland spire
#

Yes

astral tendonBOT
#

skyhawk_billing-portal-configurations

inland spire
tough ibex
#

Can you share just their IDs rather than the link to them?

#

I'm also noticing these are livemode sessions and configurations. Did you get this working as expected in testmode before trying to do it in livemode?

inland spire
#

The solution is not published yet with these configurations. Currently handled manually with QuickBooks until the team builds this into the solution. Yes, we know its live.

#

Session ID "bps_1Po8s5JgJUiuHUMlTb8eqAdz" is for Update Payment and Viewing Invoices.
Session ID "bps_1Po8sXJgJUiuHUMl9x6xhNga" is for LingoForce Tier Subscription

#

Session ID "bps_1Po8t0JgJUiuHUMlNeg6byZN" is for Assurance Tier Subscription

tough ibex
#

Session ID "bps_1Po8s5JgJUiuHUMlTb8eqAdz" is for Update Payment and Viewing Invoices.
This one uses a configuration with no product limitations specified, so we'll skip over it

#

Session ID "bps_1Po8sXJgJUiuHUMl9x6xhNga" is for LingoForce Tier Subscription
Here the Customer is subscribed to a Product specified in the configuration for updates. What are you seeing in this session?

inland spire
#

That is correct, but shows the other subscription (Assurance)

#

Basically, shows 2 subscription plans and want to show only what the configuration product allows.

tough ibex
#

I don't undertand, can you show me. If I'm not mistaken that Customer only has one Subscription, so I'm not sure I'm correctly envisioning what you're seeing.

inland spire
#

Is there a way to share screen?

tough ibex
#

Sorry no, the server is too busy for that. Screenshots would be preferred, or if you want to record what you're seeing I may be able to watch a short recording.

inland spire
#

Attached a custom quick page. When I highlight the texts in a plan. That shouldn't be there for that configuration as the product doesn't handle the plan.

tough ibex
#

Hm, that is confusing, since it didn't look like any of the cutsomers in your requests had more than one active Subscription, but maybe I was looking too quickly and missed it.

inland spire
#

Yeah, a customer has access to multiple subscriptions :

#

The customer portal interface confuses the user when the configuration is focus for a subscription product A but they can see A & B but B can't work as Customer Portal doesn't support multiple products.

tough ibex
#

Is that a different Customer than the one you used to create the portal sessions that you shared IDs for earlier?

inland spire
#

Same customer

tough ibex
#

I'm so confused, I only see one Subscription for them and a different email than what you're showing there.

#

Looking for a teammate to help take a closer look since the server is busy.

inland spire
#

k

harsh hill
#

๐Ÿ‘‹ give me a moment to catch up

#

Okay so to clarify, the issue is that your Customer is subscribed to two different Subscriptions and can update either one to the list of specified Products/Prices in your Portal Config?

#

But you want to limit that Config to only one of the Subscriptions?

inland spire
#

The customer portal configuration -> SubscriptionUpdate -> Products ( Assurance Plans A, B, C Monthly ) API Code creates this new ConfigurationService. When the customer see the customer portal, they see this other product ( LingoForce ) too.

harsh hill
#

They see a product option that isn't listed in the Config?

inland spire
#

When they go to this other product ( LingoForce ) it confused them because they cant make any changes to this plan because the update button shows

#

Correct, they are seeing another product

harsh hill
#

Okay you dropped a bunch of IDs above, sorry to make you do it again but can you give me one specific Billing Portal Session ID where they see this and the Product ID/Price ID that you don't expect them to see?

inland spire
#

"bpc_1Po6NcJgJUiuHUMlLY3iXnEl" Designed for only these products ( prod_KXaLILKxhyWxvH, prod_KXaK2F6DVXKZAs, prod_QXWDeyk3hkmUHg, prod_QXWFKLF0BE22L0) , not to show these products ( prod_QWmNGh9QLqKaxr, prod_QWmQSuCiBJsV0X, prod_QWmUt1LIlAhLIn)

harsh hill
#

Yep can you provide the Session ID (bps_xxxx) where you used that config and one of those other Products showed up (and specify which Product)

inland spire
#

ID "bpc_1Po6NcJgJUiuHUMlLY3iXnEl"

harsh hill
#

Nope that is the config ID, I need the Session ID

inland spire
#

oh one sec

#

"bps_1Po9fQJgJUiuHUMlxRGXCCMN"

#

"bps_1Po9gfJgJUiuHUMlGEj7U67s" Sorry wrong customer, this is the right customer to the right session.

harsh hill
#

Okay so when I visit that Portal Session I see the 4 Products listed in the Portal Config as options to update to... and I see that the Customer has 2 active Subscriptions in their Dashboard. So i really don't understand what is unexpected here

inland spire
#

That is what I see too, its when they click update on the other subscription outside of the product list, its displaying the wrong information choices.

harsh hill
#

Please clarify? I clicked on both and they looked expected to me? What is the "wrong information choices"?

#

Oh wait let's pause.

#

when they click update on the other subscription outside of the product list

#

Are you expecting them to only be able to update Subscriptions that are currently subscribed to Products in that list?

#

If so, that's not how it works

inland spire
#

Yes, that, okay, that is what I was trying to figure out. I was thinking that the API code would restrict to the subscription of the products not outside products that are being set in the API Product lists

harsh hill
#

Nope, that only restricts what they can update to

#

You can't restrict the updating of any of the Subscriptions they are currently subscribed to to the Products that you specify

#

It just doesn't work like that

#

I think we already have a feature request open for this behavior

inland spire
#

Okay, therefore, I would need to create my own way to update subscriptions. Which isn't hard with API code.

harsh hill
#

Yeah if you want that limitation that is correct

inland spire
#

Either feature request open for that behavior, or the ability to support multiple subscription plans as a bundle.

harsh hill
#

Yep makes sense. I'll give that feedback internally

inland spire
#

Okay, thanks. Is there a way to delete/remove Stripe.BillingPortal.ConfigurationCreateOptions?

#

Nvm, I'll just leave these alone as its something I can come back to later.

#

Thanks for your help