#napolean-solo_prices-products-features

1 messages ¡ Page 1 of 1 (latest)

turbid fjordBOT
#

👋 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/1389554943941283973

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

earnest haven
#

??

hollow grove
#

Hello

What specific Stripe object are you referring to here?

earnest haven
#

stripe.prices.list with expand=data.product

#

with stripe.products.list it returns the marketing_features in the response object but why not when I do the above?

hollow grove
#

Let me try and reproduce

earnest haven
#

ok

hollow grove
#

I was able to return an array of marketing features when making a Prices LIst request with expand=['data.product']

earnest haven
#

that's weird

#

I only get metadata

#

{
"id": "prod_SYYP26ApWt6O73",
"name": "Starter Plan",
"description": "Test plan",
"metadata": {
"custom_calls_limit": "2500",
"data_analysis_limit": "500",
"file_search_limit": "1000",
"knowledge_base_storage": "1",
"requests_limit": "1000",
"web_search_limit": "1000"
}
}
This is what i get in product

#

Marketing feature list
1000 Requests ($8), Web Search 1000 ($2.5), File Search 1000 ($2.5), Data Analysis 500 ($2.5), Custom Calls 2500 ($1), Knowledge Base Storage 1GB ($0.1 Per GB/Day)

I have these defined

hollow grove
#

I can see the features list associated with this product

earnest haven
#

so why is it not returning in the response object?

#

i am using javascript btw

hollow grove
#

i wonder if this is a limit based on the number of features. let me test that

earnest haven
#

i think i know the issue

#

my bad

hollow grove
#

Oh?

earnest haven
#

I was not reading the marketing_features when processing the output

#

damn Cursor

#

Thanks for your time!

hollow grove
#

No problem

turbid fjordBOT