#schavan

1 messages · Page 1 of 1 (latest)

lapis iglooBOT
novel garnet
#

hello! i believe you previously asked about Invoices - the underlying PaymentIntent (of the Invoice) doesn't explicitly provide a breakdown of how much is the tax

twilit stirrup
#

Hi @novel garnet I will explain my scenario here,

  1. I have completed creation of PaymentIntent. Now I am working on calculating tax for that particular purchase
  2. If I am calling tax calculation API which returns me final tax on given total amount and also returning tax Id.
  3. Now I am planning to add that calculated tax amount in my final product amount and with that amount I will create PaymentIntent.
  4. So my concern is if user goes to Stripe dashboard and open that PaymentIntent, will he able to find out what is that Product amount and how much is the tax applied on it?
lapis iglooBOT
sharp cipher
#

Hi @twilit stirrup A PaymentIntent object isn't associated with product, so I don't think you can find out the product info in PaymentIntent Dashboard.

twilit stirrup
sharp cipher
#

You can associate a custom data in PaymentIntent's metadata.

twilit stirrup
#

ok got it.