#quantum1125 - Orders
1 messages · Page 1 of 1 (latest)
Hello! Can you tell me about what you're building and why you're using the Orders API?
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
So you're building something on top of an old Stripe integration that's using the legacy Orders API?
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
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?
When I try to procure information from stripe documentation about orders, it's the only section that appears https://stripe.com/docs/api/orders_legacy
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?
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.
So you are building something on top of an old Stripe integration that's using the legacy Orders API?
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
Can you give me the ID of an example Order you want to get information about from the API?
you want the ID of a real order from my stripe account?
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.
i guess the only ids i can see are the payment method id: pm_1JejD1GEYqkKFGstyt6E2NFk
and the fingerprint: gzvZSjAUCZe3hXk6
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.
I think the API you want is likely the Payment Intents endpoints: https://stripe.com/docs/api/payment_intents
Does that look like what you need?
let me check the response, i'm looking for only payment intent objects that represent successful orders
for the https://stripe.com/docs/api/payment_intents/list api, is there a field that states this was a successful payment intent? Or are all payment intents associated with confirmed orders? @tall laurel
Payment Intents have a status property that indicates their current state: https://stripe.com/docs/api/payment_intents/object#payment_intent_object-status
We also have more information about Payment Intents here: https://stripe.com/docs/payments/payment-intents
ok great, i think this will do. appreciate the clarification! 🔥