#davidgs_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/1221916041953939587
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Also, not to gripe, but the website claims :
Chat live with other developers on the official Stripe Discord.```
but this is untrue, since the only channel to 'chat' in is [#help](/guild/841573134531821608/channel/842637025524842496/) and you have to fill out a form top do that.
I am a live developer here to chat, the form is to help us get initial context on the ask. Otherwise it can take a while getting the initial answers to those questions.
But I'm now thoroughly confused as to what information I need
Can you tell me more about this?
I get that. But the gatekeeping has effectively killed any "community" since we can't "chat with other developers"
Like what need for info are you trying to address?
I have a bunch of "products" in my catalog. price_1OekuNGuKQxVPasTpZJ3KLOV etc. And when someone buys one, I need to be able to figure out which subscription plan they bought. The Yearly? The Monthly?
Price objects have that info in their recurring property https://docs.stripe.com/api/prices/object#price_object-recurring-interval
Which you can get to either via the items array on the subscription
Or the line items on the checkout session https://docs.stripe.com/api/checkout/sessions/object#checkout_session_object-line_items
const sess = await stripe.checkout.sessions.retrieve(session.id,
{
expand: ['line_items'],
}
);
const lineItems = sess.line_items;
const type = lineItems.data[0].description;
const product = lineItems.data[0].price.product;
Like that?
Exactly!
Ok. I'm still really annoyed that y'all killed the community. Makes this process much harder. I get that this is your primary support channel, but there is now no "community" where folks can talk to each other. Like, to ask a question tlike this and some other commuity member could answer.
I'll pass that feedback along. We do still allow talking in other channels and users do still help out in each other's threads but unfortunately yes that happens less now with our changes. We care about maintaining our community as best as we can but there are tradeoffs between that and delivering the high quality support that most of our users use this server for.
What other channels? I'm subscribed to literally every channel, and none of them are for discussion.
There is a difference between "Support" and "Community". Y'all have gotten confused about htat and killed community in favor of support.
Sorry channels was the wrong word, I meant threads