#creativemutation_api

1 messages ¡ Page 1 of 1 (latest)

junior islandBOT
#

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

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

sharp zealotBOT
#

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.

hexed rapids
#

hi there!

royal epoch
hexed rapids
#

what do you mean by "item name"?

#

you want to know the line items bought from a Checkout Session?

royal epoch
#

for susbcription update

#

for susbcription creation

#

and payment for invocie

#

because they are created using the dashboard

#

We are trying to retrive "LINE ITEM"

hexed rapids
#

I don't understand your question, sorry.

#

can you be more precise?

#

the PaymentIntent you shared was created by an Invoice

#

so you need to check the Invoice object to find the line items

royal epoch
#

so you can see here in the product tab, I am trying to retrive the name of the product

hexed rapids
#

so:

  1. check the invoice property of the PaymentIntent
  2. retrieve the Invoice
  3. check the lines property of the Invoice
royal epoch
#

okay, give me a moment I am checking

hexed rapids
royal epoch
#

ok thanks for info