## Testing Stripe Tax

You can use Stripe Tax in a sandbox environment to preview automatic tax calculation behavior for different tax settings. Use a sandbox to:

*   Preview tax calculation behavior for different customer locations and registered jurisdictions.
*   Validate that your integration handles automatic tax calculations correctly.
*   Understand zero-tax outcomes.

### Configure tax settings for a sandbox

Stripe Tax has separate settings for sandboxes, allowing you to preview changes to your tax settings before applying them in live mode.

When you [Set Up Stripe Tax](/tax/set-up), make sure you enable testing by configuring tax settings in your sandbox.

### Add a registration

Stripe Tax only calculates tax in jurisdictions where you’ve added a registration. You must add at least one registration in your sandbox to test your Stripe Tax integration.

Some product tax codes are exempt from sales tax in certain jurisdictions, which can make them challenging to test. For example, some classes of digital goods are exempt from sales tax in the state of California. When you’re testing your Stripe Tax integration, we recommend adding registrations in states that have fewer product-specific exemptions, such as Idaho or New Jersey.

Sandbox registrations don’t affect live mode tax calculations, so you can change them at any time after you’ve verified that your integration is working correctly.

### Testing your integration

After you’ve configured your Stripe Tax settings in your sandbox and