#arvind_api

1 messages ¡ Page 1 of 1 (latest)

hearty mistBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1295696959218257950

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

pulsar fractal
#

Hi

#

I am trying to implement stripe tax in my dot net application

#

my dot net version in 4.8

#

which stripe.net is the earliest version to support stripe tax?

past knot
#

It depends on what API you need exactly, but you need to check the changelog to identify the version that fits your need

pulsar fractal
#

We use payment intent to make first time and recurring payment

past knot
#

You can't use Stripe tax with PaymentIntents

#

what guide are you following ?

pulsar fractal
#

We have started spikes on it, the present implementation we have with making payment using payment intent. we make recurring payment with paymentmethod id

hearty mistBOT
past knot
#

Could you please share some code snippets where you are using Stripe tax ?

pulsar fractal
#

we are not using stripe tax yet, we are plnanning too

past knot
#

Then, why not using the latest Stripe .net SDK ?

pulsar fractal
lofty niche
#

What's the exact issue?

pulsar fractal
#

trying to understsnad to implement stripe tax through payment intent we are using

lofty niche
pulsar fractal
#

I understand, its not automatic, i have gone through the flow and ok to call tax api to calculate tax,

#

paymentintent will take any tax refence for the recurring payment?

lofty niche
#

I don't know what that means. What 'tax reference'?

pulsar fractal
#

When i make payment first time, i store PaymentMethodid which i use to make payment during recurring payment. When i use stripe tax, i'll calculate tax during checkout i undstand upto that point

#

but when making recurring payment from PaymentMethodid do i need to call stripe api to calculate tax during recurring payement or will i store any reference for tax and payement intent will deal with tax

lofty niche
#

You'd need to create a new tax calucation/transaction for each recurring payment, yes

pulsar fractal
#

oh..ok

lofty niche
#

General recommendation would be to use a Subscription for recurring payments which supports automatic tax calculation for each payment

pulsar fractal
#

and how to do that?

lofty niche
pulsar fractal
#

Anyway, its ok for me to upgrade stripe.net to the latest and look for this automatic tax for recurring payment

lofty niche
#

You shouldn't need to upgrade, the parameter was added many versions prior to 46.x.x

pulsar fractal
#

ok

#

thanks

#

but upgrading will not cause any side effect in existing code?

lofty niche
#

There will be breaking changes between any upgrades of major SDK versions, yes (41 -> 42, for example). You'll need to work through them any ensure they don't affect your integration

#

Especially as major versions of the SDK are fixed to API versions

pulsar fractal
#

Sure.

#

Thanks for your help,