#mateja-mari_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1254793115319930900
๐ Have more to share? Add 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.
- mateja-mari_unexpected, 4 days ago, 18 messages
hey there, taking a look into this for you
Looks like you would need to pass this in to the subscription (during create or update) using invoice_settings[account_tax_ids]: https://docs.stripe.com/api/subscriptions/create#create_subscription-invoice_settings-account_tax_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then it should be applied automatically to all invoices created for that subscription
It looks like that's not currently documented for passthrough to a subscription using Checkout via subscription_data -- let me try it though
Yeah, I just wanted to ask you how to create a checkout session from a subscription ๐
You should be able to update the subscription after it is created by checkout, but you might have issues with the first invoice in that case
I'll share some feedback about enabling this via the API, but for now I think your best option is using your dashboard invoice settings to configure default tax IDs for invoices:
https://docs.stripe.com/invoicing/taxes/account-tax-ids?dashboard-or-api=api#default-tax-ids
Dashboard settings: https://dashboard.stripe.com/settings/billing/invoice
You should be able to update the subscription after it is created by checkout, but you might have issues with the first invoice in that case
Yeah, that would be a problem since I want the first invoice to also have the Tax ID.
I'll share some feedback about enabling this via the API, but for now I think your best option is using your dashboard invoice settings to configure default tax IDs for invoices:
That crossed my mind too. I'll have to ask my manager to add it since I don't have enough privileges on my account to do that... ๐
Yeah, I just wanted to ask you how to create a checkout session from a subscription ๐
Is there a way to create a checkout session for an existing subscription?
There is not, no -- if you manage the subscription creation, you'd need to build the payment page too