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?
As a temporary fix to get it working, I’ve added the flag Stripe API Reference - Invoices to app/controllers/discourse_subscriptions/subscribe_controller.rb
I believe I can run with this fix for a while, and then when it is eventually added as a feature, I can swap it back to the original. I need to consider this before I go live to make sure it isn’t going to be a big pain later.
Any thoughts on why this is a bad idea if I need it working before it is an official feature?
You can make a PR to add the feature to the plugin.
Until/unless that’s accepted, you can use a template to modify the code in the plugin inside the container after it’s been cloned. But a better idea might be to just clone the plugin.
Hi Steve, I’m a total newbie to Discourse, but if you can install plugins from any GitHub repository by updating the app.yml file and running /var/discourse/launcher rebuild app, then it should work.
Hosted instances of discourse don’t typically give users ssh access, not can they edit the yml files. That’s all taken care of by their host and the plugins they have access to are set as part of the hosting package they pay for.
Correct. I’ve hosted my instance by Discourse itself and I can only use the “official” plugins and on them, I am not able to change some code (except for CSS on some).