#tareqpi_api

1 messages · Page 1 of 1 (latest)

bold slateBOT
#

👋 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.

uneven sedge
#

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

sullen gull
#

I directly used the stripe dashboard to configure the customer portal

#

req_1HZhLBHg91T30L

bold slateBOT
uneven sedge
#

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?

sullen gull
#

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

terse ore
#

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?

sullen gull
#

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

terse ore
#

I see, let me try

sullen gull
#

ok

terse ore
#

It works for me, with expand: ['features.subscription_update.products']

#

You want to use the Retrieve Portal Configuration API (using Id), not the List Configuration API

#

Pass in the Configuration Id bpc_1NffJqGkWElcsCwX4UW9clI5

sullen gull
#

Now works