#devendra-customer_portal
1 messages · Page 1 of 1 (latest)
Hey @west kite anything I might be doing wrong?
hello there, have you configured the Prices/Products that a Customer can update it to? https://stripe.com/docs/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products
Yes I have done that
I am testing it in the test mode
Can I share screenshots here ?
can you share the request id for the portal session?
you can share the screenshots, just make sure that there are no sensitive information inside
would you be able to share the request id?
Yes, where do I find that ?
The sub_ in the url ?
Or the bps_ in the response?
Got it: req_seUyWSmHBncSsE
gimme a while to look into this
Can you try adding in another Price under the same Product?
But can I give it another name ?
sorry, i didn't quite understand that? you're referring to the Price?
I want users to upgrade to other Products and not to a Price within the same Product
hmmm, it definitely allows me to update to a different Product. Can you try creating the request again so that it has a valid billing link for me to access and view
the current one's session has already expired
hmmm, i can't see anything that stands out to me right now, can you write in to Stripe Support with the request id regarding this and we'll take a closer look - https://support.stripe.com/contact/
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
that shouldn't be it
Updating subscriptions in the portal is only supported for charge_automatically subscriptions with a single licensed price.
so charge_automatically is supported
Yes but where can I check if my charge_automatically is set ?
If you look at the subscription in the Dashboard, you can see
Which means it is set to charge automatically right?
yep, that's right
Damn. I wonder why doesn't it work. I thought using the custmer portal wuld be less time consuming.
Hi @mild breach I'll take over this thread, give me a sec to catch up.
Thanks @robust snow
Hi @mild breach can you copy and paste the subscription ID here?
sub_1KkqhkBY3tS6C0HtvZm5yCUG
Got it, and is bpc_1Kd8rPBY3tS6C0HtNC1r5HbH the customer portal session configuration?
OK, I've opened the session url returned to this request iar_seUyWSmHBncSsE, and I'm able to see the update plan option
Bt once you click on it do you see another plat to update to ?
OK, so you are expecting the customer to be able to upgrade to price_1Kd9uyBY3tS6C0HtEk0R4XNv, am I right?
No to price_1KkpzwBY3tS6C0HtpFsGbrvB
Hmm, I don't see price_1KkpzwBY3tS6C0HtpFsGbrvB in the session configuration.
You are the best
You might want to update the configuration and include this price https://stripe.com/docs/api/customer_portal/configurations/update#update_portal_configuration-features-subscription_update-products-prices
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
We have been scratching our heads as to why it was not showing. All my mistake sorry @west kite
Can you add it in and see if it shows up now?
Cool! happy to hear that.
Thanks @robust snow we missed out the most basic part of checking the price id
My bad
Anyways thanks again!
Don't worry about that!