Automatic_tax.enabled for Discourse Subscription plugin

Hello all,

I use the Stripe Discourse Sub plugin an got my first subscriber. yeah :slight_smile:

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: The Subscription object | Stripe API Reference

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. :slight_smile:

3 Likes

A possible solution is discussed here

2 Likes

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.

1 Like

Solution is on the way:

4 Likes

The subscription plugin now has support for the Stripe Pricing Table and Stripe Checkout

which allows for the proper tax collecting.

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

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

2 Likes

This is great. Thank you very much. :smiling_face_with_three_hearts:

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.

1 Like

Oh, no it does not. Iā€™ll make sure that works too!

1 Like

Done.

1 Like

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?

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

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.

1 Like

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.

1 Like

It is.

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.

I agree. It was a nice to have option request. :slight_smile:

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.

1 Like

Great. Thanks. :slight_smile:

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

1 Like

Now it is fine. Thx. :slight_smile:

1 Like

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.

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:

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).

Be sure you configure your registrations (step 4) as well:

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.

1 Like

Oh ya, totally, didnā€™t even think about this.

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

Sounds good. Thanks.

1 Like

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

ā€¦appear like this in Discourse:
image

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

1 Like