#bijay_jha
1 messages · Page 1 of 1 (latest)
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
but then, I will have to create Tax rates for my products. I thougt I could use Stripes automatic tax collection
How are you integrated? Are you using Stripe Checkout OR PaymentElement + PaymentIntents?
I am using StripeElements
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
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
?
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