#cableman127-lineitem-discount

1 messages · Page 1 of 1 (latest)

willow parcel
#

@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

sweet forge
#

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

willow parcel
#

Okay so Checkout will have all the information you need in total_details for example

sweet forge
#

i see "total_details": {
"amount_discount": 0,
"amount_shipping": 0,
"amount_tax": 0
},

#

but its not itemized

willow parcel
#

that means there's no discount right?

sweet forge
#

well even if i applie da discount

#

it would be the total, but i have two items

willow parcel
#

also Checkout has the list of line items in line_items have your looked at it?

sweet forge
#

oh lemme check, it doesnt give it normall,y I tihnk you have to ask for it, expandable*

willow parcel
#

let me know if that solves your ask!

sweet forge
#

ok, ty, i see it now!