#schavan

1 messages ยท Page 1 of 1 (latest)

spark oreBOT
dire marten
#

Hi there!

#

What Stripe integration are you using to accept payments? Checkout Session, PaymentIntent + Payment Element, something else?

glass crypt
#

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

dire marten
#

And you want Stripe to automatically compute the tax for you on the PaymentIntent?

glass crypt
#

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.

dire marten
glass crypt
#

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

dire marten
#

Have you updated your stripe-dotnet library to the latest version?

glass crypt
#

I am using API secret_key to connect to API. I am not aware about stripe-dotnet library.

dire marten
glass crypt
#

Ohh my mistake we are using stripe library of version 40.16.0

dire marten
#

You should use the latest one (v41.13.0) since the Stripe Tax API is brand new.

glass crypt
#

ok sure I will try. Thank you @dire marten

dire marten
#

Happy to help ๐Ÿ™‚

spark oreBOT
glass crypt
#

I took latest 41.13.0 stripe library but still it is not showing tax api method.

idle fossil
#

๐Ÿ‘‹ taking over for my colleague. Let me catch up.

glass crypt
#

I want this "/v1/tax/calculations" API method in .net