#bijay_jha

1 messages · Page 1 of 1 (latest)

wet lilyBOT
shy scroll
#

Hello 👋
As far as I know, there isn't a way to preview tax details before creating the sub. However, you might be able to use Tax API for this and calculate tax on the fly and use it for preview

agile igloo
#

but then, I will have to create Tax rates for my products. I thougt I could use Stripes automatic tax collection

shy scroll
#

How are you integrated? Are you using Stripe Checkout OR PaymentElement + PaymentIntents?

agile igloo
#

I am using StripeElements

shy scroll
#

I see. Yeah currently there are no API endpoints that let's you preview an invoice for a subscription that hasn't been created.

The other workaround is to create a subscription proactively to get the invoice generated and tax calculated, if the customer doesn't go through with the purchase then you can cancel the subscription

agile igloo
#

Can I also try creating a quote ?

#

A quote , I believe shows the tax details for the price line items

#

will that be wise to use that
?

shy scroll
#

Oh yes good point, I haven't tried it myself but a quote should work too I think.
I'd recommend giving it a go in test mode