#oftysterista_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/1402540433648652318
đ 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.
- oftysterista_api, 6 days ago, 31 messages
hi there, give me awhile to check
what do you mean by *start on September 1-30, *?
Do you have a subscription we can use as an example?
okay let say we have a subsctiption
the subscription period is monthly
from 1 aug - 31 aug
the when the time for payment, the attempt is failed
let say the user try to pay again
and success at 5 september
So, when does the subscription period start? Does it start on September 1st?
The subscription starts the day it is created
So if you create the subscription on 1 Aug, it will start on 1 Aug
I believe you are referring to the subscription's billing_cycle_anchor: https://docs.stripe.com/billing/subscriptions/billing-cycle
i know it start on 1 Aug. my question is on the next period
Also i want to flag that the payment window for a newly created subscription is 23 hours: https://docs.stripe.com/billing/subscriptions/overview#payment-window
It is not possible for a subscription running from 1 - 31Aug to be paid on 5 Sept
the subscription would be expired by then because there's no initial payment
The subscription wouldn't go into the next period because it would already be expired given that there's no initial payment to start the subscription from 1 - 31 Aug.
wait let me read
no
it is possible
the first period is running from 1- 31 aug
the on the 1 sep the payment card is failed
i set the susbcription to leave it past due if the payment failed so anytime the user succedd the payment, the subscription will be active
my question is i the payment is success is 5 sep, so the period will be start on 5 sep or keep from 1 sep?
Do you have an subscription example exhibiting this behaviour?
let me create it for u
sub_1Rt0nsKxUzgEvuWh9blnKtiY
that's the example
using test clock
This subscription isn't reflecting the scenario you're describing isn't it? This subscription already have previous payments that started from Sep 29 - Oct 6, 2041, and it is running on a weekly product. It doesn't charge monthly.
previously i said onthly is just for easier
the case is
lookat the subscription
the status is past due
it should be paid on 20 oct 2041 right?
and current time is October 22, 2041
sub_1Rt0nsKxUzgEvuWh9blnKti is in past due because it is already in the process of collection recurring payment. With your original question, we were talking about a subscription first payment. The first payment to a subscription is not the same as recurring payments.
Also, payment was attempted on Oct 20, 2041, 3:03 PM on sub_1Rt0nsKxUzgEvuWh9blnKtiY, and you can verify by looking at the subscription's latest invoice: in_1Rt1UaKxUzgEvuWhltGudcYK that is created at this exact time.
I never said about the first payment
i am asking about the next period payment
which is recurring payment
so i repeat my question with that subscription example
the recurring payment should be 20 oct 2041. and it failed.
and current time is October 22, 2041. what happend if i complete the payment now
is the period start from 22 oct or 20 oct?
20 Oct
The subscription doesn't start when the payment is successful. It starts when it gets created, and the current billing cycle for sub_1Rt0nsKxUzgEvuWh9blnKtiY is Oct 20 - Oct 27, 2041
no
The only way you can control when a subscription "starts" is if you schedule the subscription to start in the future when you first create the subscription