#yathartha-sub-trial-end
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
I wanted to talk about previous thread
sub_1Oh9zIQKa5zjS3mhmAbj5VT0
in previous thread 30 min ago i had provided above id
i was unaware about the billing date updated to the intended one
but there are other invoices generated as well
could you please tell me about them
they are:
once at 3nd october [https://dashboard.stripe.com/acct_1OWxZhQKa5zjS3mh/test/connect/accounts/acct_1OWxZhQKa5zjS3mh/invoices/in_1OhA1nQKa5zjS3mhkeC5O3Ua]
other at 6th october[https://dashboard.stripe.com/acct_1OWxZhQKa5zjS3mh/test/connect/accounts/acct_1OWxZhQKa5zjS3mh/invoices/in_1OhA26QKa5zjS3mhOzGRyfAy]
thanks
but there are other invoices generated as well
could you please tell me about them
I'm not sure I understand your quesiton. what do you want to know exactly?
please summarize your question here
here i have updated the subs with trial period from 3rd of october to 5th of october
at first the sub was started on 24th of sept
so next billing cycle was 1st october
and in this billing cycle i updated subs with trial period from 3rd to 5th of october
so I wanted this billing cycle to be from 1st to 12th of october instead of 1st to 8th october as i have added trial period
but there it mentioned that we are in the billing cycle of 5th to 12th of october
billing cycle to be
started next billingcycle [actual]
24sep 1oct
1oct 8oct
started next billingcycle [is it possible]
24sep 1oct
1oct 12oct [added trial period to the subs 4 days(3rd to 6th)]
12oct 19thoct
I'm sorry but I have a hard time understanding what is going on. can you be more clear? something like
- [expected] Subscription created on xx/xx
- [expected] Subscription renews on yy/yy, which billing period of...
- [not expected] I add a free trial on zz/zz for N days, with billing period of...
- Instead I want the billing period to be...
in a billing period 10/01 to 10/08
if i update it with adding trial period between 10/03 to 10/05
i expect same billing period [10/01 to 10/08] to be [10/01 to 10/11] as i want the 3 trial period days to be added up
so next billing period will be from 10/11 to 10/18
while testing this scenario on sub_1Oh9zIQKa5zjS3mhmAbj5VT0
the billing period i want 10/11 to 10/18 is available after another billing cycle 10/05 to 10/11 generated at the end of trial is passed.
๐ I'm taking over, give me a moment to catch up please
hi hanzo
As far as I know, adding a trial sets the billing date to the end date of the trial period.
That's why you're seeing the trial end date (10/05) as the new billing date
Add a trial to automatically set the anchor date to the end of the trial. Trials typically start when you create a subscription, but you can also apply them to existing subscriptions, allowing you to credit the customer for the days left in the previous cycle that they already paid.
okay
so my requirement to add those trial period to the end of the billing cycle is not achievable at the moment?
Are you using the dashboard or the API for this update?
you could set trial end date to 10/11, no?
current for testing feature i am using dashboard and stripe cli, but later on i will be using api if possible
What happens if you set the trial end date to 10/11 instead of 10/05?
i will try that but with different date as current simulation time is 10/06
I'd say try with a brand new subscription if that makes it easier
currently I am on billing cycle 10/12 to 10/19
Please give me some time to use cli to update subscription
yathartha-sub-trial-end
what i will be doing will be like
first move the simulation time to 10/13
and update the subscription with trial-end date to 10/22
./stripe.exe subscriptions update sub_1Oh9zIQKa5zjS3mhmAbj5VT0 --trial-end=1729607763 --stripe-account=acct_1OWxZhQKa5zjS3mh
this is the update case i just hit on 10/13 in the simulation time
๐
that's what you wanted right?
I am abit lost here, if i added trial-end to 10/22 being on 10/13 on simulation time, I belive i have added total of 9 days trial period on the billing cycle of 10/12 to 10/19, am i right?
Correct
okay
so it may be one part because i have crossed the billing cycle limit in this case
i have one scenario where for weekly subscription, lets take above example for instance
may be i want the trial period to be of just 2 days
within the billing cylce
10/12 billing cycle started upto 10/19, in between on 10/14 if i added trial period upto 10/16 then i wanted the billing cycle to be like 10/12 to 10/21
I think you're looking at this wrong.
I am abit lost here, if i added trial-end to 10/22 being on 10/13 on simulation time, I belive i have added total of 9 days trial period on the billing cycle of 10/12 to 10/19, am i right?
The usual cycle is from 10/12 till 10/19 and the end date you added is 10/22
but the user has already paid for the cycle at the beginning (10/12)
so if you set the end date to 10/22, technically they're only getting 3 more days of free usage/trial
is it the continuation of same billing period 10/12?
so 10/12 to 10/22 meaning in between 10/12 to 10/19 i have added 3 days trial period.
Correct
Since the user pays for the 10/12-10/19 cycle in advance and you're not creating any prorations
if i create with proration, will that make any effect to the billing cycle
Not sure, you can just try it out.
If I understand this correctly, it shouldn't affect the billing cycle but the amount due may change
Sure I can try that later on and let you know if it behaves differently
one more query would be regarding handling the trial period on the subscription from web_hook, if it is possible for you to give me guidance over which is appropriate webhook to look for to handle this scenario to update the next billing cycle.
and: with this approach our customer will always be charged the total amount that the billing plan has, right?
as we have added the trial period days to the end of billing cycle and updated the billing cycle to new date
I'm not sure I fully grasp the question.
What scenario are you looking to handle exactly?
The trial is being added by you correct? are you trying to see what events get fired after you update a subscription?
yes I will adding trial period
We have a doc that outlines each webhook event we fire for subscriptions
https://stripe.com/docs/billing/subscriptions/webhooks
I'd recommend reading through those and selecting the relevant ones for your usecase