#jayson_api
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/1460443510577696920
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
I want to append an add-on stripe product to that existing stripe subscription. How do I make another stripe checkout session that will append to the existing subscription.
Thanks for waiting! Checkout Session is meant for creating a new subscription. You can't add a new product to the existing subscription through Checkout Session. I'd recommend using Update Subscription API and add new items in the items: https://docs.stripe.com/api/subscriptions/update?api-version=2025-12-15.preview&rds=1#update_subscription-items
Is there a way to use any stripe hosted portals / UIs for a customer to add new products into an existing subscription?
Are you going to allow the customer to add the product himself/herself and make a payment in this hosted page?
Or are you going to add the product to the subscription itself, and provide a payment page for the customer to complete the payment?
preferrably the latter. But really try to explore my options. How would I do either?
Really looking to add them to the same subscription so that the billing cycle / interval can synchronise.
This can be done by using deep linking of Customer Portal with subscription_update feature: https://docs.stripe.com/customer-management/portal-deep-links
You can redirect the customer to this hosted Customer Portal to complete the rest of the process
Thank you, I will try to play around with it.
No problem! Happy to help 😄
Just playing around with the api
with https://docs.stripe.com/api/customer_portal/sessions/create?api-version=2025-12-15.preview&rds=1&lang=dotnet#create_portal_session-flow_data-subscription_update_confirm-items-id it looks like this references an existing item in a subscription to be updated and served with the portal. am i missing something here because it doesn't look like i can append to the existing subscription.
In https://docs.stripe.com/customer-management/portal-deep-links#create-a-flow shared earlier, the existing subscription can be added flow_data[subscription_update_confirm][subscription] field
Am I missing something?
subscription_update_confirm requires both the subscription and subscription.item.id. Is this flow not just update a existing item in a subscription?
I am looking for a customer portal flow that allows me to exclusively just append a new product to the existing subscription while keep all other products in the subscription intact.
I didn't realise that flow_data.subscription_update_confirm.items.id is a required field. It looks like even with Customer Portal, you will have to have an existing price to update, instead of just simplying appending a new price directly
Checked all the hosted page integration with Stripe that there is no straightforward way to just simply confirm a new subscription item on a hosted page
The recommendation will be created your own page for the customer, then update to subscription directly using Update Subscription API
⛔️ Stripe developers have stepped away for a short while
Please leave your questions here, and we’ll respond as soon as we're back! If you need help urgently, you can contact Stripe support for help.