#napolean-solo_api
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/1332278068022214717
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
If a user is on trial and he completes a new purchase when on trial then how can I ensure it starts after the trial ends?
Depends what you mean by 'new purchase'? Got an example or some more specific details?
I have a exclusive tax enabled but the issue is when the user creates a checkout the tax is not getting applied when the country is correct, Ex when the checkout is in INR it should apply the tax but for some reason it is not.
Again an example where tax is not applied unexpectedly would help!
Depends what you mean by 'new purchase'? Got an example or some more specific details?
How can a user upgrade from trial and start paid plan that is of the same plan?
Again an example where tax is not applied unexpectedly would help!
When a checkout session is created the tax is not getting applied
How can a user upgrade from trial and start paid plan that is of the same plan?
If it's the same plan/Price object then they'd be 'upgraded' automatically at the end of the trial (and we'd charge them assuming you collected payment details)
When a checkout session is created the tax is not getting applied
How about an actualcs_xxxsession ID? Otherwise how am I meant to figure out the problem? ๐
req_JukRgkn9qli7gg
If it's the same plan/Price object then they'd be 'upgraded' automatically at the end of the trial (and we'd charge them assuming you collected payment details)
What if the user wants to start paid plan immediately as there are some limits on trial?
Then you'd just end the trial early: https://docs.stripe.com/api/subscriptions/update#update_subscription-trial_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You're not enabling Stripe Tax or passing any Tax Rates so we don't know to calculate tax: https://docs.stripe.com/payments/checkout/taxes
I have added a tax rate for a India region but when I created the checkout it is not getting applied
Shouldn't it automatiically apply the tax based on the region?
What is a 'tax rate for a India region'? Where have you enabled that?
Product catalog Tax Rates
OK, but you need to pass the Tax Rate so the session when you create it: https://docs.stripe.com/payments/checkout/use-manual-tax-rates
but I have already added the tax rate in the product catalog
the point is to automatically applied based on the region right
Well if you want us to calculate tax automatically then you should use Stripe Tax, not Tax Rates
So if I choose automatic_tax then it will only select based on the tax rates I have set in the menu in product catalog right?
No, Tax Rates are irrelevant if you're using Stripe Tax. Instead it calculates tax due according to customer locattion and the registrations you set up: https://docs.stripe.com/tax/registering
Please read the docs, then happy to answer anything that is unclear
so it is based on my country of the stripe account right? So an overseas customer won't get charged tax but if it in not overseas customer then stripe will automatically determine the tax rate of my regsitered business location registered with stripe and apply a tax rate right?