#karls_api

1 messages ¡ Page 1 of 1 (latest)

scenic oreBOT
#

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

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

glass folioBOT
lost vapor
#

In Test mode, the Product ID is: prod_Pqb4Yku9fVGOWj, and the Price Code ID is: price_1P0tspG30Vl6ne6NciisOH4J

pearl river
#

Sorry it's not clear to me what you are trying to see. Do you want to see purchases associated with this product in the Dashboard, in the API?

lost vapor
#

and here is a sample invoice: in_1P2GnIG30Vl6ne6NEpnoMRC9

#

Yes, I want to see purchases associated with a product.

#

In the dashboard for now is expected.

pearl river
#

Okay, we are not experts on the Dashboard here but it does not look like that is an option when I look at a single product in the Dashboard

lost vapor
#

Right. I recall trying this a year or more ago, and then gave up. You would think, since the price code is used in the API that there would be a link somewhere from the product code it is related.

#

Let me ask, can you accmplish this from the API?

#

(sorry, haven't dug on this at all yet)

pearl river
#

Unfortunately this is something you would need to implement on your end. You could use the Invoices List API https://docs.stripe.com/api/invoices/list and filter the results the API gives you based on the Price objects in the lines for each Invoice.

lost vapor
#

OK, I understand. Thank you for clarifying.