#harvey

1 messages · Page 1 of 1 (latest)

potent birchBOT
hollow kestrel
#

That should be a fine way to add the tax items once you have calculated it yourself. Are you looking for the tax line item to be different from other line items in some way?

ember mantle
#

we are hoping to categorize that line item as a tax so that if we want to do analytics on that we can. we are hoping that line is different. Also we wanted to add a shipping tax as a line item under the shipping inside the paymentlink if possible

#

we do not want it to be categorized as a product if that is possible

hollow kestrel
#

Ah gotcha, will check in to whether it is possible to designate a line item as tax like that.

hollow kestrel
#

Unfortunately it is not possible to specify this on the line items themselves as far as I can see. Would it be sufficient for you to add this tax info as metadata on the payment intent or checkout session? That could be a way to make sure the data is there and separate so that you can aggregate it

#

Or maybe you can create a product called sales tax and always define a custom price for it, then just pull the price from each line item with that product when iterating through checkout sessions

ember mantle
#

okay thanks for your suggestion