#whizyyy_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- whizyyy_api, 2 days ago, 10 messages
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1251216785466986527
đ Have more to share? Add details, code, screenshots, videos, etc. below.
To be more clear in the billing settings, you can customize the customer portail and you can choose product to be able to switch them. I would like to choose which product for each session instead of having this as a "global" setting
Can you elaborate? What are you trying to do?
Sure
When you customize the customer portal on the stripe dashboard you can add "Subscription products"
This settings is global for every customer portal session you create
I would like to have different product on this settings specifically when I create a customer portal session with the API, but I am not sure if this is possible or not
In order to do that you would need to use the API. Is that something you could do? Or are you only able to work within the Dashboard?
I can work with the API
Okay, then I would recommend following this guide: https://docs.stripe.com/customer-management/integrate-customer-portal
You can create a Customer Portal Configuration to control what the Customer is allowed to do within the Portal. You can also set a Product catalogue for Products they might want to add to their subscription(s).
Note: this only works if the Customer object already has an existing Subscription. If they don't then you'll need to use a different workflow to sign them up for a Subscription before the Customer Portal will work.
I think I got it thanks. Do I need to create a new configuration for each portal session or I can create a configuration and use it for many portal sessions? (All via API ofc)
You can create one configuration for many Portal Sessions
I succeed, thanks for your support!