# Automatic\_tax.enabled for Discourse Subscription plugin

**URL:** https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606
**Category:** Feature
**Tags:** subscriptions
**Created:** [February 9, 2023, 12:31pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606 "2023-02-09T12:31:28Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [February 9, 2023, 12:31pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/1 "2023-02-09T12:31:28Z")

</div>

Hello all,

I use the Stripe Discourse Sub plugin an got my first subscriber. _yeah_ 🙂

Unfortunatly the bill for this subscriber was without tax information, but which is necessary.

I had contact to the stripe support and they said:

> I have looked at your Stripe Tax settings, Stripe Tax is configured correctly and automatic tax calculation is enabled.
> 
> However, “automatic\_tax.enabled” is set to “false” (response text: line 6&7) and thus automatic tax calculation is not applied.
> 
> When creating a subscription, you must enable the automatic\_tax parameter: [https://stripe.com/docs/api/subscriptions/object#subscription\_object-automatic\_tax-enabled](https://stripe.com/docs/api/subscriptions/object#subscription_object-automatic_tax-enabled)

The stripe support doesn’t know how the discourse plugin works or how to integrate this in the plugin. I have contact to the discourse team and they will have a look into it.

But it will help if more have this issue to made it work. 🙂

---

<div class="post-metadata">

### Author: ![anderer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anderer/32/310458_2.png) [@anderer](https://meta.discourse.org/u/anderer)
#### Post date: [June 18, 2023, 9:20am UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/2 "2023-06-18T09:20:45Z")

</div>

A possible solution is discussed here

> [@How to: Subscriptions Payment Invoice to include Tax breakdown](https://meta.discourse.org/t/how-to-subscriptions-payment-invoice-to-include-tax-breakdown/268727/):
>
> I’ve set up a membership subscription, and it works fine. However in Stripe, I’ve activated the “Include tax in price” option where it will use the currency to determine if tax is included or excluded. When testing, the invoice that is sent to my customer does not include this tax breakdown. This is a showstopper. Is it possible to configure things so the invoice sent from stripe includes the tax breakdown? Thanks

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [June 18, 2023, 9:44am UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/3 "2023-06-18T09:44:02Z")

</div>

I already discoussed this with the discourse team and they said they will have look into it.  
But no solution, yet.

To be percise: in my care there is no tax to be add to the price, the tax is already included and just have to bei show up in the bill.

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [August 9, 2023, 6:50am UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/4 "2023-08-09T06:50:32Z")

</div>

Solution is on the way:

> [@Allow subscription of predetermined length](https://meta.discourse.org/t/discourse-subscriptions-allow-subscription-of-predetermined-length/246395/7):
>
> There will be an update to the subscriptions plugin soon that addresses this. It will also resolve the tax issues: [Automatic\_tax.enabled for Discourse Subscription plugin](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606) and enable other payment methods. [How can I customise the discourse-subscription plugin?](https://meta.discourse.org/t/how-can-i-customise-the-discourse-subscription-plugin/232672) Please reach out if there are any other pain points you have with this plugin. I think I am aware of most, but there are still some parts that I would like to know more about. For example I would like to learn more about your …

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 14, 2024, 5:01pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/5 "2024-05-14T17:01:08Z")

</div>

The subscription plugin now has support for the [Stripe Pricing Table](https://docs.stripe.com/payments/checkout/pricing-table) and [Stripe Checkout](https://docs.stripe.com/payments/checkout)

which allows for the proper tax collecting.

[https://github.com/discourse/discourse-subscriptions/commit/45754baa0070f1fe600f4fd71d2d46e61d359b13](https://github.com/discourse/discourse-subscriptions/commit/45754baa0070f1fe600f4fd71d2d46e61d359b13)

Once you setup your pricing table in stripe you can configure these settings in Discourse:

 ![pricing-table-setting](https://global.discourse-cdn.com/meta/original/4X/5/b/9/5b9e3d196e1c9de1aabbecd4ccd36a897f9e335e.png)

to start using Stripe Checkout for you subscribe page.

As part of the pricing table setup there is an option to enable automatic tax collecting

 ![pricing-table-setup](https://global.discourse-cdn.com/meta/original/4X/2/e/e/2ee827446ebb2289dd47b9ed96b3243922b63e58.jpeg)

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [May 14, 2024, 9:15pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/6 "2024-05-14T21:15:47Z")

</div>

This is great. Thank you very much. 🥰

Does it also link to the pricing table if I klick on the Subscribe-Button on the campain banner? In my case this links to the “old” version. Just in the top menu it links to the pricing table.

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 14, 2024, 9:19pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/7 "2024-05-14T21:19:06Z")

</div>

> [@SteveRueck](#):
>
> Does it also link to the pricing table if I klick on the Subscribe-Button on the campain banner? In my case this links to the “old” version.

Oh, no it does not. I’ll make sure that works too!

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 15, 2024, 8:09pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/8 "2024-05-15T20:09:59Z")

</div>

> [@blake](#):
>
> I’ll make sure that works too!

Done.

[https://github.com/discourse/discourse-subscriptions/commit/542af4cf1665f9802da66831cbaa19c39b17f821](https://github.com/discourse/discourse-subscriptions/commit/542af4cf1665f9802da66831cbaa19c39b17f821)

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [May 15, 2024, 9:24pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/9 "2024-05-15T21:24:36Z")

</div>

Thx for that. Is this already live? Because it still works like it does yesterday. Do I have to do anything to change it to the “fixed” version?

I discovered another point: in the “old” version, if I have a subscription there is a mark on this one I already bought. In the new Version there is no mark which one I may already bought.

Is there an option to include this, that one can see which plan already is in use and to have a possibility to switch the plan?

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 15, 2024, 9:45pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/10 "2024-05-15T21:45:36Z")

</div>

> [@SteveRueck](#):
>
> Because it still works like it does yesterday. Do I have to do anything to change it to the “fixed” version?

This needs to be blank `discourse subscriptions campaign product`. And you might need to refresh your homepage?

> [@SteveRueck](#):
>
> I discovered another point: in the “old” version, if I have a subscription there is a mark on this one I already bought. In the new Version there is no mark which one I may already bought.
> 
> Is there an option to include this, that one can see which plan already is in use and to have a possibility to switch the plan?

That’s a good point. I don’t think that can be configured with Stripe Checkout because it doesn’t know anything about the user. Honestly I’m still thinking we need to keep adding functionality to the “old” way, as I’m not 100% convinced Stripe Checkout solves all of our problems. You definitely lose some customization like that, but I still like having it as an option for those who need it.

I know this is not what you are after, but a user can go to their billing page and see their active & canceled subscriptions now.

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 15, 2024, 9:49pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/11 "2024-05-15T21:49:33Z")

</div>

> [@SteveRueck](#):
>
> Do I have to do anything to change it to the “fixed” version?

Oh you need to have your site deployed! Sorry forgot to look at if you were hosted by us. I’ll let you know when that has been completed.

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [May 15, 2024, 9:59pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/12 "2024-05-15T21:59:49Z")

</div>

> [@blake](#):
>
> This needs to be blank `discourse subscriptions campaign product`.

It is.

> [@blake](#):
>
> And you might need to refresh your homepage?

I did several times, cleared the browser cache, tested it on a private browser window. The Subscribe button still links to /s instead auf s/subscriptions.

> [@blake](#):
>
> Honestly I’m still thinking we need to keep adding functionality to the “old” way, as I’m not 100% convinced Stripe Checkout solves all of our problems.

I agree. It was a nice to have option request. 🙂

What I think it would be good: on the old way a have the possibility to add some text to discribe my plan (bullet point of included things etc.). In Stripe pricing table I do not have this option. So there are just the 2, 3 plan boxes which are a bit lost on the page. I think it would be nice to add some HTML/text above and below the embedded pricing table for a bit help and context.

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [May 15, 2024, 10:00pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/13 "2024-05-15T22:00:26Z")

</div>

> [@blake](#):
>
> I’ll let you know when that has been completed.

Great. Thanks. 🙂

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [May 15, 2024, 10:35pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/14 "2024-05-15T22:35:00Z")

</div>

@SteveRueck k, you should be good to go now. 🙂

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [May 15, 2024, 10:50pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/15 "2024-05-15T22:50:14Z")

</div>

Now it is fine. Thx. 🙂

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [July 10, 2024, 7:32pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/16 "2024-07-10T19:32:18Z")

</div>

> [@SteveRueck](#):
>
> I have looked at your Stripe Tax settings, Stripe Tax is configured correctly and automatic tax calculation is enabled.
> 
> However, “automatic\_tax.enabled” is set to “false” (response text: line 6&7) and thus automatic tax calculation is not applied.
> 
> When creating a subscription, you must enable the automatic\_tax parameter

Good news!

There is now a Site Setting for automatic tax collecting `discourse_subscriptions_enable_automatic_tax` that you can enable. So that you can collect tax without having to use [Stripe Checkout](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/5).

[https://github.com/discourse/discourse-subscriptions/pull/218](https://github.com/discourse/discourse-subscriptions/pull/218)

If you enable it, but you have not configured your stripe instance properly to collect tax users may see this popup after completing the checkout process:

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/6/0/360b7bd1482175b4ee805a32722ec1e5c20fcf9c.png)

There is this guide for more info, but there shouldn’t be much do since the plugin is now passing in the appropriate `automatic_tax[enabled]=true` parameter ([step 5](https://docs.stripe.com/tax/set-up#integrate)).

> **[Set up Stripe Tax](https://docs.stripe.com/tax/set-up)**
>
> Set up Stripe Tax to automatically calculate and collect tax by configuring your settings in the Dashboard or with the Tax Settings API. You can use the Tax Settings API with Stripe Checkout, Invoicing, and Billing.

Be sure you configure your registrations ([step 4](https://docs.stripe.com/tax/set-up#add-registrations)) as well:

 ![CleanShot 2024-07-10 at 13.29.55@2x](https://global.discourse-cdn.com/meta/original/4X/8/5/2/8528308428ed53cf42e4dadf0c0014042b5d9e39.png)

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [July 10, 2024, 9:06pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/17 "2024-07-10T21:06:14Z")

</div>

Hi Blake,

that’s are great news. Thx.  
I recently switched to the new checkout option and have now placed the corresponding, but also different, link everywhere. Is it possible to permanently redirect s/subscriptions to /s if one want to use the internal option?

It would be great if there is an automatic redirect if the option is disabled.

If I remove the checkout option, I get the message via s/subscriptions that there are currently no offers.

---

<div class="post-metadata">

### Author: ![blake](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/blake/32/157322_2.png) [@blake](https://meta.discourse.org/u/blake)
#### Post date: [July 11, 2024, 3:17pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/18 "2024-07-11T15:17:41Z")

</div>

> [@SteveRueck](#):
>
> It would be great if there is an automatic redirect if the option is disabled.

Oh ya, totally, didn’t even think about this.

> [@SteveRueck](#):
>
> Is it possible to permanently redirect s/subscriptions to /s if one want to use the internal option?

You should be able to manually setup a permalink for this in the meantime.

---

<div class="post-metadata">

### Author: ![SteveRueck](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steverueck/32/248901_2.png) [@SteveRueck](https://meta.discourse.org/u/SteveRueck)
#### Post date: [July 11, 2024, 9:10pm UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/19 "2024-07-11T21:10:07Z")

</div>

> [@blake](#):
>
> You should be able to manually setup a permalink for this in the meantime.

Sounds good. Thanks.

---

<div class="post-metadata">

### Author: ![lucytallents](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lucytallents/32/222441_2.png) [@lucytallents](https://meta.discourse.org/u/lucytallents)
#### Post date: [August 14, 2024, 9:08am UTC](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606/21 "2024-08-14T09:08:12Z")

</div>

FYI, it’s possible to add details to your Stripe product (Description, Marketing feature list) that then appear on your pricing table

For example, Stripe settings…

 ![image](https://global.discourse-cdn.com/meta/original/4X/4/2/7/4271967c1edb895cf9b8b19591883b4c744b7e97.png)

…appear like this in Discourse:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/0/e/c0e3bdf7a66398143dbaffd5929eb5b6003f066c.png)

Hopefully that solves your need to differentiate products without further dev time on the Subscriptions plugin

[Next page](https://meta.discourse.org/t/automatic-tax-enabled-for-discourse-subscription-plugin/254606.md?page=2)
