How to access Stripe Tax in use of Stripe

I want to add Stripe Tax functionality (to generate sales tax by state) for payments through my Anvil app. Has there been any progress since the earlier post on this (Stripe Payments with Stripe Tax computations )?

I’ve just looked a the basic sales integration to Stripe but that doesn’t seem to offer a path to integrating Stripe Tax.

Thank you!

I have made progress in tweaking the use of one-time Stripe payment form shared through Anvil doc (Anvil Docs | Payments and Subscriptions) and in the Anvil Docs Quickstart for Stripe Integration (Anvil Docs | Stripe Integration). So the available options in that form do include zip, address, city, and Country. However, they do not include the field for state. In the USA, we need the field for state, because we need to identify state in order to pay state sales tax. Zip is not sufficient to identify state because Zip can cut across more than one state. This is a must-have because otherwise, well, the tax authorities will not be happy.

So how can I add a new field into the form for State? Or is this something that whoever created the original form might do?

My ultimate goal is to use Stripe Tax to process my sales tax payments. I still don’t know how I would be able to go from use of this form to Stripe Tax for payment processing. I feel like I’m spinning my wheels a bit.

Any advice? Thanks in advance.

My attempts at integrating payments in my app have led me to use a redirect instead of the Anvil stripe integration. It seems to be the most common method with any web framework. And it is fairly easy.

I assume Stripe Tax works well out of the box once you’re on a stripe checkout page?

You redirect to a payment page (which you can customize with their API), then receive a webhook once the transaction is done, then do the rest with the resulting payload.

2 Likes

Thanks. I will try that.