#rock_unexpected

1 messages ¡ Page 1 of 1 (latest)

hard larkBOT
#

👋 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/1372832408092803154

📝 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.

idle ruin
azure creek
#

Sure

#

Req 1: req_YCxYsOJAuv5D2t (this is where it updated, i assume)
Req 2: req_40oZOrtbpjGqbE (error when trying to again extend after the renewal went through)
Req 3: req_BnGltCsY2MJQf8 (error again., this time trying something else to extend the sub)

idle ruin
#

Ok, so the trial period starts from the day when the subscription starts
(i.e.,g 2025-05-15 09:05:02 UTC), since the the maximum number of trial period days is 730, or 2 years. You can set the trial_end to 2027-05-15 00:00:00 UTC since it's still within the 2 year period, and you encounter error when setting the trial_end to 2027-05-15 00:00:00 since it's > 2 years.

azure creek
#

I got the error when setting the same for 2029-05-15

#

Does the trial end counts from when we set it to the time we set it?

And this 730 days, is this the total number of days for the entire life of the susbcription or for 1 timer thing? I.e. At a time only 730 days can be added but this can be added multiple number of times

idle ruin
#

The 730 days is from the day when the subscription starts

azure creek
#

When on 2025 I set this for 2027, it worked.

When in 2027 (using time clock) it gave me an error

azure creek
idle ruin
#

Let's use the same sample

  • You started the subscription at 2025-05-15 09:05:02 UTC
  • The maximum number of trial period days is 730, or 2 years
  • The max value that you can set for trial_end is two years from 2025-05-15 09:05:02 UTC , which is 2027-05-15 09:05:02 UTC
azure creek
#

It means if i set for any time greater than this it will give me error?

For the monthly thing (Credit extension) I listed it, we give cresits to the users. and we add 1 month subscription.

We checked yesterday and 1 user from 2023 has availed this feature and its current set renewal date is somewhat at 2026. This is from production where I dont have the requests ID at the moment. But this was a case.

idle ruin
#

can you share with me the subscription ID so that I can take a look at it?

azure creek
#

yeah just a minute

#

Just a minute, asking the team

#

Here it is: sub_1Lppp1LXl3tZwXgDXC2Sc6UF

idle ruin
#

Yes, the sample that you shared has a longer trial period. There's a possibility that it was created before the 730 max trial period is enforced.

hard larkBOT
azure creek
#

For an work-around mechanism if this 730 limit is creating the issue, then for extending the subscription by 1 year, I already get the next renewal payment from the user beforehand. And then I use this trial_end feature which since I cannot use anymore.

So can I after the upcoming_invoice webhook is received, I void the renewal invoice for the next year? Is this possible?

azure creek
tawny trench
#

hi! I'm taking over this thread.

#

Also where can I get more info regarding this?
it's hard to compare how the API works today to how it worked 2 years ago. all I can say is currently the maximum is 730 days for a free trial.

azure creek
#

Can you check the other question too please.

`For an work-around mechanism if this 730 limit is creating the issue, then for extending the subscription by 1 year, I already get the next renewal payment from the user beforehand. And then I use this trial_end feature which since I cannot use anymore.

So can I after the upcoming_invoice webhook is received, I void the renewal invoice for the next year? Is this possible?`

tawny trench
#

note that we have a feature that allow trials for up to 5 years. if you are interested in this, you would need to ask Stripe support to see if you are eligible for it: https://support.stripe.com/contact

#

So can I after the upcoming_invoice webhook is received, I void the renewal invoice for the next year? Is this possible?
I'm not sure I follow your workaround. can you share a concrete example of how this would work? like

  1. I create a subscription with a 2 year free trial
  2. Then I xxx
  3. yyy
azure creek
# tawny trench > So can I after the upcoming_invoice webhook is received, I void the renewal in...

yeah sure.

A paid , active annual subscription user visits the Advance payment page:

1- They pay the amount of an year subscription in advance. Lets say in 16th May 2025 whereas their renewal date is in January 1st 2026

2- Currently I extend the trial_period of the user with +1 year i.e. 1st january 2027.

Since this is not possible anymore, so can I wait for the upcoming invoice to come for the users subscription renewal on 28th Dec 2025 (3 days before), and then I void the next user invoice at that time so that no payment occurs for this renewal (as user already paid and i know this)

3- In 1st January 2027, the renewal will go through as always.

This is what I am thinking.

tawny trench
#

that could work yes. another option is to add a 100% discount code to the subscription after its creation, so that the next invoice is $0.

azure creek
#

this seems helpful. Thanks will test these out.

#

One last thing can you tell by when this limit of 730 days was imposed?

#

And also can this thread be emailed to me?

tawny trench
#

One last thing can you tell by when this limit of 730 days was imposed?
I'm not sure, sorry.
And also can this thread be emailed to me?
no, but the thread won't be deleted, so you can access it with its URL (or simply copy-paste its content)

azure creek
#

Sure thanks.