#quantum1125 - Orders

1 messages · Page 1 of 1 (latest)

tall laurel
#

Hello! Can you tell me about what you're building and why you're using the Orders API?

dusky kettle
#

Sure! I am building a sales dashboard for external partners to get a snapshot of the data we collect on orders. Ideally the fields I would want to display include Stripe Order title, customer name, order amount

#

and i want data on the latest 10 orders

tall laurel
#

So you're building something on top of an old Stripe integration that's using the legacy Orders API?

dusky kettle
#

I haven't implemented the legacy Orders API yet. I am wondering if there is any updated way to get order information from Stripe via an endpoint

tall laurel
#

If you're building something new you should not be using the Orders API at all. Can you tell me more about what led you to the Orders API?

dusky kettle
tall laurel
#

Sorry, I think we're talking about different things. Orders is a deprecated, legacy API we do not recommend anyone use at this point. The documentation is still online for existing integrations who built things with the Orders API when it was new and not yet deprecated. It sounds like you're building something new, so you should not be using the Orders API. You should be using something like Checkout, Invoices, Payment Intents, or something like that.

#

Does that make sense?

dusky kettle
#

I understand you don't recommend the Orders API at this point for building something new. But do you any of these other APIs give me access to the information I seek? I basically want to access records of past transactions.

tall laurel
#

So you are building something on top of an old Stripe integration that's using the legacy Orders API?

dusky kettle
#

Maybe I am being unclear, my apologies!

I have already built a complete project that uses Stripe. I have access to my Dashboard, which shows me transaction history. My goal is to showcase this information to select external partners via an external dashboard I am creating by accessing the order information that I would have had access to via the legacy Orders API. Does that makes sense?

Site is complete, secondary dashboard is a work in progress b/c i need past order info

tall laurel
#

Can you give me the ID of an example Order you want to get information about from the API?

dusky kettle
#

you want the ID of a real order from my stripe account?

tall laurel
#

One from test mode is fine, yeah.

#

I need to understand what you're referring to.

#

Or you can just tell me the prefix of the ID.

dusky kettle
#

i guess the only ids i can see are the payment method id: pm_1JejD1GEYqkKFGstyt6E2NFk
and the fingerprint: gzvZSjAUCZe3hXk6

tall laurel
#

Thanks, let me have a look, hang on...

#

It looks like this Payment Method is associated with a Payment Intent. I'm not seeing anything related to the legacy Orders API.

#

Does that look like what you need?

dusky kettle
#

let me check the response, i'm looking for only payment intent objects that represent successful orders

tall laurel
dusky kettle
#

ok great, i think this will do. appreciate the clarification! 🔥