#schavan
1 messages ยท Page 1 of 1 (latest)
Hi there!
What Stripe integration are you using to accept payments? Checkout Session, PaymentIntent + Payment Element, something else?
Custom payment flow with PaymentIntent creation.
we are creating paymentMethod and customer and passing that to paymentIntent and finally confirming paymentIntent. We have our own custom pages for payment. Where we are calling this stripe API through .net
And you want Stripe to automatically compute the tax for you on the PaymentIntent?
yes I have Customers billing address and I want tax amount calculated by stripe on particular product amount depanding on address provided.
I want how much tax it will apply on that particular transaction so that I can show it on my UI.
That should be possible with the new Tax API: https://stripe.com/docs/tax/custom
Thanks @dire marten , but for server side 1 API call is there which is saying not supported in .net client. "https://api.stripe.com/v1/tax/calculations"
this is message "This method is currently unsupported in the .NET client. If you'd like to see it included in the library, let us know about your use case."
what I need to do for same to use this API in .net
Have you updated your stripe-dotnet library to the latest version?
I am using API secret_key to connect to API. I am not aware about stripe-dotnet library.
If you are using .NET, we strongly recommend using the Stripe library: https://github.com/stripe/stripe-dotnet
Ohh my mistake we are using stripe library of version 40.16.0
You should use the latest one (v41.13.0) since the Stripe Tax API is brand new.
ok sure I will try. Thank you @dire marten
Happy to help ๐
I took latest 41.13.0 stripe library but still it is not showing tax api method.
๐ taking over for my colleague. Let me catch up.
I want this "/v1/tax/calculations" API method in .net