#cableman127-lineitem-discount
1 messages · Page 1 of 1 (latest)
@sweet forge can I ask you for more specific details, especially how your integration is built exactly like what product/API do you use?
The PaymentIntents API doesn't have line item information
So I use session checkouts
and it auto applies all the discounts, taxes, etc
And then i see the receipt_url from the payment intent
Okay so Checkout will have all the information you need in total_details for example
i see "total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
},
but its not itemized
that means there's no discount right?
also Checkout has the list of line items in line_items have your looked at it?
oh lemme check, it doesnt give it normall,y I tihnk you have to ask for it, expandable*
correct, see https://stripe.com/docs/expand#includable-properties
let me know if that solves your ask!
ok, ty, i see it now!