#innovator48-price
1 messages · Page 1 of 1 (latest)
Hi! Are you asking if the new prices will be visible in the portal when customer want to update their subscription? If you allow customer to update their subscription in the portal, then yes it should work automatically.
Hi soma, it works if I create the prices from the customer portal but if I create the prices from API, then unless I add the new prices manually, they doesn't show up if customer wants to update subscription.
if I create the prices from the customer portal
What do you mean? It's not possible to create price from the customer portal.
unless I add the new prices manually
Where do you add the prices?
Sorry. I am actually creating the prices via API.
By manually, I meant going to https://dashboard.stripe.com/test/settings/billing/portal and adding the prices under Products > Added Products.
Oh I'm sorry, you are right. You do need to add the price for them to show on the customer portal, either in the dashboard on the link you shared, or with the API using https://stripe.com/docs/api/customer_portal/configurations/create
Thanks. Is there any way I can just append the new prices to the subscription_update.products via API rather than updating all the entire list of prices?
Unfortunately no, but you could do that programatically:
- First retrieve the current value for
subscription_update.products - Then append your new values
- Then update the configuration