#smitit1999_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/1304404319256182825
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
the request that generated invoice you shared was changing the trial end date for a subscription that was trialing
https://dashboard.stripe.com/test/logs/req_29OjtpsWKQknFX
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
in all cases whenever a new billing cycle begins we generate a new invoice
whether the invoice has a zero amount or not doesn't change that
@sacred gust the subscription wasn't in trialing before I charged the trial end date. It is when I entered the trial end date as per the steps mentioned in the doc that the trial started and the invoice was generated
Is there a way I can prevent the invoice from getting generated, cause we wouldn't want to show the $0 invoice to the customer as it isn't a trial (just that we need to change the end date of the subscription)
I would avoid using trials in that case
is a better solution
Understood, I will explore that
sorry
you're not changing the biling cycle
you just want to set an end date for the subscription?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
sorry I misunderstood the requirement, I got a bit confused by the doc you sent
no i don't want to set an end date, I just want to update the current period end. For example, if the subscription currently gets billed at 13th June every year, I want to update the subscription so that it gets billed at 20th Sep every year instead of 13th June
oh ok
so yes then subscription schedules is the way to go
sorry for all of the confusion