#Ibaad Ahmed
1 messages · Page 1 of 1 (latest)
Hi there, Stripe Tax works with Invoicing, Billing, Payment Links and Checkout integrations.
Stripe Tax doesn't support PaymentIntents API directly.
Is there any way to get VAT added on every transaction on code base level not the report thing.
What integrations are you using? Invoicing, Billing, Payment Links or Checkout ?
I am using checkout and VAT is calculated properly.
When any purchase happens purchase related web-hooks are called and in that web-hooks we get payment intent can we get tax amount from that payment intent.
OK, so what's the problem here?
I am unable to get tax amount from that payment intent.
Can we get that from that payment Intent or not.?
If not how can I get that tax amount.?
Is there any api.?
Can you share with me a payment Intent ID?
sure
Actually you can get the data you want from ChekoutSession object https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-total_details-breakdown-taxes
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Remember that the breakdown field is not included by default. To include it in the response, expand the breakdown field.
sure I will check that out.
Thanks.