#tareqpi_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/1348502182839718055
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the request ID (req_xxx) of the Configuration Creation, so that I can take a look? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site 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.
I directly used the stripe dashboard to configure the customer portal
req_1HZhLBHg91T30L
The config looks right to me. Could you share an example Customer Portal link, so that I can check why the products are not showing?
my understanding is that req_H8m6xWTCiIYL8x overrides the list of products shown in the portal and replaces it with that one particular product
I don't want the other products to disappear when I do a request similar to req_H8m6xWTCiIYL8x
I tried to retrieve the current products and to include them in req_H8m6xWTCiIYL8x but I can't seem to be able to retrieve the list of products in the billing portal
Can you try to Retrieve the Billing Portal Configuration object, which is used in the Biling Portal object?
What do you get in its features.subscription_update.products?
I tried the following:
ConfigurationListParams listParams = ConfigurationListParams.builder().build();
Configuration config = Configuration.list(listParams).getData().getFirst();
existingProducts = config.getFeatures().getSubscriptionUpdate().getProducts();
And I get null. Then I tried to addExpand
ConfigurationListParams listParams = ConfigurationListParams.builder().addExpand("features.subscription_update.products").build();
but it is still null
I see, let me try
ok
It works for me, with expand: ['features.subscription_update.products']
Can you check your Dashboard request log, to see what expand you have sent to Stripe? https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
You want to use the Retrieve Portal Configuration API (using Id), not the List Configuration API
Pass in the Configuration Id bpc_1NffJqGkWElcsCwX4UW9clI5
Now works