#mick23_code
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1232079258495750164
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mick23_code, 4 days ago, 90 messages
- mick23_code, 6 days ago, 117 messages
Situation. What I've currently got working for SaaS App talking to Stripe;
- SaaS Create Customer --> Create in Stripe
- SaaS Add Card to Account --> Create Setup Intent in Stripe for Future Payments (interestingly, doesn't seem to have set it to a default payment method, perhaps this falls into my next question)
- SaaS Calculate Tax based on SaaS Billing Address
So what I'm trying to get working now is;
4) SaaS Subscribe to Product --> Create Subscription in Stripe using #2 as Payment Method
I'm just in the process of reading the docs as always, so any pointers in the right direction are always appreciated.
Hi there!
Hello again!
For # 4, you can create a Subscription and pass a value for default_payment_method, where that value is the PaymentMethod from # 2: https://docs.stripe.com/api/subscriptions/create#create_subscription-default_payment_method
Alternatively, after # 2, you can make a request to update the Customer's invoice_settings.default_payment_method : https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method
Then, the PM from # 2 will be used for any future Subscriptions or one-off Invoices you create for this customer, no need to specify a PM
Right ok, that makes sense
So how about the Tax stuff then. When I create the Subscription (either passing in the default_payment_method, or, updating the invoice_settings.default_payment_method) - Does Stripe automatically sort the tax stuff out for the Product that is being Subscribed to based on the Stripe Customer Address info that I have already passed through in #1?
What I found a bit weird when playing with the Stripe Tax API, via SDK, was that it didn't seem possible (or perhaps I missed something in the docs, quite possibly) to pass in a Stripe Product ID to generate the info off that, seemed to be Long values to pass through (which probably makes sense for flexibility) - Just wasn't what I was expecting.
It depends. I recommend reading through this: https://docs.stripe.com/billing/taxes/collect-taxes
You'll essentially need to make sure your Prices are set up for the appropriate tax behavior, then pass automatic_tax: enabled when creating the Subscription
Ultimately, so far, I've got a very basic checkout page sorted which has;
Product Price = £
Local Tax = X%
Total Price = £Y
With a button for "Create Subscription" which is the next bit I'm trying to do.
Yeah so all Products in Stripe are set up to be ex-tax, so then if I pass through that automatic_tax: enabled, then it sounds like that should be what I'm looking for.
Brill, thanks, I'll have a play.
Sounds good, happy to help!
On the tax side of things, how does this work in practice "You can apply taxes at the subscription level and the subscription item level and set up to five tax rates on each subscription item."
So let's say Product A = Global Tax Category of X (to keep it simple, generally available electronic supplies, whatever it's called, i.e. the core one that is generally used for SaaS apps)
And given the situation whereby want to sell to say 20x countries
That seems like a limitation which basically forces to use Stripe Tax?
I mean, I'm going to be using Stripe Tax anyhow, as this just simplifies everything. Just curious more than anything.
And given the situation whereby want to sell to say 20x countries
I think you just need to register to collect tax in these countries, and then automatic tax will handle the amounts for you
Is the automatic_tax stuff then feeding through via Stripe Tax and hence extra % £ / transaction? Whereas I'm assuming the manual tax stuff doesn't incur that extra fee?
I'm just curious for how this works down the line. It's probably something I am over thinking right now to be fair, I just like to have things clear in my head the direction of travel.
Is the automatic_tax stuff then feeding through via Stripe Tax and hence extra % £ / transaction?
Yep!
Which manual tax stuff are you referring to?
Right ok that's making sense
So the manual tax stuff I'm referring to is this - https://docs.stripe.com/billing/taxes/tax-rates
Seems to be on quick glance basically what you'd expect a tax advisor / tax accountant to be fiddling with manually (ultimately what Stripe Tax has been designed to solve that human problem)
I started researching global tax compliance and reading the UK Big 4 Accountancy firms documentation on this which were "summary guides" of about 2000 pages long documents - then got bored, and discovered Stripe Tax. So I'll be sticking with that for now!
All things I can cover in due course this more detail though, so I'll be fine for now, I think I know what I need to do now.
Ah gotcha. Tax rates don't incur an extra fee, correct, but definitely something that would be used more by tax professionals