1. Home
  2. Knowledge Base
  3. How to Calculate Tax and VAT at Checkout With Stripe

How to Calculate Tax and VAT at Checkout With Stripe

Would you like Stripe to add the right tax or VAT to your Thrive Apprentice course sales automatically?

In this guide, we’ll show you how to turn on tax and VAT calculation at Stripe checkout, for all your products or for one product. All you need is Stripe connected to Thrive Apprentice and Stripe Tax active in your Stripe account.

Requirements: Stripe must be connected to Thrive Apprentice, and Stripe Tax must be active in your Stripe account.

Before you get started, make sure Thrive Apprentice is installed and activated on your WordPress site. If Stripe isn’t connected yet, follow our guide on setting up Stripe in Thrive Apprentice.

Preparing Stripe Tax in Your Stripe Account

To get started, we’ll set up Stripe Tax in your Stripe account. Stripe does the tax calculation, so it needs to know where your business is and where you collect tax. Thrive Apprentice checks 2 things before it lets you turn the option on:

  • Stripe Tax is active: in your Stripe Dashboard, open Tax and finish the setup. That includes your head office address and the places you’re registered to collect tax.
  • A default tax behavior is set: under Tax settings, choose whether your prices include tax with the Include tax in prices setting. The prices Thrive Apprentice creates in Stripe use this default.

Stripe Dashboard Tax settings with an arrow on the Include tax in prices setting

For the details of each setting, see Stripe’s own Stripe Tax documentation. If you sell in both Live and Test mode, set up Stripe Tax in both, because Stripe keeps them apart.

Turning On Tax for All Products

The quickest way is to make tax the default for every product. In your WordPress admin sidebar, go to Thrive Dashboard » Thrive Apprentice. Then click Settings, choose Payments, and open Stripe.

Thrive Apprentice Settings with Payments open and an arrow on the Stripe tab

Under Default options, turn on Calculate tax / VAT at checkout. It’s off by default.

Stripe Default options with an arrow on the Calculate tax / VAT at checkout toggle turned on

This default applies to every product that hasn’t set its own value, including products you created before this option existed.

When you turn it on, Thrive Apprentice checks Stripe Tax in each mode you’ve connected. If something is missing, the toggle turns back off and a message says what to fix in Stripe. Messages for one mode start with “Live mode:” or “Sandbox:”. For the messages and what to do, see the FAQ below.

Turning On Tax for One Product

You can also turn tax on or off for a single product, which overrides the default. In Thrive Apprentice, click Products and open the product. Then click Access requirements in the left menu and open the Stripe row.

Product Access requirements screen with the Stripe row open and an arrow on Stripe

In the Stripe panel, open Advanced settings and turn on Calculate tax / VAT at checkout. When you’re done, save the product.

Stripe Advanced settings for a product with an arrow on the Calculate tax / VAT at checkout toggle

Thrive Apprentice checks Stripe Tax when you save, in the mode the product uses. If Stripe Tax isn’t ready, the save shows a message that says what to fix.

What Buyers See at Checkout

With tax turned on, Stripe calculates the tax or VAT and shows it at checkout, so the buyer sees the total before paying.

  • Billing address: checkout always asks for the buyer’s billing address. Stripe uses it to work out which tax applies.
  • Tax ID: business buyers in countries Stripe supports are offered an optional tax ID field, such as a VAT number. Those countries include the EU, the UK, Canada, and Australia. Stripe can then apply a reverse charge or zero rate where the law allows. This field comes with the tax option and can’t be turned off on its own. It isn’t offered in the US.

Stripe checkout with an arrow on the calculated VAT line, plus the billing address fields and the I'm purchasing as a business option

If Stripe can’t calculate tax for a purchase, the buyer sees “We couldn’t calculate tax for this purchase. Please contact us for assistance.” Stripe’s full message, which names the setting to fix, goes to your site’s error log instead.

How Orders Record Tax

For each Stripe order, Thrive Apprentice records 2 amounts: what the buyer paid, and the amount net of tax. This matches how Square and WooCommerce orders are recorded.

For Stripe orders paid with a promotion code, the amount paid is the amount after the discount. Orders placed before this change keep the amounts they were recorded with.

That’s it! You now know how to have Stripe calculate tax and VAT at checkout for your Thrive Apprentice products. Next, learn how to enable the Stripe customer portal so members can manage their own billing.

Frequently Asked Questions

Why does the toggle turn back off when I click it?

Stripe Tax isn’t ready in your Stripe account yet. The message tells you what’s missing:

  • “Stripe Tax is not active on your Stripe account. Activate it under Tax in your Stripe Dashboard, then try again.” Finish the Stripe Tax setup. The message can list the missing settings after “Missing:”.
  • “Set a default tax behavior under Tax settings > ‘Include tax in prices’ in your Stripe Dashboard…” To fix it, choose the default tax behavior. Then turn the toggle on again.
  • “Connect your Stripe account before enabling tax calculation.” Connect Stripe first.

Do my prices include tax or have tax added?

That’s decided by the Include tax in prices setting in your Stripe Tax settings. Thrive Apprentice follows it for the prices it creates in Stripe.

Can I collect tax for some products only?

Yes. Leave the default off under Settings » Payments » Stripe. Then turn on Calculate tax / VAT at checkout in the Stripe Advanced settings of each product that needs it.

Was this article helpful?
>