#spoutnic-orders
1 messages · Page 1 of 1 (latest)
yes
just curious, is this a new integration you're writing? or you already had an existing one from years ago using Orders?
I used Charges, but now the client wants a breakdown on Stripe of all the items bought. So I looked into the documentation and seems Orders was the way to do it, unless I am wrong.
When creating a charge, there's that info
{
"object": "order_item",
"amount": 0,
"currency": "cad",
"description": "Taxes",
"parent": null,
"quantity": null,
"type": "tax"
},
Is there a way to edit that amount manually? That's what I was planning to do unless there's another way.
But I can't pass "items[0][type]=tax" for example.
ah gotcha, so my really strong recommendation would be, please DO NOT use Orders
that is a deprecated API, has been for >2 yrs
oh it didn't say anything on the website about that (that I saw). What would be the best way to do this now?
a breakdown on Stripe of all the items bought
you should manage that on your end, teams are building what you're looking for on PaymentIntents but it will come later, no timeline on that
so for now, your integration should ideally be using PaymentIntents and managing the line items on your end
oh it didn't say anything on the website about that (that I saw). What would be the best way to do this now?
can you send me a link to what you're referencing/
On that page, nothing about being deprecated:
https://stripe.com/docs/api/orders_legacy/create?lang=php
ah fair point though, it is easy to miss and not entirely clear
to clarify, new accounts don't see Orders in the API ref at all, your account is probably older and still can see this in the docs,otherwise a new account cannot
but yeah I would strongly recommend not integrating Orders at all
oh ok. thanks for the help here. So you're saying there is no good way to send the detailed order to stripe? The goal to have it split by item and not just one big total was to connect it with Quickbook, maybe I should just enter the items sold directly on Quickbook?
The goal to have it split by item and not just one big total
Invoices might be one way, but they're also a separate thing from just a one off Charge but Invoices also offer line items so might be worth a look.
but yeah for not there isn't the ideal solution you're looking for but teams are aware and building the right experience to solve for exactly your problem