#knock2hell_code
1 messages ¡ Page 1 of 1 (latest)
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.
- knock2hell_unexpected, 22 hours ago, 13 messages
- knock2hell_unexpected, 1 day ago, 61 messages
- knock2hell_sub-pending-updates, 1 day ago, 143 messages
- knock2hell_code, 1 day ago, 44 messages
đ 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/1245619693428019220
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share the example subscription ID (sub_xxx) that you attempted to run this code on?
sub_1PM21XSCiougwFxy8fM8WU98
Upgrading a subscription doesn't change the billing cycle anchor by default. If you wish to change the billing cycle when upgrading, billing_cycle_anchor can be set to now: https://docs.stripe.com/api/subscriptions/update#update_subscription-billing_cycle_anchor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This will be up to your business requirements. If you wish to credit the unused price, then proration_behavior should be set to create_prorations or always_invoice: https://docs.stripe.com/api/subscriptions/update#update_subscription-proration_behavior
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
i want to create invoice and reset billing cycle
In this case, both proration_behavior: 'always_invoice' and billing_cycle_anchor: 'now' should be set. I'd recommend giving a try in the test mode
Tax ID of the customer can be collected via Dashboard, Customer Portal or Tax API. For the custom integration, a text field can be created to collect the Tax ID in your website, then create in the Tax ID on the customer: https://docs.stripe.com/billing/customer/tax-ids?dashboard-or-api=api#managing
so i need to collect it when i create user
right?
where i can see this business name in customer
Where do you get this screenshot from?
i created a checkout session but i need to do it with api
these options are optional to the user but users should be charged if he pay in INR
how can i achieve this by api
Have you checked https://docs.stripe.com/billing/customer/tax-ids?dashboard-or-api=api#managing ? It shares how the Tax ID can be set on the customer via API
You'd need to create your own field to collect the tax ID and pass it in Tax ID API
is there any video
that help me to collect tax on INR also collect tax info like in above image
like this
Unfortunately, we don't have a video. You'd need to implement the text box on your own and pass the information collected in the Tax ID creation API