#skyhawk_billing-portal-configurations
1 messages ยท Page 1 of 1 (latest)
๐ 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.
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?
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.
Sorry but the screenshot isn't going to be very helpful in this case. Can you share the ID of the configuration?
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>
What lead me to do this concept was this: https://stackoverflow.com/questions/74299544/can-i-use-multiple-different-stripe-customer-portals-for-one-stripe-account-in-a
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?
Yes
skyhawk_billing-portal-configurations
https://billing.stripe.com/p/session/live_YWNjdF8xQ1psZHJKZ0pVaXVIVU1sLF9RZlRrdkw2VHVDaDI2Zk82RlV2NUMxeVpUUE5iWWV601008xNBAtjj This should only show LingoForce Plans to update even though the customer has both subscriptions
https://billing.stripe.com/p/session/live_YWNjdF8xQ1psZHJKZ0pVaXVIVU1sLF9RZlRrVFFlbXdaRUFOd3hhekt3RkR4OUEzMDBlZmds0100YMe0CO3e This should only show "Assurance" Plans to update for the same customer.
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?
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
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?
That is correct, but shows the other subscription (Assurance)
Basically, shows 2 subscription plans and want to show only what the configuration product allows.
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.
Is there a way to share screen?
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.
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.
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.
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.
Is that a different Customer than the one you used to create the portal sessions that you shared IDs for earlier?
Same customer
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.
k
๐ 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?
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.
They see a product option that isn't listed in the Config?
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
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?
"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)
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)
ID "bpc_1Po6NcJgJUiuHUMlLY3iXnEl"
Nope that is the config ID, I need the Session ID
oh one sec
"bps_1Po9fQJgJUiuHUMlxRGXCCMN"
"bps_1Po9gfJgJUiuHUMlGEj7U67s" Sorry wrong customer, this is the right customer to the right session.
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
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.
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
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
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
Okay, therefore, I would need to create my own way to update subscriptions. Which isn't hard with API code.
Yeah if you want that limitation that is correct
Either feature request open for that behavior, or the ability to support multiple subscription plans as a bundle.
Yep makes sense. I'll give that feedback internally